Hi, these are the steps I am doing
$ svn co https://svn.ntop.org/svn/ntop/trunk/ntop/
$ wget https://github.com/ntop/nDPI/archive/1.8-stable.zip
$ unzip 1.8-stable.zip -d ntop/
$ cd ntop
$ mv nDPI-1.8-stable/ nDPI
$ cd nDPI
$ ./autogen.sh
$ cd ..
$ ./autogen.sh --prefix=/usr/local/bin/ntop
~~~~~~~~~~~~
make[2]: Leaving directory `/home/digger/ntop/nDPI/example'
make[2]: Entering directory `/home/digger/ntop/nDPI'
make[2]: Leaving directory `/home/digger/ntop/nDPI'
make[1]: Leaving directory `/home/digger/ntop/nDPI'
nDPI compiled succesfully
Now we're ready to compile ntop
$ make
~~~~~~~~~~~~~
sessions.c: In function 'handleTCPUDPSession':
sessions.c:2544:34: error: incompatible types when assigning to type 'u_int16_t' from type 'ndpi_protocol'
theSession->l7.major_proto = ndpi_detection_process_packet(myGlobals.device[actualDeviceId].l7.l7handler,
^
sessions.c:2568:7: error: 'NDPI_PROTOCOL_FTP' undeclared (first use in this function)
case NDPI_PROTOCOL_FTP:
^
sessions.c:2568:7: note: each undeclared identifier is reported only once for each function it appears in
sessions.c:2582:7: error: 'NDPI_PROTOCOL_TWITTER' undeclared (first use in this function)
case NDPI_PROTOCOL_TWITTER:
^
sessions.c:2590:32: error: incompatible types when assigning to type 'u_int16_t' from type 'ndpi_protocol'
theSession->l7.major_proto = ndpi_guess_undetected_protocol(myGlobals.device[actualDeviceId].l7.l7handler, proto,
^
make[2]: *** [sessions.lo] Error 1
make[2]: Leaving directory `/home/digger/ntop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/digger/ntop'
make: *** [all] Error 2
Any help is appreciated.
$ svn co https://svn.ntop.org/svn/ntop/trunk/ntop/
$ wget https://github.com/ntop/nDPI/archive/1.8-stable.zip
$ unzip 1.8-stable.zip -d ntop/
$ cd ntop
$ mv nDPI-1.8-stable/ nDPI
$ cd nDPI
$ ./autogen.sh
$ cd ..
$ ./autogen.sh --prefix=/usr/local/bin/ntop
~~~~~~~~~~~~
make[2]: Leaving directory `/home/digger/ntop/nDPI/example'
make[2]: Entering directory `/home/digger/ntop/nDPI'
make[2]: Leaving directory `/home/digger/ntop/nDPI'
make[1]: Leaving directory `/home/digger/ntop/nDPI'
nDPI compiled succesfully
Now we're ready to compile ntop
$ make
~~~~~~~~~~~~~
sessions.c: In function 'handleTCPUDPSession':
sessions.c:2544:34: error: incompatible types when assigning to type 'u_int16_t' from type 'ndpi_protocol'
theSession->l7.major_proto = ndpi_detection_process_packet(myGlobals.device[actualDeviceId].l7.l7handler,
^
sessions.c:2568:7: error: 'NDPI_PROTOCOL_FTP' undeclared (first use in this function)
case NDPI_PROTOCOL_FTP:
^
sessions.c:2568:7: note: each undeclared identifier is reported only once for each function it appears in
sessions.c:2582:7: error: 'NDPI_PROTOCOL_TWITTER' undeclared (first use in this function)
case NDPI_PROTOCOL_TWITTER:
^
sessions.c:2590:32: error: incompatible types when assigning to type 'u_int16_t' from type 'ndpi_protocol'
theSession->l7.major_proto = ndpi_guess_undetected_protocol(myGlobals.device[actualDeviceId].l7.l7handler, proto,
^
make[2]: *** [sessions.lo] Error 1
make[2]: Leaving directory `/home/digger/ntop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/digger/ntop'
make: *** [all] Error 2
Any help is appreciated.