• Error Compiling

    From Xanthoes to All on Sunday, July 12, 2020 06:42:55
    Not sure where to post the question, found this link on the wiki.

    I installed a brand new box running Ubuntu server 18.04, I followed the instructions I found at: https://gist.github.com/phuckewe/897d8559f2f6c287d07a

    I have also followed the instructions on the wiki as well, for manual compiling. Every time I get the same error:

    curs_cio.c: In function ΓÇÿcurs_getchΓÇÖ:
    curs_cio.c:942:2: error: unknown type name ΓÇÿwint_tΓÇÖ; did you mean ΓÇÿuint8_tΓÇÖ?
    wint_t ch;
    ^~~~~~
    uint8_t
    curs_cio.c:953:9: warning: implicit declaration of function ΓÇÿget_wchΓÇÖ; did you mean ΓÇÿgetchΓÇÖ? [-Wimplicit-function-declaration]
    while(get_wch(&ch)==ERR) {
    ^~~~~~~
    getch
    ../build/Common.gmake:455: recipe for target 'gcc.linux.x64.obj.release-mt/curs_cio.o' failed
    make[2]: *** [gcc.linux.x64.obj.release-mt/curs_cio.o] Error 1
    make[2]: Leaving directory '/sbbs/src/conio' /sbbs/src/sbbs3/../build/Common.gmake:503: recipe for target 'ciolib-mt' failed make[1]: *** [ciolib-mt] Error 2
    make[1]: Leaving directory '/sbbs/src/sbbs3'
    GNUmakefile:159: recipe for target 'sbbs3' failed
    make: *** [sbbs3] Error 2
  • From Mortifis@EPHRAM to Xanthoes on Sunday, July 12, 2020 12:48:34
    Not sure where to post the question, found this link on the wiki.

    I installed a brand new box running Ubuntu server 18.04, I followed the instructions I found at: https://gist.github.com/phuckewe/897d8559f2f6c287d07a

    I have also followed the instructions on the wiki as well, for manual compiling. Every time I get the same error:

    curs_cio.c: In function ‘curs_getch’:
    curs_cio.c:942:2: error: unknown type name ‘wint_t’; did you mean ‘uint8_t’?
    wint_t ch;

    SNIP ^^^^^^^^^^^^^^^^^^^^^^

    you need the libncurses5w-dev package


    ^~~~~~
    uint8_t
    curs_cio.c:953:9: warning: implicit declaration of function ‘get_wch’; did you mean ‘getch’? [-Wimplicit-function-declaration]
    while(get_wch(&ch)==ERR) {
    ^~~~~~~
    getch
    ../build/Common.gmake:455: recipe for target 'gcc.linux.x64.obj.release-mt/curs_cio.o' failed
    make[2]: *** [gcc.linux.x64.obj.release-mt/curs_cio.o] Error 1
    make[2]: Leaving directory '/sbbs/src/conio' /sbbs/src/sbbs3/../build/Common.gmake:503: recipe for target 'ciolib-mt' failed make[1]: *** [ciolib-mt] Error 2
    make[1]: Leaving directory '/sbbs/src/sbbs3'
    GNUmakefile:159: recipe for target 'sbbs3' failed
    make: *** [sbbs3] Error 2

    ---
    þ Synchronet þ Realm of Dispair BBS - http://ephram.synchro.net:82
  • From Mortifis@EPHRAM to Xanthoes on Sunday, July 12, 2020 12:52:35
    Not sure where to post the question, found this link on the wiki.

    I installed a brand new box running Ubuntu server 18.04, I followed the instructions I found at: https://gist.github.com/phuckewe/897d8559f2f6c287d07a

    I have also followed the instructions on the wiki as well, for manual compiling. Every time I get the same error:

    curs_cio.c: In function ‘curs_getch’:
    curs_cio.c:942:2: error: unknown type name ‘wint_t’; did you mean ‘uint8_t’?
    wint_t ch;

    Sorry, here is the per-requisites that address your error http://wiki.synchro.net/install:nix:prerequisites

    :!: Note:
    On some Debian derived systems (e.g. Ubuntu Linux), libncurses-dev installs libncurses5-dev, and you get wint_t errors while building, you will need to install libncursesw5-dev.

    ---
    þ Synchronet þ Realm of Dispair BBS - http://ephram.synchro.net:82
  • From Nelgin@EOTLBBS to Xanthoes on Tuesday, July 14, 2020 03:52:34
    Xanthoes wrote:
    Not sure where to post the question, found this link on the wiki.

    I installed a brand new box running Ubuntu server 18.04, I followed the instructions I found at: https://gist.github.com/phuckewe/897d8559f2f6c287d07a

    Those instructions are 6 years old. You're better referring to the wiki at https://wiki.synchro.net

    ---
    ■ Synchronet ■ End Of The Line BBS - endofthelinebbs.com