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.5p01-noltar
Compiling 1.7.5p01-noltar
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Krenath
USA (76 posts) Bio
|
Date
| Tue 01 Jan 2002 04:38 AM (UTC) |
Message
| I'm trying to compile version 1.7.5p01 from the conveniently pre-configured ZIP file downloaded from http://www.pennmush.org. As near as I can tell, all the changes suggested by this site for compiling Penn under windows are already part of the ZIP file. I'm using VC++ version 6 and I'm on Windows XP Professional, which one would think would be close enough to NT to not make a difference to Penn.
As tidy as that sounds, I'm still getting the following errors, and I have no real clue why or how to stop them.
(at least it's only creating 43 errors in indent.c and mysocket.c... I figure as soon as something gets tweaked properly, it'll all go together well.)
Any ideas on what I should do to get this compiling?
Only ident.c's errors are included here. I'll post a followup with mysocket.c's errors
Quote:
ident.c
c:\program files\pennmush\src\ident.c(211) : error C2065: 'NI_MAXHOST' : undeclared identifier
c:\program files\pennmush\src\ident.c(211) : error C2057: expected constant expression
c:\program files\pennmush\src\ident.c(211) : error C2466: cannot allocate an array of constant size 0
c:\program files\pennmush\src\ident.c(211) : error C2133: 'host' : unknown size
c:\program files\pennmush\src\ident.c(223) : warning C4013: 'getnameinfo' undefined; assuming extern returning int
c:\program files\pennmush\src\ident.c(223) : warning C4034: sizeof returns 0
c:\program files\pennmush\src\ident.c(224) : error C2065: 'NI_NUMERICHOST' : undeclared identifier
c:\program files\pennmush\src\ident.c(224) : error C2065: 'NI_NUMERICSERV' : undeclared identifier
c:\program files\pennmush\src\ident.c(233) : error C2065: 'AF_INET6' : undeclared identifier
c:\program files\pennmush\src\ident.c(234) : error C2037: left of 'sin6_port' specifies undefined struct/union 'sockaddr_in6'
c:\program files\pennmush\src\ident.c(322) : error C2065: 'NI_MAXSERV' : undeclared identifier
c:\program files\pennmush\src\ident.c(322) : error C2057: expected constant expression
c:\program files\pennmush\src\ident.c(322) : error C2466: cannot allocate an array of constant size 0
c:\program files\pennmush\src\ident.c(322) : error C2133: 'port' : unknown size
c:\program files\pennmush\src\ident.c(326) : warning C4034: sizeof returns 0
c:\program files\pennmush\src\ident.c(329) : warning C4034: sizeof returns 0
|
- Krenath from
bDv TrekMUSH
ATS TrekMUSH
TNG TrekMUSE
TOS TrekMUSE | Top |
|
Posted by
| Krenath
USA (76 posts) Bio
|
Date
| Reply #1 on Tue 01 Jan 2002 04:39 AM (UTC) |
Message
|
Quote:
mysocket.c
c:\program files\pennmush\src\mysocket.c(97) : error C2065: 'NI_MAXHOST' : undeclared identifier
c:\program files\pennmush\src\mysocket.c(97) : error C2057: expected constant expression
c:\program files\pennmush\src\mysocket.c(97) : error C2466: cannot allocate an array of constant size 0
c:\program files\pennmush\src\mysocket.c(97) : error C2133: 'hostname' : unknown size
c:\program files\pennmush\src\mysocket.c(98) : error C2065: 'NI_MAXSERV' : undeclared identifier
c:\program files\pennmush\src\mysocket.c(98) : error C2057: expected constant expression
c:\program files\pennmush\src\mysocket.c(98) : error C2466: cannot allocate an array of constant size 0
c:\program files\pennmush\src\mysocket.c(98) : error C2133: 'port' : unknown size
c:\program files\pennmush\src\mysocket.c(100) : warning C4013: 'getnameinfo' undefined; assuming extern returning int
c:\program files\pennmush\src\mysocket.c(100) : warning C4034: sizeof returns 0
c:\program files\pennmush\src\mysocket.c(100) : warning C4034: sizeof returns 0
c:\program files\pennmush\src\mysocket.c(101) : error C2065: 'NI_NUMERICHOST' : undeclared identifier
c:\program files\pennmush\src\mysocket.c(101) : error C2065: 'NI_NUMERICSERV' : undeclared identifier
c:\program files\pennmush\src\mysocket.c(114) : error C2057: expected constant expression
c:\program files\pennmush\src\mysocket.c(114) : error C2466: cannot allocate an array of constant size 0
c:\program files\pennmush\src\mysocket.c(114) : error C2133: 'hostname' : unknown size
c:\program files\pennmush\src\mysocket.c(115) : error C2057: expected constant expression
c:\program files\pennmush\src\mysocket.c(115) : error C2466: cannot allocate an array of constant size 0
c:\program files\pennmush\src\mysocket.c(115) : error C2133: 'port' : unknown size
c:\program files\pennmush\src\mysocket.c(117) : warning C4034: sizeof returns 0
c:\program files\pennmush\src\mysocket.c(117) : warning C4034: sizeof returns 0
c:\program files\pennmush\src\mysocket.c(135) : error C2057: expected constant expression
c:\program files\pennmush\src\mysocket.c(135) : error C2466: cannot allocate an array of constant size 0
c:\program files\pennmush\src\mysocket.c(135) : error C2133: 'cport' : unknown size
c:\program files\pennmush\src\mysocket.c(219) : error C2057: expected constant expression
c:\program files\pennmush\src\mysocket.c(219) : error C2466: cannot allocate an array of constant size 0
c:\program files\pennmush\src\mysocket.c(219) : error C2133: 'cport' : unknown size
c:\program files\pennmush\src\mysocket.c(960) : error C2079: 'in6addr' uses undefined struct 'in6_addr'
c:\program files\pennmush\src\mysocket.c(978) : error C2065: '_res' : undeclared identifier
c:\program files\pennmush\src\mysocket.c(978) : error C2224: left of '.options' must have struct/union type
c:\program files\pennmush\src\mysocket.c(978) : error C2065: 'RES_INIT' : undeclared identifier
c:\program files\pennmush\src\mysocket.c(979) : warning C4013: 'res_init' undefined; assuming extern returning int
c:\program files\pennmush\src\mysocket.c(984) : error C2224: left of '.options' must have struct/union type
c:\program files\pennmush\src\mysocket.c(984) : error C2065: 'RES_USE_INET6' : undeclared identifier
c:\program files\pennmush\src\mysocket.c(990) : error C2224: left of '.options' must have struct/union type
c:\program files\pennmush\src\mysocket.c(992) : error C2224: left of '.options' must have struct/union type
c:\program files\pennmush\src\mysocket.c(1274) : error C2027: use of undefined type 'sockaddr_in6'
c:\program files\pennmush\src\mysocket.c(1271) : see declaration of 'sockaddr_in6'
c:\program files\pennmush\src\mysocket.c(1279) : error C2037: left of 'sin6_family' specifies undefined struct/union 'sockaddr_in6'
c:\program files\pennmush\src\mysocket.c(1280) : error C2037: left of 'sin6_addr' specifies undefined struct/union 'sockaddr_in6'
c:\program files\pennmush\src\mysocket.c(1280) : warning C4090: 'function' : different 'const' qualifiers
c:\program files\pennmush\src\mysocket.c(1280) : warning C4022: 'memcpy' : pointer mismatch for actual parameter 1
c:\program files\pennmush\src\mysocket.c(1280) : error C2027: use of undefined type 'in6_addr'
c:\program files\pennmush\src\mysocket.c(1280) : see declaration of 'in6_addr'
c:\program files\pennmush\src\mysocket.c(1280) : error C2198: 'memcpy' : too few actual parameters
c:\program files\pennmush\src\mysocket.c(1282) : error C2027: use of undefined type 'sockaddr_in6'
c:\program files\pennmush\src\mysocket.c(1271) : see declaration of 'sockaddr_in6'
c:\program files\pennmush\src\mysocket.c(1390) : error C2037: left of 'sin6_port' specifies undefined struct/union 'sockaddr_in6'
|
- Krenath from
bDv TrekMUSH
ATS TrekMUSH
TNG TrekMUSE
TOS TrekMUSE | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #2 on Tue 01 Jan 2002 06:53 AM (UTC) |
Message
| The mind boggles.
I don't have my compiler with me at the moment, but try contacting the PennMUSH coders at that site, and include the error messages. They are usually pretty keen to make it Win32 compatible. |
- 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.
15,818 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top