[collectd] Trouble compiling collectd 4.10 on AIX 6.1 TL4

Héctor Rivas Gándara keymon at gmail.com
Mon Jun 21 11:32:48 CEST 2010


Hello,

I am trying to compile collectd on AIX, and I am having some trouble
with link process. Versions:
 * collectd 4.10
 * AIX 6100-04-01-0944
 * gcc-4.2.0-3 (from Linux ToolBox CD)

I used this configure line:
OBJECT_MODE=64 ./configure LDFLAGS=-Wl,-brtl CFLAGS=-maix64
--disable-dns --disable-nagios

And make fails with an undefined symbol error (see below). Any idea or clue?

Making all in libltdl
        make  all-am
Target "all-am" is up to date.
Making all in src
        make  all-recursive
Making all in libcollectdclient
        make  all-am
Target "all-am" is up to date.
Making all in liboconfig
        make  all-am
Target "all-am" is up to date.
        /bin/sh ../libtool --tag=CC    --mode=link
/cgx1/SoftwareRepository/source/collectd-4.10.0/compile gcc -Wall
-Werror -maix64   -Wl,-brtl -o collectd-nagios collectd-nagios.o  -lm
libcollectdclient/libcollectdclient.la
libtool: link: /cgx1/SoftwareRepository/source/collectd-4.10.0/compile
gcc -Wall -Werror -maix64 -Wl,-brtl -o .libs/collectd-nagios
collectd-nagios.o  -lm -Llibcollectdclient/.libs -lcollectdclient
-Wl,-blibpath:/usr/local/stow/collectd-4.10.0/lib:/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/ppc64:/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0:/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/../../..:/usr/lib:/lib
ld: 0711-317 ERROR: Undefined symbol: .lcc_connect
ld: 0711-317 ERROR: Undefined symbol: .lcc_string_to_identifier
ld: 0711-317 ERROR: Undefined symbol: .lcc_strerror
ld: 0711-317 ERROR: Undefined symbol: .lcc_disconnect
ld: 0711-317 ERROR: Undefined symbol: .lcc_getval
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.
make: 1254-004 The error code from the last command is 1.


Stop.


--
Atentamente
Héctor Rivas



More information about the collectd mailing list