• Error Compiling

    From Xanthoes@VERT to All on Sun Jul 12 06:42:55 2020
    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

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Mortifis@VERT/EPHRAM to Xanthoes on Sun Jul 12 12:48:34 2020
    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@VERT/EPHRAM to Xanthoes on Sun Jul 12 12:52:35 2020
    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@VERT/EOTLBBS to Xanthoes on Tue Jul 14 03:52:34 2020
    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