ntop / ntopng

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

Compile error building on Raspberry Pi #143

Closed vidgizmo closed 9 years ago

vidgizmo commented 9 years ago

Just updated to the latest 2.0-stable source and tried to build.

Getting this error:

/usr/bin/g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I /home/pi/ntopng/third-party/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I../nDPI/src/include -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/rrdtool-1.4.8/src/ -I/home/pi/ntopng/third-party/zeromq-4.0.5/include -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -I/home/pi/ntopng/third-party/EWAHBoolArray/headers -DDATADIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/Flow.cpp -o src/Flow.o src/Flow.cpp: In constructor ‘Flow::Flow(NetworkInterface, u_int16_t, u_int8_t, u_int8t, IpAddress_, u_int16_t, u_int8t, IpAddress_, u_int16_t, time_t, time_t)’: src/Flow.cpp:96:109: error: request for member ‘protocol’ in ‘ndpi_guess_undetectedprotocol(((Flow)this)->Flow::.GenericHashEntry::iface->NetworkInterface::get_ndpistruct(), ((Flow)this)->Flow::protocol, 0u, 0u, 0u, 0u)’, which is of non-class type ‘unsigned int’ src/Flow.cpp: In member function ‘void Flow::guessProtocol()’: src/Flow.cpp:472:31: error: request for member ‘protocol’ in ‘ndpi_guess_undetectedprotocol(((Flow)this)->Flow::.GenericHashEntry::iface->NetworkInterface::get_ndpistruct(), ((Flow)this)->Flow::protocol, ntohl(((Flow_)this)->Flow::cli_host->Host::get_ip()->IpAddress::getipv4()), ntohs(((Flow)this)->Flow::cliport), ntohl(((Flow)this)->Flow::srv_host->Host::get_ip()->IpAddress::get_ipv4()), ntohs(((Flow*)this)->Flow::srv_port))’, which is of non-class type ‘unsigned int’ Makefile:131: recipe for target 'src/Flow.o' failed

Maybe something on my end, but it was building a couple of days ago.

lmangani commented 9 years ago

Trying to replicate, is this with Raspbian or other OS Image/distro?

lucaderi commented 9 years ago

You nDPI and ntopng code is not in sync.

Please report how you cloned with repositories (exact command line)

lmangani commented 9 years ago

@vidgizmo try comment in the Makefile the ifeq ($(HAS_NDPI), 0) condition to force ntopng compiling using the local sources for nDPI and kindly confirm if this was the issue.

vidgizmo commented 9 years ago

Thanks. I will try your suggestions and let you know my results.

I have recreated both of my local nDPI and ntopng repositories and will work on building.

I grabbed 1.7 of nDPI. Do I need 1.6?

On Thu, Sep 3, 2015 at 10:12 AM, Lorenzo Mangani notifications@github.com wrote:

@vidgizmo https://github.com/vidgizmo try comment in the Makefile the ifeq ($(HAS_NDPI), 0) condition to force ntopng compiling using the local sources for nDPI and kindly confirm if this was the issue.

— Reply to this email directly or view it on GitHub https://github.com/ntop/ntopng/issues/143#issuecomment-137480344.

lmangani commented 9 years ago

@vidgizmo You should use the latest github version of both ntopng and nDPI - I just tested on a Pi2 and it worked smooth

lucaderi commented 9 years ago

I think I know the problem. You have installed on your system nDPI and ntopng is detecting it and using it instead of the local copy. I have verified and nDPI was not exporting in the share library some symbols (I have just fixed it in https://github.com/ntop/nDPI/commit/ce7866a6a69ca0219ce79e4c130e6784da21b323). Now everything builds even using the shared library (we build packages with the static one so that is why the problem did not occur to us). As of the above error, I think you can fix it as follows

  1. deinstall from your system nDPI (I am almost sure you have an old copy installed).
  2. restart your build process from scratch

and everything will work.

vidgizmo commented 9 years ago

Thanks. I will do that.

I am now the acting cloud master for our work service (Lifesizecloud.com) so I have been a bit busy lately :)

Old dog learning new tricks. :)

On Fri, Sep 4, 2015 at 2:05 AM, Luca Deri notifications@github.com wrote:

I think I know the problem. You have installed on your system nDPI and ntopng is detecting it and using it instead of the local copy. I have verified and nDPI was not exporting in the share library some symbols (I have just fixed it in ntop/nDPI@ce7866a https://github.com/ntop/nDPI/commit/ce7866a6a69ca0219ce79e4c130e6784da21b323). Now everything builds even using the shared library (we build packages with the static one so that is why the problem did not occur to us). As of the above error, I think you can fix it as follows

  1. deinstall from your system nDPI (I am almost sure you have an old copy installed).
  2. restart your build process from scratch

and everything will work.

— Reply to this email directly or view it on GitHub https://github.com/ntop/ntopng/issues/143#issuecomment-137662043.

vidgizmo commented 9 years ago

Finally got some time to rebuild, but I am obviously doing something stupid.

When I cleaned out the previous installation, I had removed rrd and redis, but think I have them reinstalled now.

When I try to run ntopng (built from latest dev branch along with latest dev branch of nDPI) I am getting coredumps... here is the backtrace and other info.

Suggestions?


pi@raspberrypi ~/ntopng $ sudo gdb /usr/local/bin/ntopng /var/log/cores/core-ntopng-11-0-0-17981-1442506601 GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html

This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "arm-linux-gnueabihf". For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/... Reading symbols from /usr/local/bin/ntopng...done. [New LWP 17981]

warning: Can't read pathname for load map: Input/output error. [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Core was generated by `/usr/local/bin/ntopng -U ntop --data-dir /var/lib/ntopng -e -i eth0 -v -l 1 -q'. Program terminated with signal 11, Segmentation fault.

0 0x76797934 in strlen () from /lib/arm-linux-gnueabihf/libc.so.6

(gdb) bt

0 0x76797934 in strlen () from /lib/arm-linux-gnueabihf/libc.so.6

1 0x76762358 in vfprintf () from /lib/arm-linux-gnueabihf/libc.so.6

2 0x76783b58 in vsnprintf () from /lib/arm-linux-gnueabihf/libc.so.6

3 0x00014fcc in Trace::traceEvent (this=0xd7cc90, eventTraceLevel=3,

_file=0x15c8b4 "src/Utils.cpp", line=1267, format=0x15cbc8 "Interface %s has MAC Speed = %s") at src/Trace.cpp:85

4 0x000209f4 in Utils::getMaxIfSpeed (ifname=0xd7ea98 "eth0") at

src/Utils.cpp:1268

5 0x0003e060 in NetworkInterface::NetworkInterface (this=0xd7ed08,

name=0xd7ea98 "eth0") at src/NetworkInterface.cpp:194

6 0x0002ff40 in PcapInterface::PcapInterface (this=0xd7ed08,

name=0xd7ea98 "eth0") at src/PcapInterface.cpp:30

7 0x0007cff8 in main (argc=12, argv=0x7ef8f774) at src/main.cpp:181

On Fri, Sep 4, 2015 at 10:43 AM, Mike Burkett mike@burkett.org wrote:

Thanks. I will do that.

I am now the acting cloud master for our work service (Lifesizecloud.com) so I have been a bit busy lately :)

