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
➜ PennMUSH
➜ Compiling the server
➜ Compiling 1.7.7 w/ Cygwin
|
Compiling 1.7.7 w/ Cygwin
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Rankard
(2 posts) Bio
|
| Date
| Thu 29 Jul 2004 09:15 PM (UTC) |
| Message
| Hey Yall,
Im having a bit of trouble compiling 1.7.7 with Cygwin. After configuring, editing options.h and typing make install, I get this error:
gcc -g -I.. -I../hdrs -I/bin/exim-4.20-1/minires -c -o mysocket.o mysocket.c
mysocket.c: In function 'getaddrinfo':
mysocket.c:1046: '_res' undeclared(first use in this function)
mysocket.c:1046: (Each undeclared identifier is reported only once
mysocket.c:1046: for each function it appears in.)
mysocket.c:1046: 'RES_INIT' undeclared (first use in this function)
mysocket.c:1052: 'RES_USE_INET6' undeclared (first use in this function)
make[1]: *** [mysocket.o] Error1
make[1]: Leaving directory '/home/pennmush/pennmush/src'
make: *** [all] Error2
Any help that you might give me is greatly appreciated.
Thanks!
| | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Fri 30 Jul 2004 02:45 AM (UTC) |
| Message
|
After downloading pennmush-1.7.7p34.tar.gz and unpacking it, I ran ". Configure -d" and copied options.h.dist to options.h, then typed "make". I got some warnings, but no errors. Then I could start the MUSH up ...
cc -g -I.. -I../hdrs -c -o memcheck.o memcheck.c
cc -g -I.. -I../hdrs -c -o move.o move.c
cc -g -I.. -I../hdrs -c -o mycrypt.o mycrypt.c
cc -g -I.. -I../hdrs -c -o mymalloc.o mymalloc.c
cc -g -I.. -I../hdrs -c -o mysocket.o mysocket.c
mysocket.c:491:1: warning: "IN6ADDRSZ" redefined
In file included from /usr/include/arpa/nameser.h:560,
from mysocket.c:50:
/usr/include/arpa/nameser_compat.h:142:1: warning: this is the location of the previous definition
mysocket.c:492:1: warning: "INADDRSZ" redefined
/usr/include/arpa/nameser_compat.h:141:1: warning: this is the location of the previous definition
mysocket.c:493:1: warning: "INT16SZ" redefined
/usr/include/arpa/nameser_compat.h:140:1: warning: this is the location of the previous definition
cc -g -I.. -I../hdrs -c -o myssl.o myssl.c
cc -g -I.. -I../hdrs -c -o notify.o notify.c
cc -g -I.. -I../hdrs -c -o parse.o parse.c
cc -g -I.. -I../hdrs -c -o pcre.o pcre.c
cc -g -I.. -I../hdrs -c -o player.o player.c
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Rankard
(2 posts) Bio
|
| Date
| Reply #2 on Fri 30 Jul 2004 10:11 PM (UTC) |
| Message
| I did notice that you are compiling using cc and I am using gcc ... while do realize that one is a version of the other, I thought that perhaps this was having an affect on the overall result?
When I deleted my distribution, reunpacked and attempted to configure again I ran into the same error I was having the first time... 'WOAH THERE!! Your C compiler doesn't seem to be working....' etc. I had configured it to use gcc before... What is wrong with my cygwin distribution, where it would have trouble using cc to compile? Thankyou
| | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #3 on Sat 31 Jul 2004 11:20 PM (UTC) |
| Message
| | Hard to say what is wrong with your Cygwin. Perhaps you didn't install all the compiler tools. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | 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.
21,305 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top