[Nagiosplug-help] Undefined symbols in nagios-plugin make

Johannes Kingma johannes.kingma at united-mobile.com
Thu Aug 9 13:20:42 CEST 2007


Hi list

Trying to build the nagios-plugin-1.4.9 on a unixware machine. After tweaking lib/utils_base.c und plugins/check_disk.c (containing // style comments which is not C) creation of check_http failes for not defined symbols:

        /bin/ksh ../libtool --tag=CC --mode=link /nagios_packages/nagios-plugins-1.4.9/build-aux/compile cc  -g   -L. -o check_http  check_http.o sslutils.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a  -lnsl  -lgen 
/nagios_packages/nagios-plugins-1.4.9/build-aux/compile cc -g -o check_http check_http.o sslutils.o netutils.o utils.o  -L/nagios_packages/nagios-plugins-1.4.9/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lgen
Undefined                       first referenced
 symbol                             in file
recv                                netutils.o
socket                              netutils.o
send                                check_http.o
connect                             netutils.o
gethostbyname                       ../gl/libgnu.a(getaddrinfo.o)
getservbyname                       ../gl/libgnu.a(getaddrinfo.o)
UX:ld: ERROR: check_http: fatal error: Symbol referencing errors. No output written to check_http
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.
*** Error code 1 (bu21)
UX:make: ERROR: fatal error.


what is wrong here?


- Johannes Kingma (theking2)

-----------------------
The mailing list archive is found here:
http://www.nagiosexchange.org/nagiosplug-help.32.0.html
				




More information about the Help mailing list