Subj : atexit compilation errors?
To : Ryan Fantus
From : Digital Man
Date : Sun Sep 03 2023 03:34 pm
Re: atexit compilation errors?
By: Ryan Fantus to All on Sun Sep 03 2023 02:10 am
> I've been trying to compile Synchronet addons in the sbbs git repo using
> modern Ubuntu, but have also tried 20.04, 22.04, 22.10, and Debian 12. The
> way to reproduce the error I'm dealing with is to go into the
> /sbbs/repo/src/odoors directory and type "make". It'll fail on the 'ex_chat'
> compilation with an atexit symbol error.
>
> Anyone else find a way to deal with this, by chance? I'd really like to get
> some games to compile :)
The 'ex_chat' is just an example ODoors program. You could've just removed references to ex_chat from odoors/GNUmakefile, but it would've then failed to build the other examples too.
I added a fix (using the '-shared' option) for that issue, but I also observed that the build was failing to find the xpdev library. I added a hack for that (assume the build target is an x64 system). And even with that hack, I had to add "LD=gcc" to the make command-line, but it did work for me:
$ make LD=gcc
cc -fPIC -O2 -Llibs-Linux/ -I../xpdev -shared -Wall -DHAS_INTTYPES_H ex_vote.c ../xpdev/filewrap.c -o exe-Linux/ex_vote -lODoors -DMULTINODE_AWARE
--
digital man (rob)
Synchronet "Real Fact" #121:
Synchronet v2.20a for DOS was released on Aug 31, 1995 (5 months after v2.11a)
Norco, CA WX: 76.9�F, 59.0% humidity, 10 mph SSE wind, 0.00 inches rain/24hrs
---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net