Compiling Nagios-Plugins on AIX

Karl DeBisschop karl at debisschop.net
Fri Apr 23 01:27:16 CEST 2004


On Thu, 22 Apr 2004 16:03:28 +0200
"Schaffranneck, Sven (K-DOI-5/4)" <sven.schaffranneck at volkswagen.de>
wrote:

> 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?

Are you sure that the gettext development libraries are installed and
available?


-- 
Karl


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
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