copyover/hotboot

Posted by Cruise on Sun 25 Apr 2004 02:53 PM — 4 posts, 17,324 views.

#0
I was just installing the hotboot snippet in my code, but when I went to compile I got this.. Its been awhile since I have done some coding and was wondering if you can help me out. I forgot now im trying to relearn..lol

make -s smaug
o/comm.o(.text+0x371): In function `main':
/home/nw/SmaugFUSS/src/comm.c:299: undefined reference to `hotboot_recover'
o/db.o(.text+0x1972): In function `boot_db':
/home/nw/SmaugFUSS/src/db.c:696: undefined reference to `load_world'
collect2: ld returned 1 exit status
make[1]: *** [smaug] Error 1
make: *** [all] Error 2

Thank You
#1
add this to the top of comm.c

void hotboot_recover(void);
void load_world(CHAR_DATA *ch);
#2
I added that to the top of comm.c but ended up with the same error--

o/comm.o(.text+0x371): In function `main':
/home/nw/SmaugFUSS/src/comm.c:305: undefined reference to `hotboot_recover'
o/db.o(.text+0x1972): In function `boot_db':
/home/nw/SmaugFUSS/src/db.c:696: undefined reference to `load_world'
collect2: ld returned 1 exit status
make[1]: *** [smaug] Error 1
make: *** [all] Error 2
#3
Problem Solved.. Stupid error on my part.. Forgot about the makefile