Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#36 Compilation problem with AOLServer 4.5.0

aolserver_v45
open
nobody
5
2006-07-17
2006-07-17
mgma
No

Hi,

I'm having a compilation error when trying to build
AOLserver-4.5.0. It's the first time I use AOLserver,
so its probably a silly problem. Can anyone help me?

I'm using aolserver-4.5.0 with Tcl8.4.13 in Windows XP.
I compiled Tcl with the options threads and thrdalloc.
When I call make for AOLserver, I get the following errors:

cl /EHsc /W3 /nologo /c /MD /O2 /D "_WINDOWS" /D
"TCL_THREADS=1" /D "WIN32" /D "FD_SETSIZE=128"
/D "NO_CONST=1" /D "_MBCS" /D "NDEBUG"
/I "C:\Pruebas\src\aolserver-4.5.0-src\include"
/I "C:\Pruebas\Tcl8.4.13\include" /c /Fodns.o
dns.c
dns.c
dns.c(258) : error C2065: 'NI_MAXHOST' : undeclared
identifier
dns.c(258) : error C2057: expected constant
expression
dns.c(258) : error C2466: cannot allocate an array
of constant size 0
dns.c(258) : error C2133: 'buf' : unknown size
dns.c(278) : warning C4013: 'getnameinfo' undefined;
assuming extern returning int
dns.c(279) : warning C4034: sizeof returns 0
dns.c(280) : error C2065: 'NI_NAMEREQD' : undeclared
identifier
dns.c(282) : warning C4013: 'gai_strerror'
undefined; assuming extern
returning
int
dns.c(325) : error C2079: 'hints' uses undefined
struct 'addrinfo'
dns.c(331) : error C2224: left of '.ai_family' must
have struct/union type
dns.c(332) : error C2224: left of '.ai_socktype'
must have struct/union type
dns.c(333) : warning C4013: 'getaddrinfo' undefined;
assuming extern returning int
dns.c(340) : error C2037: left of 'ai_addr'
specifies undefined struct/union
'addrinfo'
dns.c(340) : error C2198: 'ns_inet_ntoa' : too few
actual parameters
dns.c(341) : error C2037: left of 'ai_next'
specifies undefined struct/union
'addrinfo'
dns.c(343) : warning C4013: 'freeaddrinfo'
undefined; assuming extern returning
int
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077:
'C:\Pruebas\Tcl8.4.13\bin\tclsh84t.exe' : return
code '0x1'
Stop.

Thanks,

Miguel

Discussion