Nagios plugins won't compile on 1.4.0.alpha1 on AIX 5.2

Steven Hajducko Steven.Hajducko at DigitalInsight.com
Mon Nov 8 23:10:52 CET 2004


Can't seem to get the plugins to compile on AIX 5.2.

The following is the error:

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: .VA_COPY
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: ld returned 8 exit status
make[2]: *** [check_disk] Error 1
make[2]: Leaving directory
`/home/stha3155/nagios-plugins-1.4.0alpha1/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/stha3155/nagios-plugins-1.4.0alpha1'
make: *** [all] Error 2

During the configure, it states that __va_copy is found:

checking size of long... 4
checking for short... yes
checking size of short... 2
checking for long long... yes
checking for LL suffix on long long integers... yes
checking for __va_copy... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for asprintf... no
checking for vasprintf... no
checking for C99 vsnprintf... ye

So not sure why it's complaining.  HAVE_VA_COPY is defined as 1 in the
config.h.  Any help/suggestions would be appreciated.  make -i works but
then it doesn't compile any of the plugins, so what's the point? :)

--
sh


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