[Nagiosplug-devel] AIx 5.2 and nagios-plugins
Trevor Warren
trevorwarren at gmail.com
Wed Nov 10 19:15:00 CET 2004
Hiyee there Eric,
Thanks for taking the time to read this email. I had some issues
with compilation of the Nagios plugins on AIX 5.2. I am using GCC and
these are the errors i have encountered on all my AIX 5.2 32/64 bit
boxes.
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.
Your email written sometime ago talks about a patch you had written.
Is it for this same issue Eric. If you don't mind can you pls point me
to that patch......i am in a production env here at bombay with quite
a few AIX 5.2 32/64 bit boxes to maintain. Please lemme know how i can
pull out of this situation.
######################
#Eric wrote a long time ago.....
######################
http://sourceforge.net/mailarchive/forum.php?thread_id=4854545&forum_id=8499
From: Eric Lauriault <elauri at la...>
aix 5.2 patch for nagios-plugins-1.4.0alpha1
2004-05-27 13:03
Hi,
Here"s a small patch I wrote for aix 5.2. It fixes compilation issues
due to misplacement of a VA_COPY and an infinite loop while in
read_filesystem_list.
Enjoy!
Eric Lauriault, eric at la...
Analyste/Administrateur UNIX/telecom/reseau
La Cite collegiale
######################
#Eric wrote a long time ago.....
######################
Thanks in advance and pls revert back Eric.
Trevor
--
___________________________________
( >- / Scaling FreeSoftware & OpenSource \ -< )
/~\ / In the Enterprise \ /~\
| \) \ | www.fsf.org | www.opensource.org | / (/ |
|_|_ \____________________________________/ _|_|
More information about the Devel
mailing list