[Nagiosplug-devel] Re: Bring on your legacy OS :)
Jeremy T. Bouse
jeremy+nagios at undergrid.net
Sat Mar 8 14:25:10 CET 2003
Ton,
Hmm... I'll have to look into this one... It would seem that it didn't
find sys/socket.h which includes bits/socket.h that setup the AF_* defines...
Could you do a "./configure <your options> |tee ~/macosx.log" as well as
sending me the config.h so I can check into this situation...
Jeremy
On Sat, Mar 08, 2003 at 12:13:56PM +0000, Ton Voon wrote:
> Jeremy,
>
> Just to let you know that I'm getting compile errors on MacOSX 10.2.
> Attached is my config.log.
>
> This is the make output:
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib
> -I/usr/include/ldap -I/usr/include -g -O2 -c `test -f 'utils.c' ||
> echo './'`utils.c
> utils.c: In function `is_inet_addr':
> utils.c:212: `AF_INET' undeclared (first use in this function)
> utils.c:212: (Each undeclared identifier is reported only once
> utils.c:212: for each function it appears in.)
> utils.c: In function `is_inet6_addr':
> utils.c:218: `AF_INET6' undeclared (first use in this function)
> utils.c: In function `is_hostname':
> utils.c:231: `AF_UNSPEC' undeclared (first use in this function)
> make[2]: *** [utils.o] Error 1
> make[1]: *** [all] Error 2
> make: *** [all-recursive] Error 1
>
> Let me know if you want more info.
>
> Ton
More information about the Devel
mailing list