This is the error in make.

sessions.c:2598:10: warning: passing argument 1 of 
'ndpi_guess_undetected_protocol' makes integer from pointer without a cast 
[enabled by default]
In file included from ./nDPI/src/include/ndpi_api.h:46:0,
                 from ntop.h:499,
                 from sessions.c:25:
./nDPI/src/include/ndpi_public_functions.h:231:16: note: expected 'u_int8_t' 
but argument is of type 'struct ndpi_detection_module_struct *'
sessions.c:2598:10: error: too many arguments to function 
'ndpi_guess_undetected_protocol'
In file included from ./nDPI/src/include/ndpi_api.h:46:0,
                 from ntop.h:499,
                 from sessions.c:25:
./nDPI/src/include/ndpi_public_functions.h:231:16: note: declared here
sessions.c: In function 'getProtoName':
sessions.c:2790:7: warning: implicit declaration of function 
'ndpi_get_proto_name' [-Wimplicit-function-declaration]
sessions.c:2790:7: warning: nested extern declaration of 'ndpi_get_proto_name' 
[-Wnested-externs]
sessions.c:2790:7: warning: return makes pointer from integer without a cast 
[enabled by default]
sessions.c:2795:7: warning: return makes pointer from integer without a cast 
[enabled by default]
make[2]: *** [sessions.lo] Error 1
make[2]: Leaving directory `/home/sbrenner/source/ntop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sbrenner/source/ntop'
make: *** [all] Error 2
[sbrenner@rizzoli ntop]$ svn up          
Updating '.':
At revision 5854.

Any ideas?

Thanks, Scott

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

Reply via email to