Error Compiling nagios-plugins-1.3.1 on AIX 5.2
nuffers at tsainc.com
nuffers at tsainc.com
Tue Nov 2 17:05:29 CET 2004
Need some assistance with compiling on a pSeries 650 running AIX5.2 ML 4.
Using GCC
# gcc -v
Reading specs from
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/specs
Configured with: ../configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld
--disable-nls --enable-languages=c,c++ --prefix=/opt/freeware
--enable-threads --disable-shared --enable-version-specific-runtime-libs
--host=powerpc-ibm-aix5.2.0.0
Thread model: aix
gcc version 3.3.2
Configure appears to be fine
The problem occurs with the make all command.
# make all
.
. <skipped>
.
depfile='.deps/popen.Po' tmpdepfile='.deps/popen.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib
-I/usr/local/include -g -O2 -c `test -f 'popen.c' || echo './'`popen.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib
-I/usr/local/include -g -O2 -c ./snprintf.c -o snprintf.o
ar -r libsnprintf.a snprintf.o
gcc -g -O2 -L. -L/usr/local/lib -o check_disk check_disk.o utils.o
../lib/libnagiosplug.a popen.o -lsnprintf -lsnprintf
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 `/tmp/nagios-plugins-1.3.1/plugins'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/nagios-plugins-1.3.1/plugins'
make: *** [all-recursive] Error 1
Need some direction on how to resolve this problem.
----------------------------------------------------------------
Steve Nuffer
Transaction Systems Architects, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20041102/16d28753/attachment.html>
More information about the Developers
mailing list