The Dawn Of Time
The Official Forums for the Dawn Of Time Mud Codebase
 
Log in Register FAQ Memberlist Search The Dawn Of Time Forum Index Goto the Official Dawn Website

Compiling error

 
Post new topic   Reply to topic    The Dawn Of Time Forum Index » Coding
View previous topic :: View next topic  
Author Message
Denisius



Joined: 04 Jun 2008
Posts: 1
Location: Israel

PostPosted: Wed Jun 04, 2008 8:25 am    Post subject: Compiling error Reply with quote

I get this when I try to compile the DOT derivative Athens, I've fixed several bugs, but can't seem to fix this one.

This happens after it compiles all the files.

I use Slackware 10.2, and GCC 3.3.6.

Quote:

obj/act_comm.o(.text+0x3b47): In function `quit_char(char_data*, char*, bool)':
/home/denisius/test/src/act_comm.cpp:1894: undefined reference to `arena_broadcast(char_data*, char*, ...)'
obj/act_move.o(.text+0x4208): In function `do_recall(char_data*, char*)':
/home/denisius/test/src/act_move.cpp:2736: undefined reference to `arena_broadcast(char_data*, char*, ...)'
obj/act_move.o(.text+0x43dc):/home/denisius/test/src/act_move.cpp:2796: undefined reference to `arena_broadcast(char_data*, char*, ...)'
obj/fight.o(.text+0x4df): In function `kill_char(char_data*, char_data*)':
/home/denisius/test/src/fight.cpp:284: undefined reference to `arena_broadcast(char_data*, char*, ...)'
obj/interp.o(.data+0x604): undefined reference to `do_multicheck(char_data*, char*)'
obj/interp.o(.data+0x6e4): undefined reference to `do_punish(char_data*, char*)'
obj/interp.o(.data+0x7a4): undefined reference to `do_sacrifice(char_data*, char*)'
obj/interp.o(.data+0xa84): undefined reference to `do_accept(char_data*, char*)'
obj/interp.o(.data+0xc04): undefined reference to `do_appoint(char_data*, char*)'
obj/interp.o(.data+0x10a4): undefined reference to `do_bet(char_data*, char*)'
obj/interp.o(.data+0x11c4): undefined reference to `do_challenge(char_data*, char*)'
obj/interp.o(.data+0x1524): undefined reference to `do_decline(char_data*, char*)'
obj/interp.o(.data+0x1664): undefined reference to `do_dismiss(char_data*, char*)'
obj/interp.o(.data+0x18c4): undefined reference to `do_fish(char_data*, char*)'
obj/interp.o(.data+0x1ea4): undefined reference to `do_join(char_data*, char*)'
obj/interp.o(.data+0x2144): undefined reference to `do_mine(char_data*, char*)'
obj/interp.o(.data+0x2764): undefined reference to `do_quests(char_data*, char*)'
obj/interp.o(.data+0x2a04): undefined reference to `do_roulette(char_data*, char*)'
obj/interp.o(.data+0x37c4): undefined reference to `do_marry(char_data*, char*)'
obj/interp.o(.data+0x37e4): undefined reference to `do_divorce(char_data*, char*)'
obj/interp.o(.data+0x3804): undefined reference to `do_spousetalk(char_data*, char*)'
obj/interp.o(.data+0x3824): undefined reference to `do_consent(char_data*, char*)'
obj/interp.o(.data+0x3844): undefined reference to `do_immadvance(char_data*, char*)'
obj/interp.o(.data+0x3864): undefined reference to `do_award(char_data*, char*)'
obj/interp.o(.data+0x3884): undefined reference to `do_powers(char_data*, char*)'
obj/interp.o(.data+0x38a4): undefined reference to `do_chain(char_data*, char*)'
obj/interp.o(.data+0x38c4): undefined reference to `do_bolt(char_data*, char*)'
obj/interp.o(.data+0x38e4): undefined reference to `do_romance(char_data*, char*)'
obj/interp.o(.data+0x3904): undefined reference to `do_sober(char_data*, char*)'
obj/interp.o(.data+0x3924): undefined reference to `do_drunk(char_data*, char*)'
obj/interp.o(.data+0x3944): undefined reference to `do_powerhelp(char_data*, char*)'
obj/interp.o(.data+0x3964): undefined reference to `do_bless(char_data*, char*)'
obj/interp.o(.data+0x3984): undefined reference to `do_shout(char_data*, char*)'
obj/interp.o(.data+0x39c4): undefined reference to `do_typhoon(char_data*, char*)'
obj/interp.o(.data+0x3d04): undefined reference to `do_bounty(char_data*, char*)'
obj/interp.o(.data+0x4324): undefined reference to `do_aflag(char_data*, char*)'
obj/interp.o(.data+0x54a4): undefined reference to `do_transform(char_data*, char*)'
obj/mud2web.o(.text+0x11d): In function `getwebContests(int)':
/home/denisius/test/src/mud2web.cpp:56: undefined reference to `do_quests(char_data*, char*)'
obj/update.o(.text+0x4759): In function `update_handler()':
/home/denisius/test/src/update.cpp:2526: undefined reference to `update_roulette()'
collect2: ld returned 1 exit status
make: *** [dawn] Error 1


