[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  Compiling the server
. . -> [Subject]  need help with compiling dystopia 1.4
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

need help with compiling dystopia 1.4

It is now over 60 days since the last post. This thread is closed.   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by Relikfealith   (3 posts)  [Biography] bio
Date Thu 08 Jul 2004 05:02 AM (UTC)  quote  ]
Message
i am running win xp pro with lastest cygwin, and dev-c++ compilier, when compiling i get this errors.

$ make
gcc -c -Wall -g const.c
In file included from const.c:24:
merc.h:3090: warning: conflicting types for built-in function `logf'
gcc -c -Wall -g save.c
In file included from save.c:25:
merc.h:3090: warning: conflicting types for built-in function `logf'
gcc -c -Wall -g special.c
In file included from special.c:25:
merc.h:3090: warning: conflicting types for built-in function `logf'
gcc -c -Wall -g string.c
In file included from string.c:40:
merc.h:3090: warning: conflicting types for built-in function `logf'
gcc -c -Wall -g jope.c
In file included from jope.c:34:
merc.h:3090: warning: conflicting types for built-in function `logf'
gcc -c -Wall -g msp.c

merc.h:3090: warning: conflicting types for built-in function `logf'
gcc -c -Wall -g comm.c
comm.c:48:48: execinfo.h: No such file or directory
In file included from comm.c:50:
merc.h:3090: warning: conflicting types for built-in function `logf'
comm.c: In function `lookup_address':
comm.c:1141: warning: implicit declaration of function `gethostbyaddr_r'
comm.c: In function `iBacktrace':
comm.c:1554: warning: implicit declaration of function `backtrace'
comm.c:1556: warning: implicit declaration of function `backtrace_symbols'
comm.c:1556: warning: assignment makes pointer from integer without a cast
comm.c: In function `nanny':
comm.c:2352: warning: implicit declaration of function `crypt'
comm.c:2352: warning: passing arg 1 of `strcmp' makes pointer from integer witho
ut a cast
comm.c:2360: warning: passing arg 1 of `strcmp' makes pointer from integer witho
ut a cast
comm.c:2562: warning: assignment makes pointer from integer without a cast
comm.c:2587: warning: passing arg 1 of `strcmp' makes pointer from integer witho
ut a cast
make: *** [comm.o] Error 1
[Go to top] top

Posted by Meerclar   USA  (600 posts)  [Biography] bio
Date Reply #1 on Thu 08 Jul 2004 09:25 AM (UTC)  quote  ]
Message
The only actual error I see in that mess of warnings is

comm.c:48:48: execinfo.h: No such file or directory

and that is what you need to be most worried about. The rest can be ignored for now but its advised you chase them down eventually so its easier to see the real problems and not get lost in the ambiguous code warnings.

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
[Go to top] top

Posted by Relikfealith   (3 posts)  [Biography] bio
Date Reply #2 on Thu 08 Jul 2004 08:02 PM (UTC)  quote  ]
Message
gcc: unrecognized option `-rdynamic'
comm.o(.text+0x12c3): In function `lookup_address':
/home/relik/dystopia14/src/comm.c:1139: undefined reference to `_gethostbyaddr_r
'
comm.o(.text+0x2080): In function `iBacktrace':
/home/relik/dystopia14/src/comm.c:1552: undefined reference to `_backtrace'
comm.o(.text+0x20ae):/home/relik/dystopia14/src/comm.c:1554: undefined reference
to `_backtrace_symbols'
collect2: ld returned 1 exit status
make: *** [merc] Error 1
[Go to top] top

Posted by Meerclar   USA  (600 posts)  [Biography] bio
Date Reply #3 on Fri 09 Jul 2004 04:44 AM (UTC)  quote  ]

Amended on Fri 09 Jul 2004 04:48 AM (UTC) by Meerclar

Message
Not surprising that you got those errors after a fast google search revealed those functions are declared in execinfo.h and this is a glibc specific file.

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
[Go to top] top

Posted by Aha McCoy   USA  (11 posts)  [Biography] bio
Date Reply #4 on Sun 27 Feb 2005 09:06 PM (UTC)  quote  ]
Message
Cygwin doesn't have the execinfo.h.....Where can one go about getting a copy of it?
[Go to top] top

Posted by Samson   USA  (683 posts)  [Biography] bio
Date Reply #5 on Sun 27 Feb 2005 09:11 PM (UTC)  quote  ]
Message
It doesn't have it because it's entirely possible Cygwin doesn't have the functions the header is declaring. Best bet: disable the backtracing stuff when using Cygwin.

SmaugMuds.org: http://www.smaugmuds.org - The Smaug MUDs Community Center

"The past was erased, the erasure was forgotten, the lie became truth." -- George Orwell, 1984
[Go to top] top

Posted by Aha McCoy   USA  (11 posts)  [Biography] bio
Date Reply #6 on Sun 27 Feb 2005 10:04 PM (UTC)  quote  ]
Message
Backtracing? well, anywayu, mine doesn't need execinfo.h it jsut gives me an undefined reference.
[Go to top] 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.


3,614 views.

It is now over 60 days since the last post. This thread is closed.   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Web site powered by FutureQuest.Net]