[Nagiosplug-devel] Bring on your legacy OS :)

Jeremy T. Bouse jeremy+nagios at undergrid.net
Tue Mar 11 22:49:19 CET 2003


On Wed, Mar 12, 2003 at 01:32:04AM -0500, Karl DeBisschop wrote:
> Solaris 7 with CVS head as of about 2300 EST on 11 March 2003:
> 
> 
> configure: error: getaddrinfo not found: try --with-lwres or
> --enable-emulate-getaddrinfo
> 
	Okay it should do this if it doesn't find the getaddrinfo function
available...

> ./configure --with-lwres
> <snip>
> checking for openssl... no
> checking for lwres/netdb.h... yes
> checking for lwres_getaddrinfo in -llwres... no
> configure: error: cannot find the lwres library
> 
	Is there a copy of the BIND9 lwres resolver install'd? If not then this
is as it should be...

> ./configure --enable-emulate-getaddrinfo
> <snip>
> make
> <snip>
> utils.c: In function `is_inet6_addr':
> utils.c:218: `AF_INET6' undeclared (first use in this function)
> utils.c:218: (Each undeclared identifier is reported only once
> utils.c:218: for each function it appears in.)
> make[1]: *** [utils.o] Error 1
> make[1]: Leaving directory
> `/u/kdebisschop/nagios-plugins-1.3.99/plugins'
> make: *** [all-recursive] Error 1
> 
	Hmm... Can you check and see under what header file in /usr/include
AF_INET and AF_INET6 are defined? I know in linux it's in bits/socket.h which is
included into sys/socket.h... Also what state is USE_IPV6 in plugins/config.h
after you use the emulate-getaddrinfo function...

	Jeremy




More information about the Devel mailing list