Any help would be appreciated.


Back to top
View user's profile Send private message
Daos



Joined: 29 Jan 2003
Posts: 1219
Location: United States

PostPosted: Thu Jun 05, 2008 3:20 pm    Post subject: Re: Compiling error Reply with quote

Denisius wrote:
I get this when I try to compile the DOT derivative Athens, I've fixed several bugs, but can't seem to fix this one.

This happens after it compiles all the files.

I use Slackware 10.2, and GCC 3.3.6.

Quote:

obj/act_comm.o(.text+0x3b47): In function `quit_char(char_data*, char*, bool)':
/home/denisius/test/src/act_comm.cpp:1894: undefined reference to `arena_broadcast(char_data*, char*, ...)'
obj/act_move.o(.text+0x4208): In function `do_recall(char_data*, char*)':
/home/denisius/test/src/act_move.cpp:2736: undefined reference to `arena_broadcast(char_data*, char*, ...)'
obj/act_move.o(.text+0x43dc):/home/denisius/test/src/act_move.cpp:2796: undefined reference to `arena_broadcast(char_data*, char*, ...)'
obj/fight.o(.text+0x4df): In function `kill_char(char_data*, char_data*)':
/home/denisius/test/src/fight.cpp:284: undefined reference to `arena_broadcast(char_data*, char*, ...)'
obj/interp.o(.data+0x604): undefined reference to `do_multicheck(char_data*, char*)'
obj/interp.o(.data+0x6e4): undefined reference to `do_punish(char_data*, char*)'
obj/interp.o(.data+0x7a4): undefined reference to `do_sacrifice(char_data*, char*)'
obj/interp.o(.data+0xa84): undefined reference to `do_accept(char_data*, char*)'
obj/interp.o(.data+0xc04): undefined reference to `do_appoint(char_data*, char*)'
obj/interp.o(.data+0x10a4): undefined reference to `do_bet(char_data*, char*)'
obj/interp.o(.data+0x11c4): undefined reference to `do_challenge(char_data*, char*)'
obj/interp.o(.data+0x1524): undefined reference to `do_decline(char_data*, char*)'
obj/interp.o(.data+0x1664): undefined reference to `do_dismiss(char_data*, char*)'
obj/interp.o(.data+0x18c4): undefined reference to `do_fish(char_data*, char*)'
obj/interp.o(.data+0x1ea4): undefined reference to `do_join(char_data*, char*)'
obj/interp.o(.data+0x2144): undefined reference to `do_mine(char_data*, char*)'
obj/interp.o(.data+0x2764): undefined reference to `do_quests(char_data*, char*)'
obj/interp.o(.data+0x2a04): undefined reference to `do_roulette(char_data*, char*)'
obj/interp.o(.data+0x37c4): undefined reference to `do_marry(char_data*, char*)'
obj/interp.o(.data+0x37e4): undefined reference to `do_divorce(char_data*, char*)'
obj/interp.o(.data+0x3804): undefined reference to `do_spousetalk(char_data*, char*)'
obj/interp.o(.data+0x3824): undefined reference to `do_consent(char_data*, char*)'
obj/interp.o(.data+0x3844): undefined reference to `do_immadvance(char_data*, char*)'
obj/interp.o(.data+0x3864): undefined reference to `do_award(char_data*, char*)'
obj/interp.o(.data+0x3884): undefined reference to `do_powers(char_data*, char*)'
obj/interp.o(.data+0x38a4): undefined reference to `do_chain(char_data*, char*)'
obj/interp.o(.data+0x38c4): undefined reference to `do_bolt(char_data*, char*)'
obj/interp.o(.data+0x38e4): undefined reference to `do_romance(char_data*, char*)'
obj/interp.o(.data+0x3904): undefined reference to `do_sober(char_data*, char*)'
obj/interp.o(.data+0x3924): undefined reference to `do_drunk(char_data*, char*)'
obj/interp.o(.data+0x3944): undefined reference to `do_powerhelp(char_data*, char*)'
obj/interp.o(.data+0x3964): undefined reference to `do_bless(char_data*, char*)'
obj/interp.o(.data+0x3984): undefined reference to `do_shout(char_data*, char*)'
obj/interp.o(.data+0x39c4): undefined reference to `do_typhoon(char_data*, char*)'
obj/interp.o(.data+0x3d04): undefined reference to `do_bounty(char_data*, char*)'
obj/interp.o(.data+0x4324): undefined reference to `do_aflag(char_data*, char*)'
obj/interp.o(.data+0x54a4): undefined reference to `do_transform(char_data*, char*)'
obj/mud2web.o(.text+0x11d): In function `getwebContests(int)':
/home/denisius/test/src/mud2web.cpp:56: undefined reference to `do_quests(char_data*, char*)'
obj/update.o(.text+0x4759): In function `update_handler()':
/home/denisius/test/src/update.cpp:2526: undefined reference to `update_roulette()'
collect2: ld returned 1 exit status
make: *** [dawn] Error 1


