• Problems compiling software

    From Belky@VERT to All on Friday, May 01, 2020 11:16:13
    Hi all

    I am migrating my bbs to Synchronet and I have a problem compiling on linux.
    I have verified that I have all the dependencies correctly installed. The tests have been carried out both with different versions of Debian and Ubuntu with different versions of libraries and the same result.

    The mistake is here:

    ../build/Common.gmake:455: recipe for target 'gcc.linux.obj.release-mt/curs_cio.o' failed
    make[2]: *** [gcc.linux.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:160: recipe for target 'sbbs3' failed
    make: *** [sbbs3] Error 2

    Any idea?

    Thanks in advanced

    Belky (2:341:202)
    Sysop VampireBBS
    --- SBBSecho 3.10-Linux
    * Origin: (2:341/200.999)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Belky on Friday, May 01, 2020 13:47:00
    Re: Problems compiling software
    By: Belky to All on Fri May 01 2020 11:16 am

    Hi all

    I am migrating my bbs to Synchronet and I have a problem compiling on linux. I have verified that I have all the dependencies correctly installed. The tests have been carried out both with different versions of Debian and Ubuntu with different versions of libraries and the same result.

    The mistake is here:

    ../build/Common.gmake:455: recipe for target 'gcc.linux.obj.release-mt/curs_cio.o' failed
    make[2]: *** [gcc.linux.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:160: recipe for target 'sbbs3' failed
    make: *** [sbbs3] Error 2

    Any idea?

    The relevant error message would have appear before the snippet you pasted here. My guess is that it may have been fixed in the past few hours. Try a cvs-update and if it fails to build again, paste all the error messages. Thanks,

    digital man

    This Is Spinal Tap quote #25:
    Viv Savage: Have... a good... time... all the time. That's my philosophy. Norco, CA WX: 74.2øF, 64.0% humidity, 9 mph E wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Belky@VERT to Digital Man on Saturday, May 02, 2020 00:39:45
    Hi Digital Man


    The relevant error message would have appear before the snippet you pasted here. My guess is that it may have been fixed in the past few hours. Try a cvs-update and if it fails to build again, paste all the error messages. Thanks,


    I just did a cvs update and recompiled. The error is the same, I copy integer from the moment it enters the file curs_cio.c that seems to have a wrong type.

    Compiling curs_cio.c
    curs_cio.c: In function ‘_putch’:
    curs_cio.c:335:2: warning: implicit declaration of function ‘setcchar’; did you mean ‘getchar’? [-Wimplicit-function-declaration]
    setcchar(&cha, wch, attr, cpair, NULL);
    ^~~~~~~~
    getchar
    curs_cio.c:336:8: warning: implicit declaration of function ‘add_wch’; did you mean ‘addch’? [-Wimplicit-function-declaration]
    ret = add_wch(&cha);
    ^~~~~~~
    addch
    curs_cio.c: In function ‘curs_vmem_gettext’:
    curs_cio.c:473:4: warning: implicit declaration of function ‘mvin_wch’; did you mean ‘mvinsch’? [-Wimplicit-function-declaration]
    mvin_wch(y, x, &cchar);
    ^~~~~~~~
    mvinsch
    curs_cio.c: In function ‘curs_getch’:
    curs_cio.c:936:2: error: unknown type name ‘wint_t’; did you mean ‘uint8_t’?
    wint_t ch;
    ^~~~~~
    uint8_t
    curs_cio.c:947: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:160: recipe for target 'sbbs3' failed
    make: *** [sbbs3] Error 2
    root@vampirebbs:/sbbs#

    Thanks in advance
    Belky
    --- SBBSecho 3.10-Linux
    * Origin: (2:341/200.999)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Belky on Friday, May 01, 2020 16:06:19
    Re: Re: Problems compiling software
    By: Belky to Digital Man on Sat May 02 2020 12:39 am

    curs_cio.c:936:2: error: unknown type name ‘wint_t’; did you

    That error is covered here: http://wiki.synchro.net/install:nix#errors
    You need to install libncursesw5-dev, as explained here: http://wiki.synchro.net/install:nix:prerequisites

    digital man

    Synchronet/BBS Terminology Definition #20:
    DOCSIS = Data Over Cable Service Interface Specification
    Norco, CA WX: 78.5øF, 47.0% humidity, 3 mph ENE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Belky@VERT to Digital Man on Saturday, May 02, 2020 02:27:42
    Re: Re: Problems compiling software
    By: Belky to Digital Man on Sat May 02 2020 12:39 am

    curs_cio.c:936:2: error: unknown type name ‘wint_t’; did you

    That error is covered here: http://wiki.synchro.net/install:nix#errors
    You need to install libncursesw5-dev, as explained here: http://wiki.synchro.net/install:nix:prerequisites

    digital man

    Ups.. I installed libncurses5-dev alone and didn't see the other one. I will try immediately ... sorry for my mistake.

    Thanks
    Belky
    --- SBBSecho 3.10-Linux
    * Origin: (2:341/200.999)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From calcmandan@VERT/DIGDIST to Belky on Saturday, May 02, 2020 00:05:00
    Belky wrote to Digital Man <=-

    Re: Re: Problems compiling software
    By: Belky to Digital Man on Sat May 02 2020 12:39 am

    curs_cio.c:936:2: error: unknown type name &#8216;wint_t&#8217;; did you

    That error is covered here: http://wiki.synchro.net/install:nix#errors
    You need to install libncursesw5-dev, as explained here: http://wiki.synchro.net/install:nix:prerequisites

    digital man

    Ups.. I installed libncurses5-dev alone and didn't see the other one. I will try immediately ... sorry for my mistake.

    I had the same issue the other day and he helped me all the same.


    ... Daniel Traechin
    --- MultiMail/Linux v0.49
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com