Hello Rob,
https://gitlab.synchro.net/main/sbbs/-/commit/628ef42ca68f13b90c7173a3 Modified Files:
src/sbbs3/scfg/scfgsys.c
Log Message:
Read the Let's Encrypt ACME host name from the letsyncrypt.ini file.
I am seeing this error when attempting to build here. My gcc is 10.2.0.
==== Begin: "build.txt" ====
make -C /sbbs/repo/src/sbbs3/../../3rdp/build jslib
make[1]: Entering directory '/sbbs/repo/3rdp/build'
make[1]: Nothing to be done for 'jslib'.
make[1]: Leaving directory '/sbbs/repo/3rdp/build'
make -C /sbbs/repo/src/sbbs3/../smblib lib
make[1]: Entering directory '/sbbs/repo/src/smblib'
make[1]: Nothing to be done for 'lib'.
make[1]: Leaving directory '/sbbs/repo/src/smblib'
make -C /sbbs/repo/src/sbbs3/../xpdev mtlib
make[1]: Entering directory '/sbbs/repo/src/xpdev'
make[1]: Nothing to be done for 'mtlib'.
make[1]: Leaving directory '/sbbs/repo/src/xpdev'
make -C /sbbs/repo/src/sbbs3/../../3rdp/build cryptlib
make[1]: Entering directory '/sbbs/repo/3rdp/build'
make[1]: Nothing to be done for 'cryptlib'.
make[1]: Leaving directory '/sbbs/repo/3rdp/build'
make -C /sbbs/repo/src/sbbs3/../encode lib
make[1]: Entering directory '/sbbs/repo/src/encode'
make[1]: Nothing to be done for 'lib'.
make[1]: Leaving directory '/sbbs/repo/src/encode'
make -C /sbbs/repo/src/sbbs3/../hash lib
make[1]: Entering directory '/sbbs/repo/src/hash'
make[1]: Nothing to be done for 'lib'.
make[1]: Leaving directory '/sbbs/repo/src/hash'
Linking gcc.linux.x64.lib.release/libsbbs.so
make -C /sbbs/repo/src/sbbs3/../xpdev lib
make[1]: Entering directory '/sbbs/repo/src/xpdev'
make[1]: Nothing to be done for 'lib'.
make[1]: Leaving directory '/sbbs/repo/src/xpdev'
make -C /sbbs/repo/src/sbbs3/../conio mtlib
make[1]: Entering directory '/sbbs/repo/src/conio'
make[1]: Nothing to be done for 'mtlib'.
make[1]: Leaving directory '/sbbs/repo/src/conio'
make -C /sbbs/repo/src/sbbs3/../uifc mtlib
make[1]: Entering directory '/sbbs/repo/src/uifc'
make -C ../conio mtlib
make[2]: Entering directory '/sbbs/repo/src/conio'
make[2]: Nothing to be done for 'mtlib'.
make[2]: Leaving directory '/sbbs/repo/src/conio'
Creating gcc.linux.x64.lib.release/libuifc_mt.a ...
make[1]: Leaving directory '/sbbs/repo/src/uifc'
Linking gcc.linux.x64.exe.release/echocfg
Linking gcc.linux.x64.exe.release/readsauce
Linking gcc.linux.x64.exe.release/showstat
Linking gcc.linux.x64.exe.release/pktdump
Linking gcc.linux.x64.exe.release/fmsgdump
Linking gcc.linux.x64.exe.release/sbbs
Linking gcc.linux.x64.exe.release/jsexec
make -C scfg
make[1]: Entering directory '/sbbs/repo/src/sbbs3/scfg'
make -C ../../xpdev mtlib
make[2]: Entering directory '/sbbs/repo/src/xpdev'
make[2]: Nothing to be done for 'mtlib'.
make[2]: Leaving directory '/sbbs/repo/src/xpdev'
make -C ../../uifc mtlib
make[2]: Entering directory '/sbbs/repo/src/uifc'
make -C ../conio mtlib
make[3]: Entering directory '/sbbs/repo/src/conio'
make[3]: Nothing to be done for 'mtlib'.
make[3]: Leaving directory '/sbbs/repo/src/conio'
Creating gcc.linux.x64.lib.release/libuifc_mt.a ...
make[2]: Leaving directory '/sbbs/repo/src/uifc'
make -C ../../conio mtlib
make[2]: Entering directory '/sbbs/repo/src/conio'
make[2]: Nothing to be done for 'mtlib'.
make[2]: Leaving directory '/sbbs/repo/src/conio'
make -C ../../smblib lib
make[2]: Entering directory '/sbbs/repo/src/smblib'
make[2]: Nothing to be done for 'lib'.
make[2]: Leaving directory '/sbbs/repo/src/smblib'
make -C ../../encode lib
make[2]: Entering directory '/sbbs/repo/src/encode'
make[2]: Nothing to be done for 'lib'.
make[2]: Leaving directory '/sbbs/repo/src/encode'
Compiling scfgsys.c
scfgsys.c: In function ΓÇÿsys_cfgΓÇÖ:
scfgsys.c:142:9: error: expected expression before ΓÇÿcharΓÇÖ
142 | char value[INI_MAX_VALUE_LEN];
| ^~~~
scfgsys.c:146:58: error: ΓÇÿvalueΓÇÖ undeclared (first use in this function)
146 | host = iniReadString(fp, "state", "host", host, value);
| ^~~~~ scfgsys.c:146:58: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [../../build/Common.gmake:456: gcc.linux.x64.obj.release-mt/scfgsys.o] Error 1
make[1]: Leaving directory '/sbbs/repo/src/sbbs3/scfg'
make: *** [targets.mk:79: scfg] Error 2
==== End: "build.txt" ====
Sorry, my golded is messing with utf8.
Ttyl :-),
Al
--- GoldED+/LNX 1.1.5-b20180707
* Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757)
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net