Hi, thanks for the reply. I apologize for not having a clearer question. I did know that EAI_MAX was in lib/addrinfo.h I have been able to produce an executable by simply copying 4 lines from lib/addrinfo.h into lib/getaddrinfo.c #define EAI_BADHINTS 12 #define EAI_PROTOCOL 13 #define EAI_MAX 14 #define AI_MASK (AI_PASSIVE | AI_CANONNAME | AI_NUMERICHOST)
but I am guessing that this is not the preferred solution. I am assuming linux compilers or gcc do not get this problem, so I thought it might by important to have a correction for this on oSF. thanks for your help, On Mon, 27 Oct 2003, jw schultz wrote: > On Mon, Oct 27, 2003 at 03:39:37PM -0800, Tom Holton wrote: > > > > 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! > > It is defined in lib/addrinfo.h and included from rsync.h > > > > > How should I handle this? > > > > thanks, > > -tom > > > > > > -- > > To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync > > Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html > > > > -- > ________________________________________________________________ > J.W. Schultz Pegasystems Technologies > email address: [EMAIL PROTECTED] > > Remember Cernan and Schmitt > -- > To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync > Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html > -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html