Is it possible I'm having some issues with libgd.a, tho i dunno what kind
of? 
The only libgd.a that I have is the one in the gd-1.8.3 dir, temp. rename
the one in /usr/local/lib dir.

Ales

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aleš
Sušnik
Sent: Monday, July 14, 2003 10:33 PM
To: [EMAIL PROTECTED]
Subject: [Ntop] problems compiling ntop 2.2c with rrdtool 1.42


I'm trying to compile ntop 2.2c with rrdtool 1.42 and at compile time i get
the error (bellow).

Using this configure:

./configure --with-rrd-root=/usr/local/rrdtool-1.0.42
--with-libpng-root=../gdchart
0.94c/gd-1.8.3/libpng-1.2.4  --with-gdchart-root=../gdchart0.94c
--with-zlib-root=../gdchart0.94c/zlib
-1.1.4 --with-gd-root=../gdchart0.94c/gd-1.8.3 --enable-shared

I otherwise already have a running ntop 2.2c, without rrdtools, so otherwise
it compiles ok...

Running slackware 8.1.

Any ideas anyone? I'm out of them... 

Thank you in advance,
Ales



<= cut here =>

/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I.
-I/linuxadmin/ntop/ntop-2.2c/ntop/gdchart0.94c/zlib-1.1.4 -I../gdchart0.94c
-I../gdchart0.94c/gd-1.8.3 -I../gdchart0.94c/gd-1.8.3/libpng-1.2.4
-I/usr/local/rrdtool-1.0.42/include    -DLINUX -g -O2 -Wshadow
-Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fPIC -DLINUX -g -O2 -Wshadow -Wpointer-arith -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs  -fPIC -c -o xmldump.lo `test -f
'xmldump.c' || echo './'`xmldump.c
rm -f .libs/xmldump.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I.
-I/linuxadmin/ntop/ntop-2.2c/ntop/gdchart0.94c/zlib-1.1.4 -I../gdchart0.94c
-I../gdchart0.94c/gd-1.8.3 -I../gdchart0.94c/gd-1.8.3/libpng-1.2.4
-I/usr/local/rrdtool-1.0.42/include -DLINUX -g -O2 -Wshadow -Wpointer-arith
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -DLINUX
-g -O2 -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -fPIC -c xmldump.c -MT xmldump.lo -MF .deps/xmldump.TPlo
-MD -MP  -fPIC -DPIC -o .libs/xmldump.lo
xmldump.c:1863: warning: no previous prototype for `dumpXML'
mv -f .libs/xmldump.lo xmldump.o
(cd . && ln -s xmldump.o xmldump.lo)
/bin/sh ./libtool --mode=link gcc -DLINUX -g -O2 -Wshadow -Wpointer-arith
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs  -fPIC -DLINUX
-g -O2 -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs  -fPIC   -o libntopreport.la -rpath /usr/local/lib
-release 2.2c -export-dynamic  emitter.lo globals-report.lo graph.lo http.lo
report.lo reportUtils.lo webInterface.lo xmldump.lo  -lpthread -lresolv
-lnsl -lm -lssl -lcrypto -lpcap -lgdbm -ldl -lcrypt -lc
-L/linuxadmin/ntop/ntop-2.2c/ntop/gdchart0.94c/zlib-1.1.4 -lz
-L../gdchart0.94c -lgdchart -L../gdchart0.94c/gd-1.8.3 -lgd
-L../gdchart0.94c/gd-1.8.3/libpng-1.2.4 -lpng
-L/usr/local/rrdtool-1.0.42/lib -lrrd 
rm -fr .libs/libntopreport.la .libs/libntopreport.*
.libs/libntopreport-2.2c.*
gcc -shared  emitter.lo globals-report.lo graph.lo http.lo report.lo
reportUtils.lo webInterface.lo xmldump.lo -Wl,--whole-archive
/usr/local/rrdtool-1.0.42/lib/librrd.a -Wl,--no-whole-archive  -lpthread
-lresolv -lnsl -lm -lssl -lcrypto -lpcap /usr/lib/libgdbm.so -ldl -lcrypt
-lc -L/linuxadmin/ntop/ntop-2.2c/ntop/gdchart0.94c/zlib-1.1.4 -lz
-L/linuxadmin/ntop/ntop-2.2c/ntop/gdchart0.94c -lgdchart
-L/linuxadmin/ntop/ntop-2.2c/ntop/gdchart0.94c/gd-1.8.3 -lgd
-L/linuxadmin/ntop/ntop-2.2c/ntop/gdchart0.94c/gd-1.8.3/libpng-1.2.4 -lpng
-L/usr/local/rrdtool-1.0.42/lib /usr/local/rrdtool-1.0.42/lib/librrd.a
-Wl,-soname -Wl,libntopreport-2.2c.so -o .libs/libntopreport-2.2c.so
/linuxadmin/ntop/ntop-2.2c/ntop/gdchart0.94c/gd-1.8.3/libgd.a(gd_png.o): In
function `gdImagePng':
gd_png.o(.text+0x8c8): multiple definition of `gdImagePng'
/usr/local/rrdtool-1.0.42/lib/librrd.a(gdpng.o):/linuxadmin/rrdtool/rrdtool-
1.0.42/src/gdpng.c:18: first defined here
/usr/lib/gcc-lib/i386-slackware-linux/3.0.4/../../../../i386-slackware-linux
/bin/ld: Warning: size of symbol `gdImagePng' changed from 419 to 55 in
gd_png.o
/linuxadmin/ntop/ntop-2.2c/ntop/gdchart0.94c/gd-1.8.3/libgd.a(gd_io.o): In
function `gdPutWord':
gd_io.o(.text+0x5c): multiple definition of `gdPutWord'
/usr/local/rrdtool-1.0.42/lib/librrd.a(gd.o):/linuxadmin/rrdtool/rrdtool-1.0
.42/gd1.3/gd.c:1737: first defined here
/usr/lib/gcc-lib/i386-slackware-linux/3.0.4/../../../../i386-slackware-linux
/bin/ld: Warning: size of symbol `gdPutWord' changed from 58 to 40 in
gd_io.o
/linuxadmin/ntop/ntop-2.2c/ntop/gdchart0.94c/gd-1.8.3/libgd.a(gd_io.o): In
function `gdGetByte':
gd_io.o(.text+0xe0): multiple definition of `gdGetByte'
/usr/local/rrdtool-1.0.42/lib/librrd.a(gd.o):/linuxadmin/rrdtool/rrdtool-1.0
.42/gd1.3/gd.c:1743: first defined here
/usr/lib/gcc-lib/i386-slackware-linux/3.0.4/../../../../i386-slackware-linux
/bin/ld: Warning: size of symbol `gdGetByte' changed from 60 to 39 in
gd_io.o
/linuxadmin/ntop/ntop-2.2c/ntop/gdchart0.94c/gd-1.8.3/libgd.a(gd_io.o): In
function `gdGetWord':
gd_io.o(.text+0x108): multiple definition of `gdGetWord'
/usr/local/rrdtool-1.0.42/lib/librrd.a(gd.o):/linuxadmin/rrdtool/rrdtool-1.0
.42/gd1.3/gd.c:1721: first defined here
/usr/lib/gcc-lib/i386-slackware-linux/3.0.4/../../../../i386-slackware-linux
/bin/ld: Warning: size of symbol `gdGetWord' changed from 88 to 66 in
gd_io.o
collect2: ld returned 1 exit status
make[2]: *** [libntopreport.la] Error 1
make[2]: Leaving directory `/linuxadmin/ntop/ntop-2.2c/ntop/ntop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/linuxadmin/ntop/ntop-2.2c/ntop/ntop'
make: *** [all] Error 2
[EMAIL PROTECTED]:/linuxadmin/ntop/ntop-2.2c/ntop/ntop# 

<= cut here =>


_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop


_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to