[rrd-users] RE : Problems trying to compile rrdtool 1.2.1 on AIX 5.2

FIGARO Nicolas nfigaro at effigie.fr
Wed May 4 17:01:54 MEST 2005


The compilation works with the --disable-pthread option 
(configure --disable-pthread). 

Nicolas Figaro 

-----Message d'origine-----
De : rrd-users-bounce at list.ee.ethz.ch [mailto:rrd-users-bounce at list.ee.ethz.ch] De la part de FIGARO Nicolas
Envoyé : mercredi 4 mai 2005 15:01
À : rrd-users at list.ee.ethz.ch
Objet : [rrd-users] Problems trying to compile rrdtool 1.2.1 on AIX 5.2 


Hi, 
I'd like to compile rrdtool 1.2.1 on AIX 5.2 using gcc (3.3.2). 
( to have butter-1.0.6 run with big brother 1.9e). 
The ld is the OS ld command (I tried with gnu ld and /usr/ccs/bin/ld without success).


I've got the following error : 
/bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2  -DPIC -Wall -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -W  -L/usr/local/lib -o
rrdtool   librrd.la -lfreetype -lpng -lz -lart_lgpl_2 -lcgi -lm
gcc -g -O2 -DPIC -Wall -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -W -o .libs/rrdtool  -L/usr/local/lib -L./.libs -lrrd -lfreetype -lpng -lz -lart_lgpl_2 -lcgi -lm -Wl,-blibpath:/usr/local/lib:/usr/local/lib:/usr/local/lib/gcc-lib/power
pc-ibm-aix5.2.0.0/3.3.2:/usr/local/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.
3.2/../../..:/usr/lib:/lib
ld: 0711-317 ERROR: Undefined symbol: .main
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
make: *** [rrdtool] Error 1

If anyone could help ... 

Thanks 

Nicolas Figaro 

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list