offlist - Re: [Nagiosplug-help] Compile problem withNagios-Plugins 1.4.2 onAIX

Jacob Laack JLaack at alegent.org
Tue Feb 14 11:47:03 CET 2006


g-
This is what I get:

# LDFLAGS=-bloadmap 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

What does the "ld: 0711-317 ERROR: Undefined symbol: .floor" mean?  I'm assuming the linker doesn't understand that symbol.  Has anyone else been able to compile these plugins on AIX 5.1 or 4.3 even?

-Jake

>>> gh <gh at 3gupload.com> 2/14/2006 1:39:29 PM >>>
Try setting "LDFLAGS=-bloadmap make". 

Good luck,
-g

On Tue, 2006-02-14 at 13:21 -0600, Jacob Laack wrote:
> 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.
> 
-- 
// Garrett Honeycutt
// 3GUpload.com, Inc.
// Systems Engineer
//
// 317.472.4969







More information about the Help mailing list