[Nagiosplug-help] Compile problem with Nagios-Plugins 1.4.2 on AIX

Andreas Ericsson ae at op5.se
Tue Feb 14 10:45:06 CET 2006


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




More information about the Help mailing list