[Nagiosplug-help] nagios-plugins-1.4.5 check_ldap build error on Solaris 10

Moises Castellanos m2o7i1 at gmail.com
Sun Dec 24 22:39:22 CET 2006


I try to install nagios on a Sun-Fire-V240 and I have installed the
Software Companion DVD.


I get this build error during compilation of check_ldap
on Solaris 10

gcc -g -O2 -o check_ups check_ups.o netutils.o utils.o
-L/usr/src/nagios-source/nagios-plugins-1.4.5/plugins
../lib/libnagiosplug.a ../lib/libcoreutils.a -lnsl -lresolv -lsocket
-lssl -lcrypto
if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H
-I. -I. -I.. -I.. -I../lib -I../intl -I/usr/include/ldap      -g -O2
-MT check_users.o -MD -MP -MF ".deps/check_users.Tpo" -c -o
check_users.o check_users.c; \
then mv -f ".deps/check_users.Tpo" ".deps/check_users.Po"; else rm -f
".deps/check_users.Tpo"; exit 1; fi
In file included from check_users.c:42:
common.h:216: warning: static declaration of 'floorf' follows
non-static declaration
/bin/bash ../libtool --tag=CC --mode=link gcc  -g -O2  -L. -o
check_users  check_users.o utils.o ../lib/libnagiosplug.a
../lib/libcoreutils.a popen.o -lsocket  -lssl -lcrypto
gcc -g -O2 -o check_users check_users.o utils.o popen.o
-L/usr/src/nagios-source/nagios-plugins-1.4.5/plugins
../lib/libnagiosplug.a ../lib/libcoreutils.a -lsocket -lssl -lcrypto
if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H
-I. -I. -I.. -I.. -I../lib -I../intl -I/usr/include/ldap      -g -O2
-MT negate.o -MD -MP -MF ".deps/negate.Tpo" -c -o negate.o negate.c; \
then mv -f ".deps/negate.Tpo" ".deps/negate.Po"; else rm -f
".deps/negate.Tpo"; exit 1; fi
In file included from negate.c:78:
common.h:216: warning: static declaration of 'floorf' follows
non-static declaration
/bin/bash ../libtool --tag=CC --mode=link gcc  -g -O2  -L. -o negate
negate.o utils.o ../lib/libnagiosplug.a ../lib/libcoreutils.a popen.o
-lsocket  -lssl -lcrypto
gcc -g -O2 -o negate negate.o utils.o popen.o
-L/usr/src/nagios-source/nagios-plugins-1.4.5/plugins
../lib/libnagiosplug.a ../lib/libcoreutils.a -lsocket -lssl -lcrypto
if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H
-I. -I. -I.. -I.. -I../lib -I../intl -I/usr/include/ldap      -g -O2
-MT urlize.o -MD -MP -MF ".deps/urlize.Tpo" -c -o urlize.o urlize.c; \
then mv -f ".deps/urlize.Tpo" ".deps/urlize.Po"; else rm -f
".deps/urlize.Tpo"; exit 1; fi
In file included from urlize.c:44:
common.h:216: warning: static declaration of 'floorf' follows
non-static declaration
/bin/bash ../libtool --tag=CC --mode=link gcc  -g -O2  -L. -o urlize
urlize.o utils.o ../lib/libnagiosplug.a ../lib/libcoreutils.a popen.o
-lsocket  -lssl -lcrypto
gcc -g -O2 -o urlize urlize.o utils.o popen.o
-L/usr/src/nagios-source/nagios-plugins-1.4.5/plugins
../lib/libnagiosplug.a ../lib/libcoreutils.a -lsocket -lssl -lcrypto
if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H
-I. -I. -I.. -I.. -I../lib -I../intl -I/usr/include/ldap      -g -O2
-MT check_ldap.o -MD -MP -MF ".deps/check_ldap.Tpo" -c -o check_ldap.o
check_ldap.c; \
then mv -f ".deps/check_ldap.Tpo" ".deps/check_ldap.Po"; else rm -f
".deps/check_ldap.Tpo"; exit 1; fi
In file included from check_ldap.c:40:
common.h:216: warning: static declaration of 'floorf' follows
non-static declaration
/bin/bash ../libtool --tag=CC --mode=link gcc  -g -O2  -L. -o
check_ldap  check_ldap.o netutils.o utils.o ../lib/libnagiosplug.a
../lib/libcoreutils.a  -lnsl -lsocket -lresolv -lldap -llber -lsocket
-lssl -lcrypto
libtool: link: cannot find the library
`/export/builds/s10-release/s10_ccd_03/usr/src/cmd/openldap/openldap-2.2.17/libraries/liblber/liblber.la'
or unhandled argument
`/export/builds/s10-release/s10_ccd_03/usr/src/cmd/openldap/openldap-2.2.17/libraries/liblber/liblber.la'
gmake[2]: *** [check_ldap] Error 1
gmake[2]: Leaving directory
`/usr/share/src/nagios-source/nagios-plugins-1.4.5/plugins'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/share/src/nagios-source/nagios-plugins-1.4.5'
gmake: *** [all] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20061224/ddf1e214/attachment.html>


More information about the Help mailing list