• compile error

    From dumas.walker@CAPTEST.remove-u-this@1:342/200 to All on Wednesday, May 01, 2024 08:13:32
    Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx47.iad.POSTED!not-for-mail
    From: "Dumas Walker" <dumas.walker@CAPTEST.remove-u-this>
    Subject: compile error
    Message-ID: <66324E0B.70744.sync@CAPTEST>
    X-Comment-To: digital man
    Organization: Capitol City Test System
    Newsgroups: alt.bbs.synchronet
    X-FTN-PID: Synchronet 3.20a-Linux master/acc19483f Apr 26 202 GCC 12.2.0 X-FTN-MSGID: 70744.sync@1:2320/905 2a989863
    X-FTN-CHRS: UTF-8 4
    WhenImported: 20240501091331-0500 412c
    WhenExported: 20240501133446-0500 412c
    ExportedFrom: CAPTEST sync 70744
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    X-Gateway: vert.synchro.net [Synchronet 3.20a-Linux NewsLink 1.114]
    Lines: 39
    X-Complaints-To: https://www.astraweb.com/aup
    NNTP-Posting-Date: Wed, 01 May 2024 18:34:43 UTC
    Date: Wed, 1 May 2024 09:13:31 -0500
    X-Received-Bytes: 2711
    Xref: news.eternal-september.org alt.bbs.synchronet:39235

    To: digital man
    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
    --- Synchronet 3.20a-Linux NewsLink 1.114
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net
    * Origin: Joe's BBS (1:342/200)
  • From digital.man@vert.synchro.net.remove@1:342/200 to All on Wednesday, May 01, 2024 14:51:42
    Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!weretis.net!feeder8.news.weretis.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!193.141.40.65.MISMATCH!npeer.as286.net!npeer-ng0.as286.net!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx18.iad.POSTED!not-for-mail
    From: "Digital Man" <digital.man@vert.synchro.net.remove-hzq-this>
    Subject: compile error
    Message-ID: <6632AB5E.51619.sync@vert.synchro.net>
    X-Comment-To: Dumas Walker
    Organization: Vertrauen
    Newsgroups: alt.bbs.synchronet
    In-Reply-To: <66324E0B.70744.sync@CAPTEST>
    References: <66324E0B.70744.sync@CAPTEST>
    X-FTN-PID: Synchronet 3.20a-Linux master/da6fec2cc Apr 27 202 GCC 12.2.0 X-FTN-MSGID: 51619.sync@1:103/705 2a98ab01
    X-FTN-REPLY: 70744.sync@1:2320/905 2a989863
    Content-Type: text/plain; charset=IBM437
    Content-Transfer-Encoding: 8bit
    X-Gateway: vert.synchro.net [Synchronet 3.20a-Linux NewsLink 1.114]
    Lines: 45
    X-Complaints-To: https://www.astraweb.com/aup
    NNTP-Posting-Date: Wed, 01 May 2024 20:51:45 UTC
    Date: Wed, 1 May 2024 13:51:42 -0700
    X-Received-Bytes: 3327
    Xref: news.eternal-september.org alt.bbs.synchronet:39236

    To: Dumas Walker
    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 3.20a-Linux NewsLink 1.114
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net
    * Origin: Joe's BBS (1:342/200)
  • From nicholas.boel@1:154/10.remove-pbc-t@1:154/10 to All on Wednesday, May 01, 2024 17:59:06
    Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!weretis.net!feeder8.news.weretis.net!3.eu.feeder.erje.net!feeder.erje.net!npeer.as286.net!npeer-ng0.as286.net!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx45.iad.POSTED!not-for-mail
    From: "Nicholas Boel" <nicholas.boel@1:154/10.remove-pbc-this>
    Subject: compile error
    Message-ID: <6632D7B2.51620.sync@vert.synchro.net>
    X-Comment-To: Digital Man
    Newsgroups: alt.bbs.synchronet
    In-Reply-To: <6632AB5E.51619.sync@vert.synchro.net>
    References: <6632AB5E.51619.sync@vert.synchro.net>
    X-FTN-AREA: SYNCHRONET
    X-FTN-TID: hpt/lnx 1.9 2024-02-05
    X-FTN-MSGID: 1:154/10 6632d779
    X-FTN-REPLY: 51619.sync@1:103/705 2a98ab01
    X-FTN-CHRS: UTF-8 4
    X-FTN-SEEN-BY: 103/705 123/10 124/5016 129/215 153/757 154/10 30 40 50 700 X-FTN-SEEN-BY: 203/0 220/90 221/0 6 226/70 229/310 240/1120 5832 280/464 5003 X-FTN-SEEN-BY: 292/8125 301/1 310/31 341/66 234 396/45 423/120 460/58 467/888 X-FTN-SEEN-BY: 633/280 712/848 770/1 2320/105 3634/12 5020/400
    X-FTN-PATH: 154/10 280/464
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    X-Gateway: vert.synchro.net [Synchronet 3.20a-Linux NewsLink 1.114]
    Lines: 19
    X-Complaints-To: https://www.astraweb.com/aup
    NNTP-Posting-Date: Thu, 02 May 2024 00:00:52 UTC
    Date: Wed, 1 May 2024 18:59:06 -0500
    X-Received-Bytes: 1886
    Xref: news.eternal-september.org alt.bbs.synchronet:39237

    To: Digital Man
    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 3.20a-Linux NewsLink 1.114
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net