Hi all.

Im trying to install ntop on fedora 9 but i keep failing. the autgen  
runs flawlessly and when try to 'make' i get this error:

  gcc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -D_REENTRANT - 
D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/ 
include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm  
-I/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE -I/usr/local/ 
rrdtool/include -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 -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.10.0/i386-linux-thread-multi/ 
CORE/perl.h:2382,
                  from perl/ntop_wrap.c:709,
                  from perl.c:34:
/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/handy.h:85:1:  
warning: "bool" redefined
In file included from ntop.h:490,
                  from perl.c:26:
globals-structtypes.h:104:1: warning: this is the location of the  
previous definition
In file included from perl.c:35:
perl/ntop_wrap.c: In function 'SWIG_Perl_ConvertPtr':
perl/ntop_wrap.c:1117: warning: declaration of '_svi' shadows a  
previous local
perl/ntop_wrap.c:1117: warning: shadowed declaration is here
perl/ntop_wrap.c:1117: warning: declaration of '_svi' shadows a  
previous local
perl/ntop_wrap.c:1117: warning: shadowed declaration is here
perl/ntop_wrap.c:1117: warning: declaration of '_svi' shadows a  
previous local
perl/ntop_wrap.c:1117: warning: shadowed declaration is here
perl/ntop_wrap.c:1117: warning: declaration of '_svi' shadows a  
previous local
perl/ntop_wrap.c:1117: warning: shadowed declaration is here
perl/ntop_wrap.c:1117: warning: declaration of '_svi' shadows a  
previous local
perl/ntop_wrap.c:1117: warning: shadowed declaration is here
perl/ntop_wrap.c:1135: warning: declaration of '_svi' shadows a  
previous local
perl/ntop_wrap.c:1135: warning: shadowed declaration is here
perl/ntop_wrap.c: In function 'SWIG_Perl_MakePtr':
perl/ntop_wrap.c:1159: warning: declaration of '_svi' shadows a  
previous local
perl/ntop_wrap.c:1159: warning: shadowed declaration is here
In file included from perl.c:35:
perl/ntop_wrap.c: At top level:
perl/ntop_wrap.c:1687: warning: no previous prototype for  
'_wrap_ntop_perl_sendString'
perl/ntop_wrap.c:1715: warning: no previous prototype for  
'_wrap_ntop_perl_send_http_header'
perl/ntop_wrap.c:1743: warning: no previous prototype for  
'_wrap_ntop_perl_send_html_footer'
perl/ntop_wrap.c:1760: warning: no previous prototype for  
'_wrap_ntop_perl_loadHost'
perl/ntop_wrap.c:1777: warning: no previous prototype for  
'_wrap_ntop_perl_getFirstHost'
perl/ntop_wrap.c:1804: warning: no previous prototype for  
'_wrap_ntop_perl_getNextHost'
perl/ntop_wrap.c:1831: warning: no previous prototype for  
'_wrap_ntop_perl_findHostByNumIP'
perl/ntop_wrap.c:1883: warning: no previous prototype for  
'_wrap_ntop_perl_findHostBySerial'
perl/ntop_wrap.c:1925: warning: no previous prototype for  
'_wrap_ntop_perl_findHostByMAC'
perl.c:64: warning: no previous prototype for  
'ntop_perl_send_html_footer'
perl.c:70: warning: no previous prototype for 'ntop_perl_loadHost'
perl.c: In function 'handlePerlHTTPRequest':
perl.c:143: error: 'argc' undeclared (first use in this function)
perl.c:143: error: (Each undeclared identifier is reported only once
perl.c:143: error: for each function it appears in.)
perl.c:143: error: 'argv' undeclared (first use in this function)
perl.c:143: error: 'env' undeclared (first use in this function)
make[2]: *** [perl.lo] Error 1
make[2]: Leaving directory `/root/ntop-3.3.7rc1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/ntop-3.3.7rc1'
make: *** [all] Error 2


Anyone knows how to fix this? I tried 3.3, 3.3.6 and 3.3.7rc1.

Regards

p


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

Reply via email to