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

Trevor Warren trevorwarren at gmail.com
Wed Nov 10 03:10:11 CET 2004


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 |         /  (/ |
|_|_   \____________________________________/  _|_|




More information about the Devel mailing list