ntop / ntopng

Web-based Traffic and Security Network Traffic Monitoring
http://www.ntop.org
GNU General Public License v3.0
6.32k stars 658 forks source link

fails to build: src/Flow.cpp:266:42: error: ‘struct ndpi_flow_struct’ has no member named ‘bittorent_hash’ #451

Closed grinapo closed 8 years ago

grinapo commented 8 years ago

Tried to compile on Debian/sid (to resolve the redis lib clashing) and got this: src/Flow.cpp: In member function ‘void Flow::processDetectedProtocol()’: src/Flow.cpp:266:42: error: ‘struct ndpi_flow_struct’ has no member named ‘bittorent_hash’ setBittorrentHash((char*)ndpiFlow->bittorent_hash); ^ Makefile:129: recipe for target 'src/Flow.o' failed

(both ntopng and nDPI is pulled up to the branch 'dev')

grinapo commented 8 years ago

Also ntop_includes.h seem to missing 'ndpi_api.h' (educated guess), making other parts of the compile to fail.

lucaderi commented 8 years ago

You need to update nDPI and it will work

grinapo commented 8 years ago

Both were pulled before compilaton... but I'll try again...