Any help would be appreciated.


Just by looking at it; I can see you are missing vital parts of the Athen's code. Anytime there is an undefined reference error; that means the actual function protocol is either missing or simply not included in the makefile. Hopefully, this is a smaller issue than it seems to be...

Open your makefile.in file in the configure/ folder and see what .o (object) files are listed and compare it to your source folder and see if an object file simply wasn't listed in the makefile.

ie. if you have dawngame.cpp in your src/ folder; then you should have dawngame.o in the makefile.

If you have missing object files; you need to add them to the makefile.in then rerun the ./config script in the configure/ folder once you have uploaded the new makefile.in file to the configure/ folder.

Go back into the src/ folder then type make clean followed by make to compile. Let me know how that works for you.



_________________
- Daos

http://www.dawnoftime.org
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Pixie



Joined: 16 Jan 2016
Posts: 56
Location: Pacific Northwest

PostPosted: Sun Jan 17, 2016 3:18 pm    Post subject: Reply with quote

Had this same issue, and Daos' comment fixed it.

On to more bugs...!


Back to top
View user's profile Send private message AIM Address
Sechrost



Joined: 23 Apr 2017
Posts: 1

PostPosted: Wed Apr 26, 2017 4:17 am    Post subject: Reply with quote

Pixiee wrote:
Had I found an andropenis thing issue, and Daos' comment fixed it.

On to more bugs...!


Thanks Daos that was helpful.


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    The Dawn Of Time Forum Index » Coding All times are GMT + 13 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001-2005 phpBB Group
Theme created by Vjacheslav Trushkin