Subj : compile error To : All From : dumas.walker@CAPTEST.remove-u-this Date : Wed 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" 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) .