Hello, today update a old system with ntopng last svn versión.


/usr/local/src/ntopng# ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: configure.ac: not using Automake
autoreconf: Leaving directory `.'
Now run ./configure


Now configure:

/usr/local/src/ntopng# ./configure
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 PF_RING source installed in /root/PF_RING... checking for
pcap_open_live in -lpcap... yes
checking for gnutls... checking for gnutls_priority_set in -lgnutls... yes
checking for gcrypt... checking for gcry_check_version in -lgcrypt... yes
Checking RRD prerequisites...
checking for xmlParseFile in -lxml2... yes
checking for glib_check_version in -lglib-2.0... yes
checking for zlibVersion in -lz... yes
checking for dlopen in -ldl... yes
checking for numa_available in -lnuma... no
checking if libnuma is present... no
checking for GeoIP_record_by_ipnum in -lGeoIP... 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 GeoIP.h usability... yes
checking GeoIP.h presence... yes
checking for GeoIP.h... yes
checking for GeoIP_lib_version in -lGeoIP... yes
checking for nl_handle_alloc in -lnl... no
checking for sqlite3_open in -lsqlite3... yes
configure: creating ./config.status
config.status: creating packages/ntopng.spec
config.status: creating packages/ntopng-data.spec
config.status: creating Makefile
config.status: creating doc/doxygen.conf
config.status: creating config.h
config.status: config.h is unchanged
You are now ready to compile typing make
Please do not forget to download GeoIP databases doing: make geoip

next, geoip


/usr/local/src/ntopng# make geoip
make: Nothing to be done for `geoip'.

This fail, and now when try compile:

........
y/json-c -I./nDPI/src/include -I./third-party/LuaJIT-2.0.3/src
-Ithird-party/rrdtool-1.4.8/src/ -I./third-party/zeromq-3.2.3/include
-I/usr/local/include -I/opt/local/include -Ithird-party/http-client-c/src/
-Ithird-party/EWAHBoolArray/headers   -c ExportInterface.cpp -o
ExportInterface.o
g++ -g -Wall  -I/usr/local/include -I/opt/local/include
-Ithird-party/hiredis -I./third-party/mongoose -Ithird-party/json-c
-I./nDPI/src/include -I./third-party/LuaJIT-2.0.3/src
-Ithird-party/rrdtool-1.4.8/src/ -I./third-party/zeromq-3.2.3/include
-I/usr/local/include -I/opt/local/include -Ithird-party/http-client-c/src/
-Ithird-party/EWAHBoolArray/headers   -c Flow.cpp -o Flow.o
Flow.cpp: In member function 'void Flow::processDetectedProtocol()':
Flow.cpp:226:18: error: 'struct ndpi_flow_struct' has no member named
'protos'
Flow.cpp:229:20: error: 'struct ndpi_flow_struct' has no member named
'protos'
Flow.cpp:259:8: error: 'NDPI_SERVICE_GOOGLE' was not declared in this scope
Flow.cpp:260:19: error: 'struct ndpi_flow_struct' has no member named
'nat_ip'
Flow.cpp:263:39: error: 'struct ndpi_flow_struct' has no member named
'nat_ip'
Flow.cpp:292:16: error: 'struct ndpi_flow_struct' has no member named
'detected_os'
Flow.cpp:293:36: error: 'struct ndpi_flow_struct' has no member named
'detected_os'
Flow.cpp:296:40: error: 'struct ndpi_flow_struct' has no member named
'detected_os'
make: *** [Flow.o] Error 1


My os its not detected.

I am using debían 32 bits.
/usr/local/src/ntopng# uname -a
Linux vps 2.6.32-042stab085.20 #1 SMP Fri Mar 21 19:07:05 MSK 2014 i686
GNU/Linux

i am running a old versión (1 yeard old) from ntopng without problems in
this machine, and today update two more debían 7 64bits without problems.

i thing its a bug.

Congratulations for the lasts versións and major improvements. (like flood
detection and new alerts).

A Happy user, Regards.
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to