[Nagiosplug-devel] nagios-plugins-1.4.11 make problem
Ben Chisholm
benny.chis at gmail.com
Thu Jan 24 13:14:35 CET 2008
Hi,
I've had issues compiling nagios-plugins-1.4.11 on Solaris 10 (sparc).
I have had a look around the web, and have seen a few post with the
same problem, but no working solutions!
Following are the results from configure, make, and the command itself
that has issues that is called within the make command.
Appreciate any suggestions or help!
Regards,
Ben
Configure seems to work ok:
./configure -q --with-openssl=/usr/sfw
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
configure: WARNING: Skipping radius plugin
configure: WARNING: install radius libs to compile this plugin (see
REQUIREMENTS).
configure: WARNING: Skipping check_ide_smart plugin.
configure: WARNING: check_ide_smart is linux specific. It requires
linux/hdreg.h and linux/types.h.
configure: WARNING: Skipping mysql plugin
configure: WARNING: install mysql client libs to compile this plugin
(see REQUIREMENTS).
configure: WARNING: Get lmstat from Globetrotter Software to monitor
flexlm licenses
configure: WARNING: Get smbclient from Samba.org to monitor SMB shares
configure: WARNING: Get snmpget from http://net-snmp.sourceforge.net
to make check_hpjd and check_snmp plugins
configure: WARNING: Tried /usr/bin/perl - install Net::SNMP perl
module if you want to use the perl snmp plugins
configure: WARNING: Get qstat from
http://www.activesw.com/people/steve/qstat.html in order to make
check_game plugin
configure: WARNING: Get fping from http://www.fping.com in order to
make check_fping plugin
configure: WARNING: Could not find qmail-qstat or eqivalent
config.status: creating po/POTFILES
config.status: creating po/Makefile
--with-apt-get-command:
--with-ping6-command:
--with-ping-command: /usr/sbin/ping -n -s %s 56 %d
--with-ipv6: yes
--with-mysql: no
--with-openssl: yes
--with-gnutls: no
--with-perl: /usr/bin/perl
--enable-perl-modules: no
--with-cgiurl: /nagios/cgi-bin
--with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin
=========================================
Make has an error:
make
make all-recursive
Making all in gl
make all-am
Making all in lib
Making all in tests
Making all in plugins
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -L.
-L/usr/sfw/lib -o check_http check_http.o sslutils.o netutils.o
utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lsocket -lresolv
-lssl -lcrypto -lnsl -lsocket
gcc -g -O2 -o check_http check_http.o sslutils.o netutils.o utils.o
-L/var/tmp/nagios/nagios-plugins-1.4.11/plugins -L/usr/sfw/lib
../lib/libnagiosplug.a ../gl/libgnu.a -lresolv -lssl -lcrypto -lnsl
-lsocket
Undefined first referenced
symbol in file
OpenSSL_add_all_algorithms sslutils.o
ld: fatal: Symbol referencing errors. No output written to check_http
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `check_http'
Current working directory /var/tmp/nagios/nagios-plugins-1.4.11/plugins
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
case $f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='gl lib plugins plugins-scripts plugins-root po'; for subdir in $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(cd $subdir && make $local_target) \
|| eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /var/tmp/nagios/nagios-plugins-1.4.11
*** Error code 1
make: Fatal error: Command failed for target `all'
=============================================
Going to the plugins dir and running the command that has the problem:
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -L.
-L/usr/sfw/lib -o check_http check_http.o sslutils.o netutils.o
utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lsocket -lresolv
-lssl -lcrypto -lnsl -lsocket
gcc -g -O2 -o check_http check_http.o sslutils.o netutils.o utils.o
-L/var/tmp/nagios/nagios-plugins-1.4.11/plugins -L/usr/sfw/lib
../lib/libnagiosplug.a ../gl/libgnu.a -lresolv -lssl -lcrypto -lnsl
-lsocket
Undefined first referenced
symbol in file
OpenSSL_add_all_algorithms sslutils.o
ld: fatal: Symbol referencing errors. No output written to check_http
collect2: ld returned 1 exit status
More information about the Devel
mailing list