Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ SMAUG coding ➜ copyover/hotboot

copyover/hotboot

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Cruise   (3 posts)  Bio
Date Sun 25 Apr 2004 02:53 PM (UTC)
Message
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
Top

Posted by Remcon   (7 posts)  Bio
Date Reply #1 on Sun 25 Apr 2004 04:12 PM (UTC)
Message
add this to the top of comm.c

void hotboot_recover(void);
void load_world(CHAR_DATA *ch);
Top

Posted by Cruise   (3 posts)  Bio
Date Reply #2 on Sun 25 Apr 2004 04:21 PM (UTC)
Message
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
Top

Posted by Cruise   (3 posts)  Bio
Date Reply #3 on Sun 25 Apr 2004 04:55 PM (UTC)
Message
Problem Solved.. Stupid error on my part.. Forgot about the makefile
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


15,282 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.