Old dog learning new tricks. :)

On Fri, Sep 4, 2015 at 2:05 AM, Luca Deri notifications@github.com wrote:

I think I know the problem. You have installed on your system nDPI and ntopng is detecting it and using it instead of the local copy. I have verified and nDPI was not exporting in the share library some symbols (I have just fixed it in ntop/nDPI@ce7866a https://github.com/ntop/nDPI/commit/ce7866a6a69ca0219ce79e4c130e6784da21b323). Now everything builds even using the shared library (we build packages with the static one so that is why the problem did not occur to us). As of the above error, I think you can fix it as follows

  1. deinstall from your system nDPI (I am almost sure you have an old copy installed).
  2. restart your build process from scratch

and everything will work.

— Reply to this email directly or view it on GitHub https://github.com/ntop/ntopng/issues/143#issuecomment-137662043.

vidgizmo commented 9 years ago

Here are the contents of /var/lib/ntopng/ntopng.log

17/Sep/2015 11:16:41 [Ntop.cpp:936] Setting local networks to 127.0.0.0/8 17/Sep/2015 11:16:41 [AddressResolution.cpp:137] Rule 127.0.0.0/8 17/Sep/2015 11:16:41 [Redis.cpp:105] Successfully connected to redis 127.0.0.1:6379@0 17/Sep/2015 11:16:41 [Ntop.cpp:910] Parent process is exiting (this is normal) 17/Sep/2015 11:16:41 [main.cpp:136] System has 4 CPU cores

On Thu, Sep 17, 2015 at 11:21 AM, Mike Burkett mike@burkett.org wrote:

Finally got some time to rebuild, but I am obviously doing something stupid.

When I cleaned out the previous installation, I had removed rrd and redis, but think I have them reinstalled now.

When I try to run ntopng (built from latest dev branch along with latest dev branch of nDPI) I am getting coredumps... here is the backtrace and other info.

Suggestions?


pi@raspberrypi ~/ntopng $ sudo gdb /usr/local/bin/ntopng /var/log/cores/core-ntopng-11-0-0-17981-1442506601 GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later < http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "arm-linux-gnueabihf". For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/... Reading symbols from /usr/local/bin/ntopng...done. [New LWP 17981]

warning: Can't read pathname for load map: Input/output error. [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Core was generated by `/usr/local/bin/ntopng -U ntop --data-dir /var/lib/ntopng -e -i eth0 -v -l 1 -q'. Program terminated with signal 11, Segmentation fault.

0 0x76797934 in strlen () from /lib/arm-linux-gnueabihf/libc.so.6

(gdb) bt

0 0x76797934 in strlen () from /lib/arm-linux-gnueabihf/libc.so.6

1 0x76762358 in vfprintf () from /lib/arm-linux-gnueabihf/libc.so.6

2 0x76783b58 in vsnprintf () from /lib/arm-linux-gnueabihf/libc.so.6

3 0x00014fcc in Trace::traceEvent (this=0xd7cc90, eventTraceLevel=3,

_file=0x15c8b4 "src/Utils.cpp", line=1267, format=0x15cbc8 "Interface %s has MAC Speed = %s") at src/Trace.cpp:85

4 0x000209f4 in Utils::getMaxIfSpeed (ifname=0xd7ea98 "eth0") at

src/Utils.cpp:1268

5 0x0003e060 in NetworkInterface::NetworkInterface (this=0xd7ed08,

name=0xd7ea98 "eth0") at src/NetworkInterface.cpp:194

6 0x0002ff40 in PcapInterface::PcapInterface (this=0xd7ed08,

name=0xd7ea98 "eth0") at src/PcapInterface.cpp:30

7 0x0007cff8 in main (argc=12, argv=0x7ef8f774) at src/main.cpp:181

On Fri, Sep 4, 2015 at 10:43 AM, Mike Burkett mike@burkett.org wrote:

Thanks. I will do that.

I am now the acting cloud master for our work service (Lifesizecloud.com) so I have been a bit busy lately :)

Old dog learning new tricks. :)

On Fri, Sep 4, 2015 at 2:05 AM, Luca Deri notifications@github.com wrote:

I think I know the problem. You have installed on your system nDPI and ntopng is detecting it and using it instead of the local copy. I have verified and nDPI was not exporting in the share library some symbols (I have just fixed it in ntop/nDPI@ce7866a https://github.com/ntop/nDPI/commit/ce7866a6a69ca0219ce79e4c130e6784da21b323). Now everything builds even using the shared library (we build packages with the static one so that is why the problem did not occur to us). As of the above error, I think you can fix it as follows

  1. deinstall from your system nDPI (I am almost sure you have an old copy installed).
  2. restart your build process from scratch

and everything will work.

— Reply to this email directly or view it on GitHub https://github.com/ntop/ntopng/issues/143#issuecomment-137662043.

vidgizmo commented 9 years ago

Think I figured it out. I don't have ethtool installed. Would be nice for the program to tell me :)

On Thu, Sep 17, 2015 at 11:24 AM, Mike Burkett mike@burkett.org wrote:

Here are the contents of /var/lib/ntopng/ntopng.log

17/Sep/2015 11:16:41 [Ntop.cpp:936] Setting local networks to 127.0.0.0/8 17/Sep/2015 11:16:41 [AddressResolution.cpp:137] Rule 127.0.0.0/8 17/Sep/2015 11:16:41 [Redis.cpp:105] Successfully connected to redis 127.0.0.1:6379@0 17/Sep/2015 11:16:41 [Ntop.cpp:910] Parent process is exiting (this is normal) 17/Sep/2015 11:16:41 [main.cpp:136] System has 4 CPU cores

On Thu, Sep 17, 2015 at 11:21 AM, Mike Burkett mike@burkett.org wrote:

Finally got some time to rebuild, but I am obviously doing something stupid.

When I cleaned out the previous installation, I had removed rrd and redis, but think I have them reinstalled now.

When I try to run ntopng (built from latest dev branch along with latest dev branch of nDPI) I am getting coredumps... here is the backtrace and other info.

Suggestions?


pi@raspberrypi ~/ntopng $ sudo gdb /usr/local/bin/ntopng /var/log/cores/core-ntopng-11-0-0-17981-1442506601 GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later < http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "arm-linux-gnueabihf". For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/... Reading symbols from /usr/local/bin/ntopng...done. [New LWP 17981]

warning: Can't read pathname for load map: Input/output error. [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Core was generated by `/usr/local/bin/ntopng -U ntop --data-dir /var/lib/ntopng -e -i eth0 -v -l 1 -q'. Program terminated with signal 11, Segmentation fault.

0 0x76797934 in strlen () from /lib/arm-linux-gnueabihf/libc.so.6

(gdb) bt

0 0x76797934 in strlen () from /lib/arm-linux-gnueabihf/libc.so.6

1 0x76762358 in vfprintf () from /lib/arm-linux-gnueabihf/libc.so.6

2 0x76783b58 in vsnprintf () from /lib/arm-linux-gnueabihf/libc.so.6

3 0x00014fcc in Trace::traceEvent (this=0xd7cc90, eventTraceLevel=3,

_file=0x15c8b4 "src/Utils.cpp", line=1267, format=0x15cbc8 "Interface %s has MAC Speed = %s") at src/Trace.cpp:85

4 0x000209f4 in Utils::getMaxIfSpeed (ifname=0xd7ea98 "eth0") at

src/Utils.cpp:1268

5 0x0003e060 in NetworkInterface::NetworkInterface (this=0xd7ed08,

name=0xd7ea98 "eth0") at src/NetworkInterface.cpp:194

6 0x0002ff40 in PcapInterface::PcapInterface (this=0xd7ed08,

name=0xd7ea98 "eth0") at src/PcapInterface.cpp:30

7 0x0007cff8 in main (argc=12, argv=0x7ef8f774) at src/main.cpp:181

On Fri, Sep 4, 2015 at 10:43 AM, Mike Burkett mike@burkett.org wrote:

Thanks. I will do that.

I am now the acting cloud master for our work service (Lifesizecloud.com) so I have been a bit busy lately :)

Old dog learning new tricks. :)

On Fri, Sep 4, 2015 at 2:05 AM, Luca Deri notifications@github.com wrote:

I think I know the problem. You have installed on your system nDPI and ntopng is detecting it and using it instead of the local copy. I have verified and nDPI was not exporting in the share library some symbols (I have just fixed it in ntop/nDPI@ce7866a https://github.com/ntop/nDPI/commit/ce7866a6a69ca0219ce79e4c130e6784da21b323). Now everything builds even using the shared library (we build packages with the static one so that is why the problem did not occur to us). As of the above error, I think you can fix it as follows

  1. deinstall from your system nDPI (I am almost sure you have an old copy installed).
  2. restart your build process from scratch

and everything will work.

— Reply to this email directly or view it on GitHub https://github.com/ntop/ntopng/issues/143#issuecomment-137662043.

vidgizmo commented 9 years ago

Nope, that's not it... still looking.

On Thu, Sep 17, 2015 at 11:33 AM, Mike Burkett mike@burkett.org wrote:

Think I figured it out. I don't have ethtool installed. Would be nice for the program to tell me :)

On Thu, Sep 17, 2015 at 11:24 AM, Mike Burkett mike@burkett.org wrote:

Here are the contents of /var/lib/ntopng/ntopng.log

17/Sep/2015 11:16:41 [Ntop.cpp:936] Setting local networks to 127.0.0.0/8 17/Sep/2015 11:16:41 [AddressResolution.cpp:137] Rule 127.0.0.0/8 17/Sep/2015 11:16:41 [Redis.cpp:105] Successfully connected to redis 127.0.0.1:6379@0 17/Sep/2015 11:16:41 [Ntop.cpp:910] Parent process is exiting (this is normal) 17/Sep/2015 11:16:41 [main.cpp:136] System has 4 CPU cores

On Thu, Sep 17, 2015 at 11:21 AM, Mike Burkett mike@burkett.org wrote:

Finally got some time to rebuild, but I am obviously doing something stupid.

When I cleaned out the previous installation, I had removed rrd and redis, but think I have them reinstalled now.

When I try to run ntopng (built from latest dev branch along with latest dev branch of nDPI) I am getting coredumps... here is the backtrace and other info.

Suggestions?


pi@raspberrypi ~/ntopng $ sudo gdb /usr/local/bin/ntopng /var/log/cores/core-ntopng-11-0-0-17981-1442506601 GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later < http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "arm-linux-gnueabihf". For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/... Reading symbols from /usr/local/bin/ntopng...done. [New LWP 17981]

warning: Can't read pathname for load map: Input/output error. [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Core was generated by `/usr/local/bin/ntopng -U ntop --data-dir /var/lib/ntopng -e -i eth0 -v -l 1 -q'. Program terminated with signal 11, Segmentation fault.

0 0x76797934 in strlen () from /lib/arm-linux-gnueabihf/libc.so.6

(gdb) bt

0 0x76797934 in strlen () from /lib/arm-linux-gnueabihf/libc.so.6

1 0x76762358 in vfprintf () from /lib/arm-linux-gnueabihf/libc.so.6

2 0x76783b58 in vsnprintf () from /lib/arm-linux-gnueabihf/libc.so.6

3 0x00014fcc in Trace::traceEvent (this=0xd7cc90, eventTraceLevel=3,

_file=0x15c8b4 "src/Utils.cpp", line=1267, format=0x15cbc8 "Interface %s has MAC Speed = %s") at src/Trace.cpp:85

4 0x000209f4 in Utils::getMaxIfSpeed (ifname=0xd7ea98 "eth0") at

src/Utils.cpp:1268

5 0x0003e060 in NetworkInterface::NetworkInterface (this=0xd7ed08,

name=0xd7ea98 "eth0") at src/NetworkInterface.cpp:194

6 0x0002ff40 in PcapInterface::PcapInterface (this=0xd7ed08,

name=0xd7ea98 "eth0") at src/PcapInterface.cpp:30

7 0x0007cff8 in main (argc=12, argv=0x7ef8f774) at src/main.cpp:181

On Fri, Sep 4, 2015 at 10:43 AM, Mike Burkett mike@burkett.org wrote:

Thanks. I will do that.

I am now the acting cloud master for our work service (Lifesizecloud.com) so I have been a bit busy lately :)

Old dog learning new tricks. :)

On Fri, Sep 4, 2015 at 2:05 AM, Luca Deri notifications@github.com wrote:

