On May 24, 2009, at 6:44 PM, Wiebel, Rolf wrote:

Hello,

I just downloaded and managed to compile ntop 3.3.10 REV 3772.
System is a SUSE 10.3 machine...

It seems to work but however, I got some warning messages

./autogen.sh

md5.c:324: warning: 'md5_read' defined but not used

DHAVE_GETHOSTBYNAME_R=1 -DGETHOSTBYNAME_R_RETURNS_INT=1 -I. -I../ libGeoIP -Wall -DSYSCONFDIR=\"/usr/local/etc\" -Wall -g -O2 -c geoiplookup6.c
geoiplookup6.c: In function 'geoiplookup':
geoiplookup6.c:120: warning: unused variable 'org'
geoiplookup6.c:119: warning: unused variable 'gir'
geoiplookup6.c:118: warning: unused variable 'region'
geoiplookup6.c:116: warning: unused variable 'netspeed'
geoiplookup6.c:115: warning: unused variable 'domain_name'

./make

This is a warning of geoip: ignore it

address.c:142: warning: assignment discards qualifiers from pointer target type

*** Warning: Linking the shared library libntop.la against the
*** static library /usr/lib/perl5/5.8.8/i586-linux-thread-multi/auto/ DynaLoader/DynaLoader.a is not portable!

gcc -DHAVE_CONFIG_H -I. -I. -I/downloads/my_ntop_goes_here/ntop/ lua-5.1.4/src -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS - DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement - D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.8/ i586-linux-thread-multi/CORE -DLINUX -I/usr/local/include -I/opt/ local/include -g -O2 -I/usr/local/include -I/opt/local/include - Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations - Wnested-externs -fPIC -DPIC -I/downloads/my_ntop_goes_here/ntop/ GeoIP-1.4.6/libGeoIP/ -MT perl.lo -MD -MP -MF .deps/perl.Tpo -c perl.c -fPIC -DPIC -o .libs/perl.o

In file included from /usr/lib/perl5/5.8.8/i586-linux-thread-multi/ CORE/perl.h:2120,
                 from perl/ntop_wrap.c:716,
                 from perl.c:32:
/usr/lib/perl5/5.8.8/i586-linux-thread-multi/CORE/handy.h:85:1: warning: "bool" redefined
In file included from ntop.h:506,
                 from perl.c:26:
globals-structtypes.h:104:1: warning: this is the location of the previous definition
In file included from perl.c:32:
perl/ntop_wrap.c:1698: warning: no previous prototype for '_wrap_ntop_perl_sendString' perl/ntop_wrap.c:1726: warning: no previous prototype for '_wrap_ntop_perl_send_http_header' perl/ntop_wrap.c:1764: warning: no previous prototype for '_wrap_ntop_perl_send_html_footer' perl/ntop_wrap.c:1781: warning: no previous prototype for '_wrap_ntop_perl_loadHost' perl/ntop_wrap.c:1798: warning: no previous prototype for '_wrap_ntop_perl_getFirstHost' perl/ntop_wrap.c:1825: warning: no previous prototype for '_wrap_ntop_perl_getNextHost' perl/ntop_wrap.c:1852: warning: no previous prototype for '_wrap_ntop_perl_sendFile' perl/ntop_wrap.c:1890: warning: no previous prototype for '_wrap_ntop_perl_findHostByNumIP' perl/ntop_wrap.c:1942: warning: no previous prototype for '_wrap_ntop_perl_findHostBySerial' perl/ntop_wrap.c:1984: warning: no previous prototype for '_wrap_ntop_perl_findHostByMAC' perl.c:74: warning: no previous prototype for 'ntop_perl_send_html_footer'
perl.c:99: warning: no previous prototype for 'ntop_perl_loadHost'
perl/ntop_wrap.c: In function 'boot_ntop':
perl/ntop_wrap.c:2348: warning: passing argument 2 of '_swig_create_magic' discards qualifiers from pointer target type


This is perl wrap, ignore it

./make install

libtool: install: warning: relinking `libntop.la'
libtool: install: warning: relinking `libntopreport.la'
libtool: install: warning: relinking `libicmpPlugin.la'
libtool: install: warning: relinking `liblastSeenPlugin.la'

This is something I need to look at

Luca


Best regards/Mit freundlichen Grüßen
Rolf

_______________________________________________
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