[Nagiosplug-help] check_smtp.c error in make

Michael Shoemaker shoemake at ispalliance.net
Wed Aug 9 23:04:45 CEST 2006


I am having some issues trying to get the 1.4.3 plugins to compile on this 
solaris 5.7 system.

the relavant configure line and error are below. Anyone have any ideas?

./configure --with-nagios-group=www --without-openssl --enable-emulate-getaddrinfo                                         

gcc -Wall -g -O2 -o check_real check_real.o netutils.o utils.o getaddrinfo.o 
gethostbyname.o  -L/usr/src/nagios-plugins-1.4.3/plugins ../lib/libnagiosplug.a ../lib/libcoreutils.a -lsocket -lresolv ../intl/libintl.a -lgen -lnsl
source='check_smtp.c' object='check_smtp.o' libtool=no \
DEPDIR=.deps depmode=gcc /bin/ksh ../depcomp \
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl      -Wall -g -O2 -c 
check_smtp.c
check_smtp.c: In function `main':
check_smtp.c:179: warning: implicit declaration of function `gethostbyname'
check_smtp.c:179: warning: assignment makes pointer from integer without a 
cast
check_smtp.c:181: dereferencing pointer to incomplete type
make[3]: *** [check_smtp.o] Error 1
make[3]: Leaving directory `/usr/share/src/nagios-plugins-1.4.3/plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/share/src/nagios-plugins-1.4.3/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/share/src/nagios-plugins-1.4.3'
make: *** [all] Error 2




More information about the Help mailing list