The issue has been found. A small fix has been done, but we still have to test it. It should be released soon. Yuri
On 07/14/2008 10:05 PM, Brock Kuhse wrote: > I came across a similar post from Piero Giobbi dated July 1st while > researching my own version of the same problem, but for some reason I missed > the post in my mailbox (or I'd reply to it to keep the threads together). > > Anyway, I'm trying to build under Fedora 9 (with perl 5.10). Autogen runs > file, but make dies with the output below. Does anyone have any thoughts, > ideas, or suggestions? Is there any additional information I can provide > (library versions, full output, etc)? This problem occurs with SVN revision > 3572. > > ========================================== > ./autogen.sh > make > <snip> > 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:1753: warning: no previous prototype for > '_wrap_ntop_perl_send_html_footer' > perl/ntop_wrap.c:1770: warning: no previous prototype for > '_wrap_ntop_perl_loadHost' > perl/ntop_wrap.c:1787: warning: no previous prototype for > '_wrap_ntop_perl_getFirstHost' > perl/ntop_wrap.c:1814: warning: no previous prototype for > '_wrap_ntop_perl_getNextHost' > perl/ntop_wrap.c:1841: warning: no previous prototype for > '_wrap_ntop_perl_sendFile' > perl/ntop_wrap.c: In function '_wrap_ntop_perl_sendFile': > perl/ntop_wrap.c:1866: warning: nested extern declaration of > 'ntop_perl_sendFile' > perl/ntop_wrap.c: At top level: > perl/ntop_wrap.c:1879: warning: no previous prototype for > '_wrap_ntop_perl_findHostByNumIP' > perl/ntop_wrap.c:1931: warning: no previous prototype for > '_wrap_ntop_perl_findHostBySerial' > perl/ntop_wrap.c:1973: warning: no previous prototype for > '_wrap_ntop_perl_findHostByMAC' > perl.c:44: warning: declaration of 'my_perl' shadows a global declaration > perl.c:36: warning: shadowed declaration is here > perl.c:45: warning: declaration of 'my_perl' shadows a global declaration > perl.c:36: warning: shadowed declaration is here > perl.c:47: warning: declaration of 'my_perl' shadows a global declaration > perl.c:36: warning: shadowed declaration is here > perl.c:71: warning: no previous prototype for 'ntop_perl_sendFile' > perl.c:71: warning: conflicting types for 'ntop_perl_sendFile' > perl/ntop_wrap.c:1866: warning: previous implicit declaration of > 'ntop_perl_sendFile' was here > perl.c:77: warning: no previous prototype for 'ntop_perl_send_html_footer' > perl.c:86: warning: no previous prototype for 'ntop_perl_loadHost' > perl.c: In function 'handlePerlHTTPRequest': > perl.c:167: error: 'argc' undeclared (first use in this function) > perl.c:167: error: (Each undeclared identifier is reported only once > perl.c:167: error: for each function it appears in.) > perl.c:167: error: 'argv' undeclared (first use in this function) > perl.c:167: error: 'env' undeclared (first use in this function) > make[2]: *** [perl.lo] Error 1 > make[2]: Leaving directory `/home/brock/rpm/SOURCES/ntop' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/brock/rpm/SOURCES/ntop' > make: *** [all] Error 2 > ========================================== > > > - Brock > > > > _______________________________________________ > Ntop mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Yuri Francalacci E-Mail: [EMAIL PROTECTED] Internet: http://www.ntop.org/ *** Esse Quam Videri -- To Be, Rather Than To Seem *** -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
