plugin for AIX6

Thomas Guyot-Sionnest dermoth at aei.ca
Mon Sep 28 12:52:30 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 28/09/09 06:35 AM, nadia kheffache wrote:
> Thank you for your answer Thomas,
> 
> this is my error after "make"
> 
> gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl   -I/usr/include    -DNP_VERSION='"1.4.14"' -g -O2 -MT check_ntp.o -MD -MP -MF .deps/check_ntp.Tpo -c -o check_ntp.o check_ntp.c
> 
>         mv -f .deps/check_ntp.Tpo .deps/check_ntp.Po
> 
>         /bin/sh ../libtool --tag=CC    --mode=link gcc -DNP_VERSION='"1.4.14"' -g -O2   -L. -o check_ntp check_ntp.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a  -lnsl  -lpthread -ldl
> 
> gcc -DNP_VERSION=\"1.4.14\" -g -O2 -o check_ntp check_ntp.o netutils.o utils.o  -L/admin_dsi/NAGIOS/nagios-plugins-1.4.14/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lpthread -ldl
> 
> ld: 0711-317 ERROR: Undefined symbol: .pow
> 
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
> 
> collect2: ld returned 8 exit status
> 
> make: 1254-004 The error code from the last command is 1.
> 
> Stop.
> 
> make: 1254-004 The error code from the last command is 1.
> 
>  
> Stop.
> 
> make: 1254-004 The error code from the last command is 2.
> 
> 
> Nagios plugin version: 1.4.12
That doesn't make sense... is says -DNP_VERSION='"1.4.14"' in the error
which means 1.4.14, not 1.4.12.

Could you please try with a fresh extract of 1.4.14 and, if that doesn't
work, 1.4.13?

You could also try adding:
LDFLAGS=" -lm "
to your ./configure command, though I'm not sure if it will help.

Other than I have no idea why it would fail... According to the message
the error would be more descriptive if you add -bloadmap or -bnoquiet,
so you may try them in the LDFLAGS as well and post the result.

Thanks

- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKwJVu6dZ+Kt5BchYRAieXAJ0VErMoogrt/boECSzsqqLzJLj95gCgrsGL
b3fEae6dXjT7wMw2IQ4nfIA=
=0xy8
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list