[Nagiosplug-help] Undefined symbols in nagios-plugin make
Matthias Eble
matthias.eble at mailing.kaufland-informationssysteme.com
Thu Aug 9 14:39:27 CEST 2007
Hi Johannes,
> 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)
oops :) the check_disk one was my mistake. The line somehow made it to
cvs. And as I'm writing this, holger already fixed it in svn.. Thanks
Holger.
>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.
>
I'd say some headers (eg sys/socket.h) was not found during configure.
But I only had a quick look. Please check the configure output
(configure -q might be helpful to locate the error more easily).
Matthias
More information about the Help
mailing list