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
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
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