simple compile
Tom Holton
holton at mbi.ucla.edu
Tue Oct 28 10:39:37 EST 2003
I could not find this question anywhere, but I apologize if it is and I
just missed it.
Running an Alpha, OSF1 V5.1 1885
configure went fine.
compile failed:
cc -I. -I. -g -DHAVE_CONFIG_H -I./popt -c lib/getaddrinfo.c -o
lib/getaddrinfo.o
cc: Error: lib/getaddrinfo.c, line 182: In this statement, "EAI_MAX" is
not declared. (undeclared)
if (ecode < 0 || ecode > EAI_MAX)
---------------------------------^
cc: Error: lib/getaddrinfo.c, line 264: In this statement, "EAI_BADHINTS"
is not declared. (undeclared)
ERR(EAI_BADHINTS); /* xxx */
------------------------^
cc: Error: lib/getaddrinfo.c, line 265: In this statement, "AI_MASK" is
not declared. (undeclared)
if (hints->ai_flags & ~AI_MASK)
---------------------------------------^
cc: Error: lib/getaddrinfo.c, line 299: In this statement, "EAI_BADHINTS"
is not declared. (undeclared)
ERR(EAI_BADHINTS); /*xxx*/
--------------------------------^
cc: Error: lib/getaddrinfo.c, line 305: In this statement, "EAI_BADHINTS"
is not declared. (undeclared)
ERR(EAI_BADHINTS); /*xxx*/
--------------------------------^
cc: Error: lib/getaddrinfo.c, line 355: In this statement, "EAI_PROTOCOL"
is not declared. (undeclared)
ERR(EAI_PROTOCOL); /*xxx*/
----------------------------------------^
*** Exit 1
See no documentation about EAI_MAX
And, looking in the code, indeed, EAI_MAX (et. al.) are not defined
anywhere!
How should I handle this?
thanks,
-tom
More information about the rsync
mailing list