[Nagiosplug-help] Compile problem with Nagios-Plugins 1.4.2 onAIX
Jacob Laack
JLaack at alegent.org
Tue Feb 14 11:23:02 CET 2006
The system is running AIX 5.1. I installed GNU make and ran the LDFLAGS command listed and I got pretty much the same thing:
# LDFLAGS=-bnoquiet make
make all-recursive
make[1]: Entering directory `/usr/local/nagios-plugins-1.4.2'
Making all in intl
make[2]: Entering directory `/usr/local/nagios-plugins-1.4.2/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/nagios-plugins-1.4.2/intl'
Making all in lib
make[2]: Entering directory `/usr/local/nagios-plugins-1.4.2/lib'
make all-am
make[3]: Entering directory `/usr/local/nagios-plugins-1.4.2/lib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/usr/local/nagios-plugins-1.4.2/lib'
make[2]: Leaving directory `/usr/local/nagios-plugins-1.4.2/lib'
Making all in plugins
make[2]: Entering directory `/usr/local/nagios-plugins-1.4.2/plugins'
gcc -g -O2 -L. -o check_swap check_swap.o utils.o ../lib/libnagiosplug.a ../lib/libcoreutils.a popen.o ../intl/libintl.a -liconv
ld: 0711-317 ERROR: Undefined symbol: .floor
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
make[2]: *** [check_swap] Error 1
make[2]: Leaving directory `/usr/local/nagios-plugins-1.4.2/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/nagios-plugins-1.4.2'
make: *** [all] Error 2
Like I said, I don't have to do anything other than configure, make to get the 1.4 plugins to compile correctly.
-Jake
>>> Andreas Ericsson <ae at op5.se> 2/14/2006 12:44:08 PM >>>
Jacob Laack wrote:
> All-
> I am starting the process to upgrade all my clients with the 1.4.2 version of the Nagios Plugins from 1.4. I'm trying to compile the plugins on a machine running AIX 5.1 and get this:
>
> Making all in plugins
> gcc -g -O2 -L. -o check_swap check_swap.o utils.o ../lib/libnagiosplug.a ../lib/libcoreutils.a popen.o ../intl/libintl.a -liconv
> ld: 0711-317 ERROR: Undefined symbol: .floor
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
Here's a hint for you. You should try doing
$ LDFLAGS=-bnoquiet make
just as it says.
> collect2: ld returned 8 exit status
> make: 1254-004 The error code from the last command is 1.
>
Is this AIX? HP-UX? Perhaps you'll have better luck with GNU make,
either way.
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Help
mailing list