• compile error

    From Dumas Walker@VERT/CAPCITY2 to All on Sun Apr 26 15:54:12 2020
    ../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 '/opt/sbbs/src/conio' /opt/sbbs/src/sbbs3/../build/Common.gmake:503: recipe for target 'ciolib-mt' failed
    make[1]: *** [ciolib-mt] Error 2
    make[1]: Leaving directory '/opt/sbbs/src/sbbs3'
    GNUmakefile:160: recipe for target 'sbbs3' failed
    make: *** [sbbs3] Error 2

    Got that after wgetting the make file in a brand new (no prior version of sbbs present) directory and then running make install SYMLINK=1 USE_DOSEMU=1.

    #

    ---
    þ Synchronet þ CAPCITY2 * capcity2.synchro.net * Telnet/SSH:2022/Rlogin/HTTP
  • From Digital Man@VERT to Dumas Walker on Sun Apr 26 16:24:48 2020
    Re: compile error
    By: Dumas Walker to All on Sun Apr 26 2020 03:54 pm

    ../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 '/opt/sbbs/src/conio' /opt/sbbs/src/sbbs3/../build/Common.gmake:503: recipe for target 'ciolib-mt' failed
    make[1]: *** [ciolib-mt] Error 2
    make[1]: Leaving directory '/opt/sbbs/src/sbbs3'
    GNUmakefile:160: recipe for target 'sbbs3' failed
    make: *** [sbbs3] Error 2

    Got that after wgetting the make file in a brand new (no prior version of sbbs present) directory and then running make install SYMLINK=1 USE_DOSEMU=1.

    The actual useful part of that error would be before that. Did you check here http://wiki.synchro.net/install:nix#errors ?

    I'm guessing is the 'wint_t' error which is fixed by installing libncursesw5-dev which is mentioned here: http://wiki.synchro.net/install:nix:prerequisites

    digital man

    Synchronet/BBS Terminology Definition #68:
    SMB = Synchronet Message Base (e.g. smblib)
    Norco, CA WX: 84.7øF, 40.0% humidity, 12 mph E wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Dumas Walker@VERT/CAPCITY2 to DIGITAL MAN on Mon Apr 27 17:35:00 2020
    The actual useful part of that error would be before that. Did you check here >http://wiki.synchro.net/install:nix#errors ?

    I heard you saying the "would be before that" bit as I copied and pasted it but, as it was, nothing before that looked like an error message. I
    started with the first thing that did. :)

    I'm guessing is the 'wint_t' error which is fixed by installing libncursesw5-dev which is mentioned here: http://wiki.synchro.net/install:nix:prerequisites

    That must be a fairly new one as I did not need it when I compiled last on 3/14. Here is the kicker... I went to that page, made sure I had
    everything installed. Ubuntu Bionic Beaver LTS apparently does not have an install candidate for that one. I thought maybe the 'w' was a typo, and
    almost warned you of as much in another message I forgot to type up and
    send.

    So, I have libncurses5-dev installed... that 'w' in the package name correct?

    Thanks!


    * SLMR 2.1a * Man who fights with wife all day gets no piece at night.

    ---
    þ Synchronet þ CAPCITY2 * capcity2.synchro.net * Telnet/SSH:2022/Rlogin/HTTP
  • From Dumas Walker@VERT/CAPCITY2 to DIGITAL MAN on Mon Apr 27 18:32:00 2020
    I'm guessing is the 'wint_t' error which is fixed by installing libncursesw5-dev which is mentioned here: http://wiki.synchro.net/install:nix:prerequisites

    I stand corrected! I just tried it again and it did find it! :)

    Will try again in a couple of days when I am feeling braver, just in case I just used all my luck for today up! :D

    Thanks!


    * SLMR 2.1a * Man who fights with wife all day gets no piece at night.

    ---
    þ Synchronet þ CAPCITY2 * capcity2.synchro.net * Telnet/SSH:2022/Rlogin/HTTP
  • From Dumas Walker@VERT/CAPTEST to digital man on Wed May 1 09:13:31 2024
    Compiling ansiterm.cpp
    In file included from sbbs.h:315,
    from ansiterm.cpp:22:
    sftp.h:47:6: error: variable or field `sftp_handle_data' declared void
    47 | void sftp_handle_data(sbbs_t *sbbs, char *inbuf, int len);
    | ^~~~~~~~~~~~~~~~
    sftp.h:47:23: error: `sbbs_t' was not declared in this scope; did you mean `sub_t'?
    47 | void sftp_handle_data(sbbs_t *sbbs, char *inbuf, int len);
    | ^~~~~~
    | sub_t
    sftp.h:47:31: error: `sbbs' was not declared in this scope
    47 | void sftp_handle_data(sbbs_t *sbbs, char *inbuf, int len);
    | ^~~~
    sftp.h:47:37: error: expected primary-expression before `char'
    47 | void sftp_handle_data(sbbs_t *sbbs, char *inbuf, int len);
    | ^~~~
    sftp.h:47:50: error: expected primary-expression before `int'
    47 | void sftp_handle_data(sbbs_t *sbbs, char *inbuf, int len);
    | ^~~
    sbbs.h:471:9: error: `sftps_state_t' does not name a type
    471 | sftps_state_t sftp_state = nullptr;
    | ^~~~~~~~~~~~~
    make: *** [/home/bbs/repo/src/sbbs3/../build/Common.gmake:546: gcc.linux.x64.obj.release-mt/ansiterm.o] Error 1

    The frustration here is that I have set up a test system so I can make sure I can get a clean compile before trying this on the production system. So far, this strategy has not worked. I don't know what it is... the move from CVS to git, the move from 3.19 to 3.20, or something else... but getting a clean compile never used to be this difficult.

    Thank goodness I take nightly backups.

    ---
    þ Synchronet þ Capitol City Test System
  • From Digital Man@VERT to Dumas Walker on Wed May 1 13:51:42 2024
    Re: compile error
    By: Dumas Walker to digital man on Wed May 01 2024 09:13 am

    Compiling ansiterm.cpp
    In file included from sbbs.h:315,
    from ansiterm.cpp:22:
    sftp.h:47:6: error: variable or field `sftp_handle_data' declared void
    47 | void sftp_handle_data(sbbs_t *sbbs, char *inbuf, int len);
    | ^~~~~~~~~~~~~~~~
    sftp.h:47:23: error: `sbbs_t' was not declared in this scope; did you mean `sub_t'?
    47 | void sftp_handle_data(sbbs_t *sbbs, char *inbuf, int len);
    | ^~~~~~
    | sub_t
    sftp.h:47:31: error: `sbbs' was not declared in this scope
    47 | void sftp_handle_data(sbbs_t *sbbs, char *inbuf, int len);
    | ^~~~
    sftp.h:47:37: error: expected primary-expression before `char'
    47 | void sftp_handle_data(sbbs_t *sbbs, char *inbuf, int len);
    | ^~~~
    sftp.h:47:50: error: expected primary-expression before `int'
    47 | void sftp_handle_data(sbbs_t *sbbs, char *inbuf, int len);
    | ^~~
    sbbs.h:471:9: error: `sftps_state_t' does not name a type
    471 | sftps_state_t sftp_state = nullptr;
    | ^~~~~~~~~~~~~
    make: *** [/home/bbs/repo/src/sbbs3/../build/Common.gmake:546: gcc.linux.x64.obj.release-mt/ansiterm.o] Error 1

    The frustration here is that I have set up a test system so I can make sure I can get a clean compile before trying this on the production system. So far, this strategy has not worked. I don't know what it is... the move from CVS to git, the move from 3.19 to 3.20, or something else... but getting a clean compile never used to be this difficult.

    The code is built daily on a bunch of different platforms including multiple Linux distros, so the content in Git is good and should build. Try cloning the repo into a new directory and try again?
    --
    digital man (rob)

    Rush quote #46:
    One day I feel I'm on top of the world, and the next it's falling in on me Norco, CA WX: 71.3øF, 56.0% humidity, 6 mph WNW wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nicholas Boel@VERT to Digital Man on Wed May 1 18:59:06 2024
    Hello Digital,

    On Wed, 01 May 2024 13:51:42 -0700, you wrote to Dumas Walker:

    The code is built daily on a bunch of different platforms including multiple Linux distros, so the content in Git is good and should build. Try cloning the repo into a new directory and try again?

    If it's his production system, a 'make clean' may help as well.

    Regards,
    Nick

    ... Take my advice, I don't use it anyway.
    --- GoldED+/LNX 1.1.5-b20240309
    * Origin: _thePharcyde distribution system (Wisconsin) (1:154/10)
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net