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 ➜ Compiling the server ➜ compiling mcloud2

compiling mcloud2

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


Posted by Dextermovies   (65 posts)  Bio
Date Wed 07 Sep 2005 01:25 AM (UTC)
Message
I can not seem to find the error, but it says I have one. I am using cygwin on windows xp. I have a execinfo.h file straight from a linux distor (not sure which one)
here is the log file

$ make
gcc -c -Wall -O -ggdb act_comm.c
gcc -c -Wall -O -ggdb act_info.c
gcc -c -Wall -O -ggdb act_move.c
gcc -c -Wall -O -ggdb act_obj.c
gcc -c -Wall -O -ggdb act_wiz.c
gcc -c -Wall -O -ggdb bit.c
gcc -c -Wall -O -ggdb mccp.c
gcc -c -Wall -O -ggdb board.c
gcc -c -Wall -O -ggdb build.c
gcc -c -Wall -O -ggdb clan.c
gcc -c -Wall -O -ggdb comm.c
comm.c: In function `lookup_address':
comm.c:1178: warning: implicit declaration of function `gethostbyaddr_r'
gcc -c -Wall -O -ggdb daemon.c
gcc -c -Wall -O -ggdb db.c
gcc -c -Wall -O -ggdb angel.c
gcc -c -Wall -O -ggdb x-socials.c
gcc -c -Wall -O -ggdb demon.c
gcc -c -Wall -O -ggdb drow.c
gcc -c -Wall -O -ggdb fight.c
gcc -c -Wall -O -ggdb kav_wiz.c
gcc -c -Wall -O -ggdb handler.c
gcc -c -Wall -O -ggdb kav_fight.c
gcc -c -Wall -O -ggdb kav_info.c
gcc -c -Wall -O -ggdb interp.c
gcc -c -Wall -O -ggdb mage.c
gcc -c -Wall -O -ggdb magic.c
gcc -c -Wall -O -ggdb mem.c
gcc -c -Wall -O -ggdb monk.c
gcc -c -Wall -O -ggdb monk2.c
gcc -c -Wall -O -ggdb ninja.c
gcc -c -Wall -O -ggdb olc.c
gcc -c -Wall -O -ggdb olc_act.c
gcc -c -Wall -O -ggdb olc_save.c
gcc -c -Wall -O -ggdb save.c
gcc -c -Wall -O -ggdb special.c
gcc -c -Wall -O -ggdb string.c
gcc -c -Wall -O -ggdb arena.c
gcc -c -Wall -O -ggdb auction.c
gcc -c -Wall -O -ggdb update.c
gcc -c -Wall -O -ggdb vamp.c
gcc -c -Wall -O -ggdb ww.c
gcc -c -Wall -O -ggdb shapeshifter.c
gcc -c -Wall -O -ggdb tanarri.c
gcc -c -Wall -O -ggdb undead_knight.c
gcc -c -Wall -O -ggdb samurai.c
gcc -c -Wall -O -ggdb wizutil.c
gcc -c -Wall -O -ggdb const.c
gcc -c -Wall -O -ggdb cyborg.c
gcc -c -Wall -O -ggdb lich.c
gcc -c -Wall -O -ggdb jope.c
gcc -c -Wall -O -ggdb religion.c
gcc -c -Wall -O -ggdb jobo_king.c
gcc -c -Wall -O -ggdb jobo_fight.c
gcc -c -Wall -O -ggdb jobo_act.c
gcc -c -Wall -O -ggdb jobo_wiz.c
gcc -c -Wall -O -ggdb jobo_util.c
gcc -c -Wall -O -ggdb jobo_comm.c
gcc -c -Wall -O -ggdb jobo_save.c
gcc -c -Wall -O -ggdb social-edit.c
gcc -c -Wall -O -ggdb jobo_update.c
gcc -c -Wall -O -ggdb spiderdroid.c
gcc -c -Wall -O -ggdb jobo_quest.c
gcc -c -Wall -O -ggdb msp.c
gcc -c -Wall -O -ggdb kav_soundex.c
gcc -c -Wall -O -ggdb desc_map.c
gcc -c -Wall -O -ggdb jobo_shop.c
gcc -c -Wall -O -ggdb zarius_proj.c
gcc -c -Wall -O -ggdb zarius.c
gcc -c -Wall -O -ggdb changes.c
gcc -c -Wall -O -ggdb vote.c
gcc -c -Wall -O -ggdb skyblade.c
gcc -c -Wall -O -ggdb ghoul.c
gcc -c -Wall -O -ggdb draconian.c
gcc -c -Wall -O -ggdb thief.c
gcc -c -Wall -O -ggdb shadow.c
gcc -c -Wall -O -ggdb priest.c
gcc -c -Wall -O -ggdb jedi.c
gcc -c -Wall -O -ggdb psycho.c
gcc -c -Wall -O -ggdb giant.c
gcc -c -Wall -O -ggdb hobbit.c
gcc -c -Wall -O -ggdb fae.c
gcc -c -Wall -O -ggdb drone.c
gcc -c -Wall -O -ggdb zarius_quest.c
gcc -c -Wall -O -ggdb zarius_bank.c
gcc -c -Wall -O -ggdb olc_mpcode.c
gcc -c -Wall -O -ggdb mob_prog.c
gcc -c -Wall -O -ggdb mob_cmds.c
gcc -c -Wall -O -ggdb recycle.c
gcc -c -Wall -O -ggdb wizlist.c
gcc -c -Wall -O -ggdb zarius_comm.c
gcc -c -Wall -O -ggdb zarius_games.c
rm -f mcloud
gcc -o mcloud act_comm.o act_info.o act_move.o act_obj.o act_wiz.o bit.o mccp.o
board.o build.o clan.o comm.o daemon.o db.o angel.o x-socials.o demon.o drow.o
fight.o kav_wiz.o handler.o kav_fight.o kav_info.o interp.o mage.o magic.o mem.o
monk.o monk2.o ninja.o olc.o olc_act.o olc_save.o save.o special.o string.o are
na.o auction.o update.o vamp.o ww.o shapeshifter.o tanarri.o undead_knight.o sam
urai.o wizutil.o const.o cyborg.o lich.o jope.o religion.o jobo_king.o jobo_figh
t.o jobo_act.o jobo_wiz.o jobo_util.o jobo_comm.o jobo_save.o social-edit.o jobo
_update.o spiderdroid.o jobo_quest.o msp.o kav_soundex.o desc_map.o jobo_shop.o
zarius_proj.o zarius.o changes.o vote.o skyblade.o ghoul.o draconian.o thief.o s
hadow.o priest.o jedi.o psycho.o giant.o hobbit.o fae.o drone.o zarius_quest.o z
arius_bank.o olc_mpcode.o mob_prog.o mob_cmds.o recycle.o wizlist.o zarius_comm.
o zarius_games.o -lz -lcrypt -lpthread
comm.o: In function `lookup_address':
/home/Josh/mcloud2/src/comm.c:1178: undefined reference to `_gethostbyaddr_r'
comm.o: In function `iBacktrace':
/home/Josh/mcloud2/src/comm.c:1604: undefined reference to `_backtrace'
/home/Josh/mcloud2/src/comm.c:1606: undefined reference to `_backtrace_symbols'
collect2: ld returned 1 exit status
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #1 on Wed 07 Sep 2005 01:26 AM (UTC)
Message
Your error is at the end.
/home/Josh/mcloud2/src/comm.c:1178: undefined reference to `_gethostbyaddr_r'
comm.o: In function `iBacktrace':
/home/Josh/mcloud2/src/comm.c:1604: undefined reference to `_backtrace'
/home/Josh/mcloud2/src/comm.c:1606: undefined reference to `_backtrace_symbols'


Do a search for gethostbyaddr, there are some topics about it.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
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.


9,704 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.