TIP: Click on subject to list as thread! ANSI
echo: synchronet
to: digital man
from: Dumas Walker
date: 2024-05-01 09:13:00
subject: compile error

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
               
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.