Hi Luca,
The main reason I had -c none was I kept getting memory allocation errors.
Especially on the
main site I am testing.
Thanks,
Steve
On 06/16/2013 05:11 PM, Luca Deri wrote:
Steve
can you please resync; I did fix both nDPI and the Categorization. I have set
it as optional as I see many of you do not like to tell too much to third party
companies (didi I interprets your '-c none' correctly?)
Regards Luca
On Jun 16, 2013, at 8:30 PM, Steve Clark <[email protected]
<mailto:[email protected]>> wrote:
Hi,
I was first getting this error on building ntopng r6430
gmake[1]: Entering directory `/var/lib/pgsql/ntopng/nDPI'
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh
/var/lib/pgsql/ntopng/nDPI/missing aclocal-1.13 -I m4
/var/lib/pgsql/ntopng/nDPI/missing: line 81: aclocal-1.13: command not found
WARNING: 'aclocal-1.13' is missing on your system.
You should only need it if you modified 'acinclude.m4' or
'configure.ac' or m4 files included by 'configure.ac'.
The 'aclocal' program is part of the GNU Automake package:
<http://www.gnu.org/software/automake>
It also requires GNU Autoconf, GNU m4 and Perl in order to run:
<http://www.gnu.org/software/autoconf>
<http://www.gnu.org/software/m4/>
<http://www.perl.org/>
gmake[1]: *** [aclocal.m4] Error 127
So I cd'ed into the nDPI and ran autoreconf -ivf
Then deleted line 85 in npdi_main.h and did
a gmake. I was then able to build ntopng.
On 06/16/2013 02:07 PM, Steve Clark wrote:
Hi guys,
I am getting errors in the nDPI now.
/usr/bin/gmake all-recursive
gmake[2]: Entering directory `/var/lib/pgsql/ntopng/nDPI'
Making all in src/include
gmake[3]: Entering directory `/var/lib/pgsql/ntopng/nDPI/src/include'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/var/lib/pgsql/ntopng/nDPI/src/include'
Making all in src/lib
gmake[3]: Entering directory `/var/lib/pgsql/ntopng/nDPI/src/lib'
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../.. -I../../src/include/ -I../../src/lib/third_party/include/ -fPIC -g
-O2 -MT libndpi_la-ahocorasick.lo -MD -MP -MF .deps/libndpi_la-ahocorasick.Tpo
-c -o libndpi_la-ahocorasick.lo `test -f 'third_party/src/ahocorasick.c' ||
echo './'`third_party/src/ahocorasick.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include/
-I../../src/lib/third_party/include/ -fPIC -g -O2 -MT libndpi_la-ahocorasick.lo
-MD -MP -MF .deps/libndpi_la-ahocorasick.Tpo -c third_party/src/ahocorasick.c
-fPIC -DPIC -o .libs/libndpi_la-ahocorasick.o
In file included from third_party/src/ahocorasick.c:28:
../../src/include/ndpi_main.h:85: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'u_int64_t'
gmake[3]: *** [libndpi_la-ahocorasick.lo] Error 1
gmake[3]: Leaving directory `/var/lib/pgsql/ntopng/nDPI/src/lib'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/var/lib/pgsql/ntopng/nDPI'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/var/lib/pgsql/ntopng/nDPI'
gmake: *** [nDPI/src/lib/.libs/libndpi.a] Error 2
Sun Jun 16 14:03:53 EDT 2013
P201002:~/ntopng
$ svn update
At revision 6430
--
Stephen Clark
*NetWolves*
Director of Technology
Phone: 813-579-3200
Fax: 813-882-0209
Email: [email protected]
http://www.netwolves.com
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev
--
Stephen Clark
*NetWolves*
Director of Technology
Phone: 813-579-3200
Fax: 813-882-0209
Email: [email protected]
http://www.netwolves.com
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev