{"action":"created","issue":{"url":"https://api.github.com/repos/ntop/ntopng/issues/540","repository_url":"https://api.github.com/repos/ntop/ntopng","labels_url":"https://api.github.com/repos/ntop/ntopng/issues/540/labels{/name}","comments_url":"https://api.github.com/repos/ntop/ntopng/issues/540/comments","events_url":"https://api.github.com/repos/ntop/ntopng/issues/540/events","html_url":"https://github.com/ntop/ntopng/issues/540","id":151310736,"number":540,"title":"Flow.cpp:1984: undefined reference to `ndpi_strnstr`","user":{"login":"jean-christophe-manciot","id":13176858,"avatar_url":"https://avatars.githubusercontent.com/u/13176858?v=3","gravatar_id":"","url":"https://api.github.com/users/jean-christophe-manciot","html_url":"https://github.com/jean-christophe-manciot","followers_url":"https://api.github.com/users/jean-christophe-manciot/followers","following_url":"https://api.github.com/users/jean-christophe-manciot/following{/other_user}","gists_url":"https://api.github.com/users/jean-christophe-manciot/gists{/gist_id}","starred_url":"https://api.github.com/users/jean-christophe-manciot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jean-christophe-manciot/subscriptions","organizations_url":"https://api.github.com/users/jean-christophe-manciot/orgs","repos_url":"https://api.github.com/users/jean-christophe-manciot/repos","events_url":"https://api.github.com/users/jean-christophe-manciot/events{/privacy}","received_events_url":"https://api.github.com/users/jean-christophe-manciot/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-27T06:41:39Z","updated_at":"2016-04-28T15:36:01Z","closed_at":"2016-04-27T09:37:42Z","body":"Ubuntu 16.04 4.4.0\r\ngit commit 4cd701feb5c384f268497eab434913b48645f5b3 with already built ndpi git commit 1b9aa2ab712dd9092040723e7d9edb2001209724\r\n```\r\ng++  src/HostHash.o  src/MySQLDB.o  src/CollectorInterface.o  src/nDPIStats.o  src/StatsManager.o  src/NtopGlobals.o  src/Geolocation.o  src/FlowHash.o  src/DummyInterface.o  src/PF_RINGInterface.o  src/PeriodicActivities.o  src/Profile.o  src/TrafficStats.o  src/LocalTrafficStats.o  src/PacketDumper.o  src/RuntimePrefs.o  src/GenericHash.o  src/Profiles.o  src/IpAddress.o  src/Grouper.o  src/Host.o  src/Mutex.o  src/GrouperEntry.o  src/Prefs.o  src/NetworkInterfaceView.o  src/NetworkStats.o  src/Redis.o  src/CategoryStats.o  src/Flashstart.o  src/main.o  src/DnsStats.o  src/HTTPstats.o  src/GenericHashEntry.o  src/PacketStats.o  src/PcapInterface.o  src/Utils.o  src/ElasticSearch.o  src/AlertCounter.o  src/HTTPBL.o  src/Trace.o  src/ActivityStats.o  src/EthStats.o  src/AddressResolution.o  src/ZCCollectorInterface.o  src/VirtualHost.o  src/GenericHost.o  src/HTTPserver.o  src/Flow.o  src/NetworkInterface.o  src/AddressTree.o  src/ProtoStats.o  src/PacketDumperTuntap.o  src/VirtualHostHash.o  src/Lua.o  src/DivertInterface.o  src/ExportInterface.o  src/DB.o  src/ParserInterface.o  src/Ntop.o  -Wall -L/usr/local/lib -lndpi -lpcap /home/actionmystique/Program-Files/Ubuntu/Ntop/ntopng/third-party/LuaJIT-2.0.3/src/libluajit.a -lrrd /home/actionmystique/Program-Files/Ubuntu/Ntop/ntopng/third-party/zeromq-4.1.3/.libs/libzmq.a -ljson-c -lhiredis -lhiredis -lsqlite3 -L/usr/lib/x86_64-linux-gnu -lmariadb  -lGeoIP  -L/usr/local/lib -lrt -lz -ldl -lcurl  -lm -lpthread -o ntopng\r\nsrc/Flow.o: In function `Flow::dissectBittorrent(char*, unsigned short)':\r\n/home/actionmystique/Program-Files/Ubuntu/Ntop/ntopng/src/Flow.cpp:1984: undefined reference to `ndpi_strnstr'\r\nsrc/NetworkInterface.o: In function `NetworkInterface::processPacket(timeval const*, unsigned long, ndpi_ethhdr*, unsigned short, ndpi_iphdr*, ndpi_ipv6hdr*, unsigned short, unsigned short, pcap_pkthdr const*, unsigned char const*, bool*, unsigned short*)':\r\n/home/actionmystique/Program-Files/Ubuntu/Ntop/ntopng/src/NetworkInterface.cpp:862: undefined reference to `ndpi_detection_giveup'\r\ncollect2: error: ld returned 1 exit status\r\nMakefile:134: recipe for target 'ntopng' failed\r\nmake: *** [ntopng] Error 1\r\n```"},"comment":{"url":"https://api.github.com/repos/ntop/ntopng/issues/comments/215469526","html_url":"https://github.com/ntop/ntopng/issues/540#issuecomment-215469526","issue_url":"https://api.github.com/repos/ntop/ntopng/issues/540","id":215469526,"user":{"login":"jean-christophe-manciot","id":13176858,"avatar_url":"https://avatars.githubusercontent.com/u/13176858?v=3","gravatar_id":"","url":"https://api.github.com/users/jean-christophe-manciot","html_url":"https://github.com/jean-christophe-manciot","followers_url":"https://api.github.com/users/jean-christophe-manciot/followers","following_url":"https://api.github.com/users/jean-christophe-manciot/following{/other_user}","gists_url":"https://api.github.com/users/jean-christophe-manciot/gists{/gist_id}","starred_url":"https://api.github.com/users/jean-christophe-manciot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jean-christophe-manciot/subscriptions","organizations_url":"https://api.github.com/users/jean-christophe-manciot/orgs","repos_url":"https://api.github.com/users/jean-christophe-manciot/repos","events_url":"https://api.github.com/users/jean-christophe-manciot/events{/privacy}","received_events_url":"https://api.github.com/users/jean-christophe-manciot/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T15:36:00Z","updated_at":"2016-04-28T15:36:00Z","body":"Something very strange has happened: compiling ntopng **without** ndpi passses; if I build & install from last commit of ndpi again, ntopng compilation experiences the same error! \r\nHow can that be even possible & have you compiled ntopng with the latest commit of ndpi built & installed?"}}