[Nagios-devel] Error Compiling nagios-plugins-1.3.1 on AIX 5.2

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] Error Compiling nagios-plugins-1.3.1 on AIX 5.2

Post by Guest »

This is a multipart message in MIME format.
--=_alternative 0058649E86256F40_=
Content-Type: text/plain; charset="US-ASCII"

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

--=_alternative 0058649E86256F40_=
Content-Type: text/html; charset="US-ASCII"


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
<font size=2 face="san

...[email truncated]...


This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked