Compiling Nagios-Plugins on AIX

Schaffranneck, Sven (K-DOI-5/4) sven.schaffranneck at volkswagen.de
Thu Apr 22 16:03:28 CEST 2004


Hello,

i've got big problems compiling nagios-plugins-1.4.0alpha1 under AIX 5.2.
after the ./configure it makes "all in intl" correct and "all and lib"
without errors, too. but when it makes "all in plugins" there is following
error:

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 -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 -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 -c `test
-f 'popen.c' || echo './'`popen.c
        gcc  -g -O2  -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-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.


Stop.
bash-2.05b#


If i try to compile the plugins manually with, there is the same problem
with every plugin: 
bash-2.05b# cd plugins
bash-2.05b# make check_time
        source='check_time.c' object='check_time.o' libtool=no
depfile='.deps/check_time.Po' tmpdepfile='.deps/check_time.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 -c `test
-f 'check_time.c' || echo './'`check_time.c
        source='netutils.c' object='netutils.o' libtool=no
depfile='.deps/netutils.Po' tmpdepfile='.deps/netutils.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 -c `test
-f 'netutils.c' || echo './'`netutils.c
        gcc  -g -O2  -L. -o check_time  check_time.o netutils.o utils.o
../lib/libnagiosplug.a  -lnsl ../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-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.

Any hints?

Mit freundlichen Grüssen,
Sven Schaffranneck
K-DOI-5/4

Volkswagen AG
Brieffach 1883
38436 Wolfsburg

Telefon: +49 (5361) 9-3 88 58
http://www.volkswagen.de 
> 


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
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