[Nagiosplug-devel] aix 5.2 compilation of nagios-plugin fails

Voon, Ton Ton.Voon at egg.com
Wed Nov 10 06:42:01 CET 2004


Trevor,

Have you tried CVS HEAD? I did some work about 10 months ago on getting AIX
5.1 compiles working correctly.

Ton

-----Original Message-----
From: Trevor Warren [mailto:trevorwarren at gmail.com] 
Sent: 10 November 2004 11:10
To: nagiosplug-devel at lists.sourceforge.net
Subject: [Nagiosplug-devel] aix 5.2 compilation of nagios-plugin fails


Hello there folks,

   I have been integrating Nagios for about 2-3 years now and really find it
a fantastic tool from Open Source when compared to the likes of BMC patrol
and Tivoli.
  
  I am trying to compile some nagios plugins on my AIX 5.2 servers which i
am polling via nrpe. But the compilation seems to fail with the following
errors:

Making all in plugins
        source='check_disk.c' object='check_disk.o' libtool=no 
depfile='.deps/check_disk.Po' tmpdepfile='.deps/check_disk.TPo' 
depmode=gcc
/bin/sh ../depcomp  gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\"
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl       -g -O2
-maix32  -c `test -f 'check_disk.c' || echo './'`check_disk.c
        source='utils.c' object='utils.o' libtool=no 
depfile='.deps/utils.Po' tmpdepfile='.deps/utils.TPo'  depmode=gcc /bin/sh
../depcomp gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\"
-DHAVE_CONFIG_H -I.
-I. -I.. -I.. -I../lib -I../intl       -g -O2 -maix32  -c `test -f
'utils.c' || echo './'`utils.c
        source='popen.c' object='popen.o' libtool=no 
depfile='.deps/popen.Po' tmpdepfile='.deps/popen.TPo'  depmode=gcc /bin/sh
../depcomp gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\"
-DHAVE_CONFIG_H -I.
-I. -I.. -I.. -I../lib -I../intl       -g -O2 -maix32  -c `test -f
'popen.c' || echo './'`popen.c
        gcc  -g -O2 -maix32   -L. -o check_disk  check_disk.o utils.o
../lib/libnagiosplug.a popen.o ../intl/libintl.a -liconv
ld: 0711-317 ERROR: Undefined symbol: ..libintl_bindtextdomain
ld: 0711-317 ERROR: Undefined symbol: ..libintl_textdomain
ld: 0711-317 ERROR: Undefined symbol: ..libintl_gettext
ld: 0711-317 ERROR: Undefined symbol: .VA_COPY
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.


  I have looked about a lot and even found someone called eric who might
have had the same  issues. He says in his mail that he has written a patch.
Guys/Gals, is there a way i can get over this issue???.  I have tried all
version of nagios-plugin but all of them fail to compile both on my 32/64
bit aix 5.2 boxes.

  Do lemme know what you suggest and i shall try the same out.

Trevor
-- 
         ___________________________________    
( >-   /  Scaling FreeSoftware & OpenSource        \   -< ) 
/~\   /           In the Enterprise                               \   /~\ 
|  \) \      | www.fsf.org | www.opensource.org |         /  (/ |
|_|_   \____________________________________/  _|_|


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's
Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Nagiosplug-devel mailing list Nagiosplug-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null

-----------------------------------------
This private and confidential e-mail has been sent to you by Egg.  The Egg
group of companies includes Egg Banking plc registered no. 2999842), Egg
Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd
(registered no. 3403963) which is authorised and regulated by the Financial
Services Authority. Egg Investments Ltd. is entered in the FSA register
under number 190518.     Registered in England and Wales. Registered
offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA.    If you
are not the intended recipient of this e-mail and have received it in
error, please notify the sender by replying with 'received in error' as the
subject and then delete it from your mailbox.





More information about the Devel mailing list