simple compile

jw schultz jw at pegasys.ws
Tue Oct 28 10:55:31 EST 2003


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:		jw at pegasys.ws

		Remember Cernan and Schmitt



More information about the rsync mailing list