Sure! 2. How can I test? get everything via cvs?
A. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Luca Deri Sent: Tuesday, July 15, 2003 12:48 PM To: [EMAIL PROTECTED] Subject: Re: [Ntop] problems compiling ntop 2.2c with rrdtool 1.42 Ales, this means that: 1. RRD seems to work 2. pcap_open_dead detection does not work. I've just committed a fix. Can you please test it? Thanks, Luca Aleš Sušnik wrote: >Luca, > >i've tried also 2.2.3 and i get this at make time: > >/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. >-I/linuxadmin/ntop/ntop2.2.3/ntop-2.2.3/myrrd -I/usr/local/include >-I/usr/local/include -g -O2 -DLINUX -I/usr/local/include -Wshadow >-Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs >-fPIC -g -O2 -DLINUX -I/usr/local/include -Wshadow -Wpointer-arith >-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -c -o >ntop_darwin.lo `test -f 'ntop_darwin.c' || echo './'`ntop_darwin.c >rm -f .libs/ntop_darwin.lo >gcc -DHAVE_CONFIG_H -I. -I. -I. -I. >-I/linuxadmin/ntop/ntop2.2.3/ntop-2.2.3/myrrd -I/usr/local/include >-I/usr/local/include -g -O2 -DLINUX -I/usr/local/include -Wshadow >-Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs >-fPIC -g -O2 -DLINUX -I/usr/local/include -Wshadow -Wpointer-arith >-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -c >ntop_darwin.c -MT ntop_darwin.lo -MF .deps/ntop_darwin.TPlo -MD -MP -fPIC >-DPIC -o .libs/ntop_darwin.lo >mv -f .libs/ntop_darwin.lo ntop_darwin.o >(cd . && ln -s ntop_darwin.o ntop_darwin.lo) >/bin/sh ./libtool --mode=link gcc -g -O2 -DLINUX -I/usr/local/include >-Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations >-Wnested-externs -fPIC -g -O2 -DLINUX -I/usr/local/include -Wshadow >-Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs >-fPIC -L/usr/local/include -L/usr/local/include -o libntop.la -rpath >/usr/local/lib -L/usr/local/include -release 2.2.3 -export-dynamic >address.lo argv.lo dataFormat.lo getopt.lo getopt1.lo globals-core.lo >hash.lo initialize.lo leaks.lo netflow.lo ntop.lo pbuf.lo plugin.lo >protocols.lo sessions.lo term.lo util.lo traffic.lo vendor.lo version.lo >ntop_darwin.lo -lpthread -lresolv -lnsl -lz -lc -lssl -lcrypto -lgd -lpng >-lpcap -lgdbm -L/usr/local/lib -L/linuxadmin/ntop/ntop2.2.3/ntop-2.2.3/myrrd >-lmyrrd >rm -fr .libs/libntop.la .libs/libntop.* .libs/libntop-2.2.3.* >gcc -shared address.lo argv.lo dataFormat.lo getopt.lo getopt1.lo >globals-core.lo hash.lo initialize.lo leaks.lo netflow.lo ntop.lo pbuf.lo >plugin.lo protocols.lo sessions.lo term.lo util.lo traffic.lo vendor.lo >version.lo ntop_darwin.lo -L/usr/local/include -lpthread -lresolv -lnsl -lz >-lc -lssl -lcrypto -lgd -lpng -lpcap /usr/lib/libgdbm.so -L/usr/local/lib >-L/linuxadmin/ntop/ntop2.2.3/ntop-2.2.3/myrrd -lmyrrd -Wl,-soname >-Wl,libntop-2.2.3.so -o .libs/libntop-2.2.3.so >/usr/lib/gcc-lib/i386-slackware-linux/3.0.4/../../../libpcap.a(pcap.o): In >function `pcap_open_dead': >pcap.o(.text+0x188): multiple definition of `pcap_open_dead' >util.lo:/linuxadmin/ntop/ntop2.2.3/ntop-2.2.3/util.c:3703: first defined >here >/usr/lib/gcc-lib/i386-slackware-linux/3.0.4/../../../../i386-slackware-linu x >/bin/ld: Warning: size of symbol `pcap_open_dead' changed from 100 to 67 in >pcap.o >collect2: ld returned 1 exit status >make[2]: *** [libntop.la] Error 1 >make[2]: Leaving directory `/linuxadmin/ntop/ntop2.2.3/ntop-2.2.3' >make[1]: *** [all-recursive] Error 1 >make[1]: Leaving directory `/linuxadmin/ntop/ntop2.2.3/ntop-2.2.3' >make: *** [all] Error 2 > >A. > >-----Original Message----- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Luca >Deri >Sent: Tuesday, July 15, 2003 11:36 AM >To: [EMAIL PROTECTED] >Subject: Re: [Ntop] problems compiling ntop 2.2c with rrdtool 1.42 > > >Ales, >can you please give a try to ntop 2.2.x that's in CVS: it should work >with RRD. If not, please report me. > >Cheers, Luca > >Aleš Sušnik wrote: > > > >>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/rrdtoo l >> >> >- > > >>1.0.42/src/gdpng.c:18: first defined here >>/usr/lib/gcc-lib/i386-slackware-linux/3.0.4/../../../../i386-slackware-lin u >> >> >x > > >>/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-lin u >> >> >x > > >>/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-lin u >> >> >x > > >>/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-lin u >> >> >x > > >>/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 >> >> >> >> > > > > -- Luca Deri <[EMAIL PROTECTED]> http://luca.ntop.org/ Hacker: someone who loves to program and enjoys being clever about it - Richard Stallman _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
