Problems compiling and linking DoT 1.69q

Posted by Cirin on Thu 14 Nov 2002 11:46 PM — 5 posts, 24,849 views.

USA #0
I recently downloaded the code and, for some fabulous reason, am receiving a rather curious error.

obj/clanedit.o: In function `clanedit_create(char_data *, char *)':
/home/mud/fd2/cirin/mud/dot/src/clanedit.cpp:124: undefined reference to `atexit'
obj/comm.o: In function `install_other_handlers(void)':
/home/mud/fd2/cirin/mud/dot/src/comm.cpp:931: undefined reference to `atexit'

I understand that this is a standard function and it should be in stdlib.h. Any suggestions would be greatly appreciated.
You can contact me thusly:
AIM - xXCirinXx
ICQ - 97743222
MSN - cirin@msn.com

Thank you, in advance, for your time.
USA #1
Ok, so.

I commented out void install_other_handlers, since atexit is the main call in it and I commented out all instances of it in comm.cpp.
Did a 'grep atexit *' and received nothing.
Did a 'make clean'.
Did a make.
GOT

obj/clanedit.o: In function `clanedit_create(char_data *, char *)':
/home/mud/fd2/cirin/mud/dot/src/clanedit.cpp:124: undefined reference to `atexit'
collect2: ld returned 1 exit status
make: *** [dawn] Error 1


Went there and clanedit.cpp:124 is:
" node = new CClanType;"

So....yeah. I've emailed the admin for my server to find out why they don't have an up-to-date stdlib, might just have to move to a different place. Any ideas from anyone?
USA #2
Might try contacting Balo (balo@storm-bringer.org) as he currently hosts several DoT MUDs and is guaranteed to have the most up-to-date libraries and such. He's currently visiting family so a response may take a few days.
USA #3
Talked to the admin on my server, they're working on getting the correct libs. Shouldn't take them long, although they seem overly lazy.
USA #4
Ok, they got it up and running, I'm all set.