I think I know the problem. You have installed on your system nDPI and ntopng is detecting it and using it instead of the local copy. I have verified and nDPI was not exporting in the share library some symbols (I have just fixed it in ntop/nDPI@ce7866a https://github.com/ntop/nDPI/commit/ce7866a6a69ca0219ce79e4c130e6784da21b323). Now everything builds even using the shared library (we build packages with the static one so that is why the problem did not occur to us). As of the above error, I think you can fix it as follows

  1. deinstall from your system nDPI (I am almost sure you have an old copy installed).
  2. restart your build process from scratch

and everything will work.

— Reply to this email directly or view it on GitHub https://github.com/ntop/ntopng/issues/143#issuecomment-137662043.

lmangani commented 9 years ago

I cannot replicate your status on my B+ so far - please share the build log

vidgizmo commented 9 years ago

Here is the configure log and make log.

On Thu, Sep 17, 2015 at 11:41 AM, Lorenzo Mangani notifications@github.com wrote:

I cannot replicate your status on my B+ so far - please share the build log

— Reply to this email directly or view it on GitHub https://github.com/ntop/ntopng/issues/143#issuecomment-141143831.

checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for nDPI... found in ../nDPI checking for ../nDPI/src/lib/.libs/libndpi.a... found ../nDPI/src/lib/.libs/libndpi.a checking for ntopng professional edition... not found checking for pcap_open_live in -lpcap... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking libnetfilter_queue/libnetfilter_queue.h usability... no checking libnetfilter_queue/libnetfilter_queue.h presence... no checking for libnetfilter_queue/libnetfilter_queue.h... no checking for nfq_create_queue in -lnetfilter_queue... no checking for nfq_set_verdict2... no checking for nl_handle_alloc in -lnl... no checking for clock_gettime in -lrt... yes checking for dlopen in -ldl... yes checking for curl_easy_perform in -lcurl... yes checking for GeoIP_record_by_ipnum in -lGeoIP... yes checking GeoIP.h usability... yes checking GeoIP.h presence... yes checking for GeoIP.h... yes checking for GeoIP_lib_version in -lGeoIP... yes checking for sqlite3_open in -lsqlite3... yes checking for mariadb_config... no checking for mysql_config... mysql_config checking for main in -lwrap... no configure: creating ./config.status config.status: creating packages/ntopng.spec config.status: creating packages/ntopng-data.spec config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating doc/doxygen.conf config.status: creating include/config.h

You are now ready to compile typing make Please do not forget to download GeoIP databases doing: make geoip

cd /home/pi/ntopng/third-party/LuaJIT-2.0.3; make make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/home/pi/ntopng/third-party/LuaJIT-2.0.3' ==== Building LuaJIT 2.0.3 ==== make -C src make[2]: Entering directory '/home/pi/ntopng/third-party/LuaJIT-2.0.3/src' HOSTCC host/minilua.o HOSTLINK host/minilua DYNASM host/buildvm_arch.h HOSTCC host/buildvm.o HOSTCC host/buildvm_asm.o HOSTCC host/buildvm_peobj.o HOSTCC host/buildvm_lib.o HOSTCC host/buildvm_fold.o HOSTLINK host/buildvm BUILDVM lj_vm.s ASM lj_vm.o CC lj_gc.o BUILDVM lj_ffdef.h CC lj_err.o CC lj_char.o BUILDVM lj_bcdef.h CC lj_bc.o CC lj_obj.o CC lj_str.o CC lj_tab.o CC lj_func.o CC lj_udata.o CC lj_meta.o CC lj_debug.o CC lj_state.o CC lj_dispatch.o CC lj_vmevent.o CC lj_vmmath.o CC lj_strscan.o CC lj_api.o CC lj_lex.o CC lj_parse.o CC lj_bcread.o CC lj_bcwrite.o CC lj_load.o CC lj_ir.o CC lj_opt_mem.o BUILDVM lj_folddef.h CC lj_opt_fold.o CC lj_opt_narrow.o CC lj_opt_dce.o CC lj_opt_loop.o CC lj_opt_split.o CC lj_opt_sink.o CC lj_mcode.o CC lj_snap.o CC lj_record.o CC lj_crecord.o BUILDVM lj_recdef.h CC lj_ffrecord.o CC lj_asm.o CC lj_trace.o CC lj_gdbjit.o CC lj_ctype.o CC lj_cdata.o CC lj_cconv.o CC lj_ccall.o CC lj_ccallback.o CC lj_carith.o CC lj_clib.o CC lj_cparse.o CC lj_lib.o CC lj_alloc.o CC lib_aux.o BUILDVM lj_libdef.h CC lib_base.o CC lib_math.o CC lib_bit.o CC lib_string.o CC lib_table.o CC lib_io.o CC lib_os.o CC lib_package.o CC lib_debug.o CC lib_jit.o CC lib_ffi.o CC lib_init.o AR libluajit.a CC luajit.o BUILDVM jit/vmdef.lua DYNLINK libluajit.so LINK luajit OK Successfully built LuaJIT make[2]: Leaving directory '/home/pi/ntopng/third-party/LuaJIT-2.0.3/src' ==== Successfully built LuaJIT 2.0.3 ==== make[1]: Leaving directory '/home/pi/ntopng/third-party/LuaJIT-2.0.3' cd /home/pi/ntopng/third-party/zeromq-4.1.3; ./configure --without-documentation --without-libsodium; make checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking how to create a ustar tar archive... gnutar checking whether make supports nested variables... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for gcc option to accept ISO C99... -std=gnu99 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking whether gcc -std=gnu99 and cc understand -c and -o together... yes checking for a sed that does not truncate output... /bin/sed checking for gawk... (cached) gawk checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for xmlto... no checking for asciidoc... no checking build system type... armv7l-unknown-linux-gnueabihf checking host system type... armv7l-unknown-linux-gnueabihf checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc -std=gnu99... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format... func_convert_file_noop checking how to convert armv7l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... gcc -std=gnu99 -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes checking if gcc -std=gnu99 static flag -static works... yes checking if gcc -std=gnu99 supports -c -o file.o... yes checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes checking whether the gcc -std=gnu99 linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether the C compiler works... yes checking whether we are using Intel C compiler... no checking whether we are using Sun Studio C compiler... no checking whether we are using clang C compiler... no checking whether we are using gcc >= 4 C compiler... yes checking whether the C++ compiler works... yes checking whether we are using Intel C++ compiler... no checking whether we are using Sun Studio C++ compiler... no checking whether we are using clang C++ compiler... no checking whether we are using gcc >= 4 C++ compiler... yes checking whether to enable debugging information... no checking whether to enable code coverage... no checking if TIPC is available and supports nonblocking connect... no checking for pthread_create in -lpthread... yes checking for clock_gettime in -lrt... yes checking whether C++ compiler supports -fvisibility=hidden... yes checking whether C++ compiler supports dso visibility... yes checking whether to build documentation... no checking whether to install manpages... no checking for suitable polling system... using epoll checking for ANSI C header files... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking ifaddrs.h usability... yes checking ifaddrs.h presence... yes checking for ifaddrs.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/eventfd.h usability... yes checking sys/eventfd.h presence... yes checking for sys/eventfd.h... yes checking whether SO_PEERCRED is declared... yes checking whether LOCAL_PEERCRED is declared... no checking for stdbool.h that conforms to C99... yes checking for _Bool... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking for ssize_t... yes checking whether time.h and sys/time.h may both be included... yes checking for uint32_t... yes checking for working volatile... yes checking "with_norm_ext = no"... checking how to enable additional warnings for C++ compiler... -Wall checking how to turn warnings to errors in C++ compiler... -Werror checking how to enable strict standards compliance in C++ compiler... -pedantic checking return type of signal handlers... void checking for perror... yes checking for gettimeofday... yes checking for clock_gettime... yes checking for memset... yes checking for socket... yes checking for getifaddrs... yes checking for freeifaddrs... yes checking for fork... yes checking alloca.h usability... yes checking alloca.h presence... yes checking for alloca.h... yes checking whether SOCK_CLOEXEC is supported... yes checking whether SO_KEEPALIVE is supported... yes checking whether TCP_KEEPCNT is supported... yes checking whether TCP_KEEPIDLE is supported... yes checking whether TCP_KEEPINTVL is supported... yes checking whether TCP_KEEPALIVE is supported... no configure: creating ./config.status config.status: creating Makefile config.status: creating src/libzmq.pc config.status: creating doc/Makefile config.status: creating builds/msvc/Makefile config.status: creating builds/redhat/zeromq.spec config.status: creating src/platform.hpp config.status: executing depfiles commands config.status: executing libtool commands make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/home/pi/ntopng/third-party/zeromq-4.1.3' Making all in doc make[2]: Entering directory '/home/pi/ntopng/third-party/zeromq-4.1.3/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/pi/ntopng/third-party/zeromq-4.1.3/doc' make[2]: Entering directory '/home/pi/ntopng/third-party/zeromq-4.1.3' CXX src/libzmq_la-address.lo CXX src/libzmq_la-clock.lo CXX src/libzmq_la-ctx.lo CXX src/libzmq_la-curve_client.lo CXX src/libzmq_la-curve_server.lo CXX src/libzmq_la-dealer.lo CXX src/libzmq_la-devpoll.lo CXX src/libzmq_la-dist.lo CXX src/libzmq_la-epoll.lo CXX src/libzmq_la-err.lo CXX src/libzmq_la-fq.lo CXX src/libzmq_la-gssapi_mechanism_base.lo CXX src/libzmq_la-gssapi_client.lo CXX src/libzmq_la-gssapi_server.lo CXX src/libzmq_la-io_object.lo CXX src/libzmq_la-io_thread.lo CXX src/libzmq_la-ip.lo CXX src/libzmq_la-ipc_address.lo CXX src/libzmq_la-ipc_connecter.lo CXX src/libzmq_la-ipc_listener.lo CXX src/libzmq_la-kqueue.lo CXX src/libzmq_la-lb.lo CXX src/libzmq_la-mailbox.lo CXX src/libzmq_la-mechanism.lo CXX src/libzmq_la-metadata.lo CXX src/libzmq_la-msg.lo CXX src/libzmq_la-mtrie.lo CXX src/libzmq_la-norm_engine.lo CXX src/libzmq_la-null_mechanism.lo CXX src/libzmq_la-object.lo CXX src/libzmq_la-options.lo CXX src/libzmq_la-own.lo CXX src/libzmq_la-pair.lo CXX src/libzmq_la-pgm_receiver.lo CXX src/libzmq_la-pgm_sender.lo CXX src/libzmq_la-pgm_socket.lo CXX src/libzmq_la-pipe.lo CXX src/libzmq_la-plain_client.lo CXX src/libzmq_la-plain_server.lo CXX src/libzmq_la-poll.lo CXX src/libzmq_la-poller_base.lo CXX src/libzmq_la-proxy.lo CXX src/libzmq_la-pub.lo CXX src/libzmq_la-pull.lo CXX src/libzmq_la-push.lo CXX src/libzmq_la-random.lo CXX src/libzmq_la-raw_decoder.lo CXX src/libzmq_la-raw_encoder.lo CXX src/libzmq_la-reaper.lo CXX src/libzmq_la-rep.lo CXX src/libzmq_la-req.lo CXX src/libzmq_la-router.lo CXX src/libzmq_la-select.lo CXX src/libzmq_la-session_base.lo CXX src/libzmq_la-signaler.lo CXX src/libzmq_la-socket_base.lo CXX src/libzmq_la-socks.lo CXX src/libzmq_la-socks_connecter.lo CXX src/libzmq_la-stream.lo CXX src/libzmq_la-stream_engine.lo CXX src/libzmq_la-sub.lo CXX src/libzmq_la-tcp.lo CXX src/libzmq_la-tcp_address.lo CXX src/libzmq_la-tcp_connecter.lo CXX src/libzmq_la-tcp_listener.lo CXX src/libzmq_la-thread.lo CXX src/libzmq_la-tipc_address.lo CXX src/libzmq_la-tipc_connecter.lo CXX src/libzmq_la-tipc_listener.lo CXX src/libzmq_la-trie.lo CXX src/libzmq_la-v1_decoder.lo CXX src/libzmq_la-v2_decoder.lo CXX src/libzmq_la-v1_encoder.lo CXX src/libzmq_la-v2_encoder.lo CXX src/libzmq_la-xpub.lo CXX src/libzmq_la-xsub.lo CXX src/libzmq_la-zmq.lo CXX src/libzmq_la-zmq_utils.lo CXXLD libzmq.la CXX tools/curve_keygen.o CXXLD curve_keygen CXX perf/local_lat.o CXXLD local_lat CXX perf/remote_lat.o CXXLD remote_lat CXX perf/local_thr.o CXXLD local_thr CXX perf/remote_thr.o CXXLD remote_thr CXX perf/inproc_lat.o CXXLD inproc_lat CXX perf/inproc_thr.o CXXLD inproc_thr make[2]: Leaving directory '/home/pi/ntopng/third-party/zeromq-4.1.3' make[1]: Leaving directory '/home/pi/ntopng/third-party/zeromq-4.1.3' cd /home/pi/ntopng/third-party/json-c; ./autogen.sh; ./configure; make autoreconf: Entering directory .' autoreconf: configure.in: not using Gettext autoreconf: running: aclocal configure.in:44: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... configure.in:44: the top level autoreconf: configure.in: tracing configure.in:44: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... configure.in:44: the top level autoreconf: running: libtoolize --copy libtoolize: putting auxiliary files in.'. libtoolize: copying file ./ltmain.sh' libtoolize: Consider addingAC_CONFIG_MACRO_DIR([m4])' to configure.in and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding -I m4' to ACLOCAL_AMFLAGS in Makefile.am. configure.in:44: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... configure.in:44: the top level autoreconf: running: /usr/bin/autoconf configure.in:44: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... configure.in:44: the top level autoreconf: running: /usr/bin/autoheader configure.in:44: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... configure.in:44: the top level autoreconf: running: automake --add-missing --copy --no-force configure.in:44: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... configure.in:44: the top level configure.in:58: installing./config.guess' configure.in:58: installing ./config.sub' configure.in:6: installing./install-sh' configure.in:6: installing ./missing' tests/Makefile.am:19: compilingtest1.c' with per-target flags requires AM_PROG_CC_C_O' inconfigure.in' tests/Makefile.am: installing ./depcomp' Makefile.am: installing./INSTALL' autoreconf: Leaving directory `.' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make sets $(MAKE)... (cached) yes checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for strings.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking sys/cdefs.h usability... yes checking sys/cdefs.h presence... yes checking for sys/cdefs.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for inttypes.h... (cached) yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking for vprintf... yes checking for _doprnt... no checking for working memcmp... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for strcasecmp... yes checking for strdup... yes checking for strndup... yes checking for strerror... yes checking for snprintf... yes checking for vsnprintf... yes checking for vasprintf... yes checking for open... yes checking for vsyslog... yes checking for strncasecmp... yes checking for setlocale... yes checking if .gnu.warning accepts long strings... no checking build system type... armv7l-unknown-linux-gnueabihf checking host system type... armv7l-unknown-linux-gnueabihf checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format... func_convert_file_noop checking how to convert armv7l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating ./config.status config.status: creating Makefile config.status: creating json.pc config.status: creating json-c.pc config.status: creating tests/Makefile config.status: creating json-c-uninstalled.pc config.status: creating config.h config.status: creating json_config.h config.status: executing depfiles commands config.status: executing libtool commands make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/home/pi/ntopng/third-party/json-c' (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/pi/ntopng/third-party/json-c/missing --run autoheader) configure.in:44: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... configure.in:44: the top level rm -f stamp-h1 touch config.h.in cd . && /bin/bash ./config.status config.h config.status: creating config.h config.status: config.h is unchanged make all-recursive make[2]: Entering directory '/home/pi/ntopng/third-party/json-c' Making all in . make[3]: Entering directory '/home/pi/ntopng/third-party/json-c' /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -g -O2 -MT arraylist.lo -MD -MP -MF .deps/arraylist.Tpo -c -o arraylist.lo arraylist.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -g -O2 -MT arraylist.lo -MD -MP -MF .deps/arraylist.Tpo -c arraylist.c -fPIC -DPIC -o .libs/arraylist.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -g -O2 -MT arraylist.lo -MD -MP -MF .deps/arraylist.Tpo -c arraylist.c -o arraylist.o >/dev/null 2>&1 mv -f .deps/arraylist.Tpo .deps/arraylist.Plo /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -g -O2 -MT debug.lo -MD -MP -MF .deps/debug.Tpo -c -o debug.lo debug.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -g -O2 -MT debug.lo -MD -MP -MF .deps/debug.Tpo -c debug.c -fPIC -DPIC -o .libs/debug.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -g -O2 -MT debug.lo -MD -MP -MF .deps/debug.Tpo -c debug.c -o debug.o >/dev/null 2>&1 mv -f .deps/debug.Tpo .deps/debug.Plo /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -g -O2 -MT json_c_version.lo -MD -MP -MF .deps/json_c_version.Tpo -c -o json_c_version.lo json_c_version.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -g -O2 -MT json_c_version.lo -MD -MP -MF .deps/json_c_version.Tpo -c json_c_version.c -fPIC -DPIC -o .libs/json_c_version.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -g -O2 -MT json_c_version.lo -MD -MP -MF .deps/json_c_version.Tpo -c json_c_version.c -o json_c_version.o >/dev/null 2>&1 mv -f .deps/json_c_version.Tpo .deps/json_c_version.Plo /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -g -O2 -MT json_object.lo -MD -MP -MF .deps/json_object.Tpo -c -o json_object.lo json_object.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -g -O2 -MT json_object.lo -MD -MP -MF .deps/json_object.Tpo -c json_object.c -fPIC -DPIC -o .libs/json_object.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -g -O2 -MT json_object.lo -MD -MP -MF .deps/json_object.Tpo -c json_object.c -o json_object.o >/dev/null 2>&1 mv -f .deps/json_object.Tpo .deps/json_object.Plo /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -g -O2 -MT json_object_iterator.lo -MD -MP -MF .deps/json_object_iterator.Tpo -c -o json_object_iterator.lo json_object_iterator.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -g -O2 -MT json_object_iterator.lo -MD -MP -MF .deps/json_object_iterator.Tpo -c json_object_iterator.c -fPIC -DPIC -o .libs/json_object_iterator.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -g -O2 -MT json_object_iterator.lo -MD -MP -MF .deps/json_object_iterator.Tpo -c json_object_iterator.c -o json_object_iterator.o >/dev/null 2>&1 mv -f .deps/json_object_iterator.Tpo .deps/json_object_iterator.Plo /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -g -O2 -MT json_tokener.lo -MD -MP -MF .deps/json_tokener.Tpo -c -o json_tokener.lo json_tokener.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -g -O2 -MT json_tokener.lo -MD -MP -MF .deps/json_tokener.Tpo -c json_tokener.c -fPIC -DPIC -o .libs/json_tokener.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -g -O2 -MT json_tokener.lo -MD -MP -MF .deps/json_tokener.Tpo -c json_tokener.c -o json_tokener.o >/dev/null 2>&1 mv -f .deps/json_tokener.Tpo .deps/json_tokener.Plo /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -g -O2 -MT json_util.lo -MD -MP -MF .deps/json_util.Tpo -c -o json_util.lo json_util.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -g -O2 -MT json_util.lo -MD -MP -MF .deps/json_util.Tpo -c json_util.c -fPIC -DPIC -o .libs/json_util.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -g -O2 -MT json_util.lo -MD -MP -MF .deps/json_util.Tpo -c json_util.c -o json_util.o >/dev/null 2>&1 mv -f .deps/json_util.Tpo .deps/json_util.Plo /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -g -O2 -MT linkhash.lo -MD -MP -MF .deps/linkhash.Tpo -c -o linkhash.lo linkhash.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -g -O2 -MT linkhash.lo -MD -MP -MF .deps/linkhash.Tpo -c linkhash.c -fPIC -DPIC -o .libs/linkhash.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -g -O2 -MT linkhash.lo -MD -MP -MF .deps/linkhash.Tpo -c linkhash.c -o linkhash.o >/dev/null 2>&1 mv -f .deps/linkhash.Tpo .deps/linkhash.Plo /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -g -O2 -MT printbuf.lo -MD -MP -MF .deps/printbuf.Tpo -c -o printbuf.lo printbuf.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -g -O2 -MT printbuf.lo -MD -MP -MF .deps/printbuf.Tpo -c printbuf.c -fPIC -DPIC -o .libs/printbuf.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -g -O2 -MT printbuf.lo -MD -MP -MF .deps/printbuf.Tpo -c printbuf.c -o printbuf.o >/dev/null 2>&1 mv -f .deps/printbuf.Tpo .deps/printbuf.Plo /bin/bash ./libtool --tag=CC --mode=link gcc -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -g -O2 -version-info 2:0:0 -no-undefined -o libjson-c.la -rpath /usr/local/lib arraylist.lo debug.lo json_c_version.lo json_object.lo json_object_iterator.lo json_tokener.lo json_util.lo linkhash.lo printbuf.lo
libtool: link: gcc -shared -fPIC -DPIC .libs/arraylist.o .libs/debug.o .libs/json_c_version.o .libs/json_object.o .libs/json_object_iterator.o .libs/json_tokener.o .libs/json_util.o .libs/linkhash.o .libs/printbuf.o -O2 -Wl,-soname -Wl,libjson-c.so.2 -o .libs/libjson-c.so.2.0.0 libtool: link: (cd ".libs" && rm -f "libjson-c.so.2" && ln -s "libjson-c.so.2.0.0" "libjson-c.so.2") libtool: link: (cd ".libs" && rm -f "libjson-c.so" && ln -s "libjson-c.so.2.0.0" "libjson-c.so") libtool: link: ar cru .libs/libjson-c.a arraylist.o debug.o json_c_version.o json_object.o json_object_iterator.o json_tokener.o json_util.o linkhash.o printbuf.o libtool: link: ranlib .libs/libjson-c.a libtool: link: ( cd ".libs" && rm -f "libjson-c.la" && ln -s "../libjson-c.la" "libjson-c.la" ) /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -g -O2 -MT libjson.lo -MD -MP -MF .deps/libjson.Tpo -c -o libjson.lo libjson.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -g -O2 -MT libjson.lo -MD -MP -MF .deps/libjson.Tpo -c libjson.c -fPIC -DPIC -o .libs/libjson.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -g -O2 -MT libjson.lo -MD -MP -MF .deps/libjson.Tpo -c libjson.c -o libjson.o >/dev/null 2>&1 mv -f .deps/libjson.Tpo .deps/libjson.Plo /bin/bash ./libtool --tag=CC --mode=link gcc -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -g -O2 -version-info 1:0:1 -no-undefined -ljson-c -o libjson.la -rpath /usr/local/lib libjson.lo -ljson-c libtool: link: gcc -shared -fPIC -DPIC .libs/libjson.o -Wl,-rpath -Wl,/home/pi/ntopng/third-party/json-c/.libs /home/pi/ntopng/third-party/json-c/.libs/libjson-c.so -O2 -Wl,-soname -Wl,libjson.so.0 -o .libs/libjson.so.0.1.0 libtool: link: (cd ".libs" && rm -f "libjson.so.0" && ln -s "libjson.so.0.1.0" "libjson.so.0") libtool: link: (cd ".libs" && rm -f "libjson.so" && ln -s "libjson.so.0.1.0" "libjson.so") libtool: link: ar cru .libs/libjson.a libjson.o libtool: link: ranlib .libs/libjson.a libtool: link: ( cd ".libs" && rm -f "libjson.la" && ln -s "../libjson.la" "libjson.la" ) make[3]: Leaving directory '/home/pi/ntopng/third-party/json-c' Making all in tests make[3]: Entering directory '/home/pi/ntopng/third-party/json-c/tests' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/pi/ntopng/third-party/json-c/tests' make[2]: Leaving directory '/home/pi/ntopng/third-party/json-c' make[1]: Leaving directory '/home/pi/ntopng/third-party/json-c' g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/GenericHashEntry.cpp -o src/GenericHashEntry.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/PacketStats.cpp -o src/PacketStats.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/MySQLDB.cpp -o src/MySQLDB.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/CollectorInterface.cpp -o src/CollectorInterface.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/Trace.cpp -o src/Trace.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/ProtoStats.cpp -o src/ProtoStats.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/nDPIStats.cpp -o src/nDPIStats.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/StatsManager.cpp -o src/StatsManager.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/Utils.cpp -o src/Utils.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/NtopGlobals.cpp -o src/NtopGlobals.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/Geolocation.cpp -o src/Geolocation.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/HTTPStats.cpp -o src/HTTPStats.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/Host.cpp -o src/Host.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/ActivityStats.cpp -o src/ActivityStats.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/PF_RINGInterface.cpp -o src/PF_RINGInterface.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/FlowsManager.cpp -o src/FlowsManager.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/PeriodicActivities.cpp -o src/PeriodicActivities.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/TrafficStats.cpp -o src/TrafficStats.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/HostHash.cpp -o src/HostHash.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/LocalTrafficStats.cpp -o src/LocalTrafficStats.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/PacketDumper.cpp -o src/PacketDumper.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/FlowHash.cpp -o src/FlowHash.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/EthStats.cpp -o src/EthStats.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/SQLiteDB.cpp -o src/SQLiteDB.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/PcapInterface.cpp -o src/PcapInterface.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/GenericHash.cpp -o src/GenericHash.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/DnsStats.cpp -o src/DnsStats.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/DB.cpp -o src/DB.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/NetfilterInterface.cpp -o src/NetfilterInterface.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/IpAddress.cpp -o src/IpAddress.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/VirtualHost.cpp -o src/VirtualHost.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/GenericHost.cpp -o src/GenericHost.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/Flow.cpp -o src/Flow.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/ExportInterface.cpp -o src/ExportInterface.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/NetworkInterface.cpp -o src/NetworkInterface.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/Mutex.cpp -o src/Mutex.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/PacketDumperTuntap.cpp -o src/PacketDumperTuntap.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/VirtualHostHash.cpp -o src/VirtualHostHash.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/NetworkInterfaceView.cpp -o src/NetworkInterfaceView.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/Lua.cpp -o src/Lua.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/RuntimePrefs.cpp -o src/RuntimePrefs.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/AddressResolution.cpp -o src/AddressResolution.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/CommunitiesManager.cpp -o src/CommunitiesManager.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/home/pi/ntopng/third-party/http-client-c/src/ -DDATA_DIR='"/usr/local/share"' -I/home/pi/ntopng/third-party/libgeohash -I/home/pi/ntopng/third-party/patricia -c src/Prefs.cpp -o src/Prefs.o g++ -g -Wall -I/home/pi/ntopng -I/home/pi/ntopng/include -I/usr/local/include -I/usr/include/hiredis -I/home/pi/ntopng/third-party/mongoose -I/home/pi/ntopng/third-party/json-c -I/usr/local/include/libndpi-1.7.1/libndpi -I/home/pi/ntopng/third-party/LuaJIT-2.0.3/src -I/home/pi/ntopng/third-party/zeromq-4.1.3/include -I/usr/include/mysql -I/home/pi/ntopng -I/

lucaderi commented 9 years ago

Where is the error?

vidgizmo commented 9 years ago

No error in logs, core dumping.

Here's the bt from gdb:

Core was generated by `/usr/local/bin/ntopng -U ntop --data-dir /var/lib/ntopng -e -i eth0 -v -l 1 -q'. Program terminated with signal 11, Segmentation fault.

0 0x76797934 in strlen () from /lib/arm-linux-gnueabihf/libc.so.6

(gdb) bt

0 0x76797934 in strlen () from /lib/arm-linux-gnueabihf/libc.so.6

1 0x76762358 in vfprintf () from /lib/arm-linux-gnueabihf/libc.so.6

2 0x76783b58 in vsnprintf () from /lib/arm-linux-gnueabihf/libc.so.6

3 0x00014fcc in Trace::traceEvent (this=0xd7cc90, eventTraceLevel=3,

_file=0x15c8b4 "src/Utils.cpp", line=1267, format=0x15cbc8 "Interface %s has MAC Speed = %s") at src/Trace.cpp:85

4 0x000209f4 in Utils::getMaxIfSpeed (ifname=0xd7ea98 "eth0") at

src/Utils.cpp:1268

5 0x0003e060 in NetworkInterface::NetworkInterface (this=0xd7ed08,

name=0xd7ea98 "eth0") at src/NetworkInterface.cpp:194

6 0x0002ff40 in PcapInterface::PcapInterface (this=0xd7ed08,

name=0xd7ea98 "eth0") at src/PcapInterface.cpp:30

7 0x0007cff8 in main (argc=12, argv=0x7ef8f774) at src/main.cpp:181

Here's the log:

17/Sep/2015 11:16:41 [Ntop.cpp:936] Setting local networks to 127.0.0.0/8 17/Sep/2015 11:16:41 [AddressResolution.cpp:137] Rule 127.0.0.0/8 17/Sep/2015 11:16:41 [Redis.cpp:105] Successfully connected to redis 127.0.0.1:6379@0 17/Sep/2015 11:16:41 [Ntop.cpp:910] Parent process is exiting (this is normal) 17/Sep/2015 11:16:41 [main.cpp:136] System has 4 CPU cores

On Thu, Sep 17, 2015 at 2:16 PM, Luca Deri notifications@github.com wrote:

Where is the error?

— Reply to this email directly or view it on GitHub https://github.com/ntop/ntopng/issues/143#issuecomment-141193352.

vidgizmo commented 9 years ago

I will try running w/ debug enabled.

On Thu, Sep 17, 2015 at 2:33 PM, Mike Burkett mike@burkett.org wrote:

No error in logs, core dumping.

Here's the bt from gdb:

Core was generated by `/usr/local/bin/ntopng -U ntop --data-dir /var/lib/ntopng -e -i eth0 -v -l 1 -q'. Program terminated with signal 11, Segmentation fault.

0 0x76797934 in strlen () from /lib/arm-linux-gnueabihf/libc.so.6

(gdb) bt

0 0x76797934 in strlen () from /lib/arm-linux-gnueabihf/libc.so.6

1 0x76762358 in vfprintf () from /lib/arm-linux-gnueabihf/libc.so.6

2 0x76783b58 in vsnprintf () from /lib/arm-linux-gnueabihf/libc.so.6

3 0x00014fcc in Trace::traceEvent (this=0xd7cc90, eventTraceLevel=3,

_file=0x15c8b4 "src/Utils.cpp", line=1267, format=0x15cbc8 "Interface %s has MAC Speed = %s") at src/Trace.cpp:85

4 0x000209f4 in Utils::getMaxIfSpeed (ifname=0xd7ea98 "eth0") at

src/Utils.cpp:1268

5 0x0003e060 in NetworkInterface::NetworkInterface (this=0xd7ed08,

name=0xd7ea98 "eth0") at src/NetworkInterface.cpp:194

6 0x0002ff40 in PcapInterface::PcapInterface (this=0xd7ed08,

name=0xd7ea98 "eth0") at src/PcapInterface.cpp:30

7 0x0007cff8 in main (argc=12, argv=0x7ef8f774) at src/main.cpp:181

Here's the log:

17/Sep/2015 11:16:41 [Ntop.cpp:936] Setting local networks to 127.0.0.0/8 17/Sep/2015 11:16:41 [AddressResolution.cpp:137] Rule 127.0.0.0/8 17/Sep/2015 11:16:41 [Redis.cpp:105] Successfully connected to redis 127.0.0.1:6379@0 17/Sep/2015 11:16:41 [Ntop.cpp:910] Parent process is exiting (this is normal) 17/Sep/2015 11:16:41 [main.cpp:136] System has 4 CPU cores

On Thu, Sep 17, 2015 at 2:16 PM, Luca Deri notifications@github.com wrote:

Where is the error?

— Reply to this email directly or view it on GitHub https://github.com/ntop/ntopng/issues/143#issuecomment-141193352.

lucaderi commented 9 years ago

Please fetch the new code. I think I have solved it.

vidgizmo commented 9 years ago

Fetched... rebuilding from scratch since I had just cleaned everything out to rebuild w/o optimization. :)

THANKS for the amazing response.

On Thu, Sep 17, 2015 at 2:48 PM, Luca Deri notifications@github.com wrote:

Please fetch the new code. I think I have solved it.

— Reply to this email directly or view it on GitHub https://github.com/ntop/ntopng/issues/143#issuecomment-141206011.

vidgizmo commented 9 years ago

Still core dumping, now at a new bt from gdb

(gdb) bt

0 0x76778934 in strlen () from /lib/arm-linux-gnueabihf/libc.so.6

1 0x76743358 in vfprintf () from /lib/arm-linux-gnueabihf/libc.so.6

2 0x76764b58 in vsnprintf () from /lib/arm-linux-gnueabihf/libc.so.6

3 0x00014fcc in Trace::traceEvent (this=0x642c90, eventTraceLevel=3,

_file=0x15c8b4 "Privileges are not dropped as we're not superuser", line=1267, format=0x15cbc8 " MAC Speed = %u") at src/Trace.cpp:85

4 0x000209f4 in Utils::getMaxIfSpeed (ifname=0x644a88 "eth0") at

src/Utils.cpp:1268

5 0x0003e060 in NetworkInterface::NetworkInterface (this=0x644cd0,

name=0x644a88 "eth0") at src/NetworkInterface.cpp:194

6 0x0002ff40 in PcapInterface::PcapInterface (this=0x644cd0,

name=0x644a88 "eth0") at src/PcapInterface.cpp:30

7 0x0007cff8 in main (argc=12, argv=0x7eb53774) at src/main.cpp:182

On Thu, Sep 17, 2015 at 2:51 PM, Mike Burkett mike@burkett.org wrote:

Fetched... rebuilding from scratch since I had just cleaned everything out to rebuild w/o optimization. :)

THANKS for the amazing response.

On Thu, Sep 17, 2015 at 2:48 PM, Luca Deri notifications@github.com wrote:

Please fetch the new code. I think I have solved it.

— Reply to this email directly or view it on GitHub https://github.com/ntop/ntopng/issues/143#issuecomment-141206011.

vidgizmo commented 9 years ago

Running fine now, not sure what is different.

On Thu, Sep 17, 2015 at 4:11 PM, Mike Burkett mike@burkett.org wrote:

Still core dumping, now at a new bt from gdb

(gdb) bt

0 0x76778934 in strlen () from /lib/arm-linux-gnueabihf/libc.so.6

1 0x76743358 in vfprintf () from /lib/arm-linux-gnueabihf/libc.so.6

2 0x76764b58 in vsnprintf () from /lib/arm-linux-gnueabihf/libc.so.6

3 0x00014fcc in Trace::traceEvent (this=0x642c90, eventTraceLevel=3,

_file=0x15c8b4 "Privileges are not dropped as we're not superuser", line=1267, format=0x15cbc8 " MAC Speed = %u") at src/Trace.cpp:85

4 0x000209f4 in Utils::getMaxIfSpeed (ifname=0x644a88 "eth0") at

src/Utils.cpp:1268

5 0x0003e060 in NetworkInterface::NetworkInterface (this=0x644cd0,

name=0x644a88 "eth0") at src/NetworkInterface.cpp:194

6 0x0002ff40 in PcapInterface::PcapInterface (this=0x644cd0,

name=0x644a88 "eth0") at src/PcapInterface.cpp:30

7 0x0007cff8 in main (argc=12, argv=0x7eb53774) at src/main.cpp:182

On Thu, Sep 17, 2015 at 2:51 PM, Mike Burkett mike@burkett.org wrote:

Fetched... rebuilding from scratch since I had just cleaned everything out to rebuild w/o optimization. :)

THANKS for the amazing response.

On Thu, Sep 17, 2015 at 2:48 PM, Luca Deri notifications@github.com wrote:

Please fetch the new code. I think I have solved it.

— Reply to this email directly or view it on GitHub https://github.com/ntop/ntopng/issues/143#issuecomment-141206011.

surajit26 commented 8 years ago

Hi, I am new on this and I have installed ntopng 2.4.160705 in centos 7. However, I am getting following error message while selecting host>click on any host>protocol. Run time status also showing same error. I am attaching error message and run time status for your reference. /usr/share/ntopng/scripts/lua/host details ndpi.lua

Thanks a ton in advance for your response.

ntopng error

simonemainardi commented 8 years ago

@surajit26 I guess you didn't want to post the message here as you have opened a new issue with the same identical topic and content https://github.com/ntop/ntopng/issues/653