Subj : Re: atexit compilation errors?
To : Digital Man
From : Ryan Fantus
Date : Mon Sep 04 2023 04:39 pm
DM> The 'ex_chat' is just an example ODoors program. You could've just
DM> removed references to ex_chat from odoors/GNUmakefile, but it would've
DM> then failed to build the other examples too.
Yeah, and I'm finding some other games that rely on ODoors have the same problem (clans, for example).
DM> I added a fix (using the '-shared' option) for that issue, but I also
DM> observed that the build was failing to find the xpdev library. I added a
DM> hack for that (assume the build target is an x64 system). And even with
DM> that hack, I had to add "LD=gcc" to the make command-line, but it did
DM> work for me:
Thanks! I'll give this a whirl.
BTW, how necessary is calling 'atexit' in OpenDoors? I commented out the line and compiled without `-shared` and it compiled fine. Wondering if it's truly needed, especially for linux x64?
--- Mystic BBS v1.12 A49 2023/02/26 (Linux/64)
* Origin: m O N T E R E Y b B S . c O M (1:218/820)