I just svn up'ed and I'm trying to rebuild nDPI and I'm getting the following 
error:

sudo make
make  all-recursive
Making all in src/include
make[2]: Nothing to be done for `all'.
Making all in 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 
-fno-color-diagnostics -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 -fno-color-diagnostics -g -O2 -MT 
libndpi_la-ahocorasick.lo -MD -MP -MF .deps/libndpi_la-ahocorasick.Tpo -c 
third_party/src/ahocorasick.c  -fno-common -DPIC -o 
.libs/libndpi_la-ahocorasick.o
cc1: error: unrecognized command line option "-fno-color-diagnostics"
make[2]: *** [libndpi_la-ahocorasick.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

After editing both nDPI/Makefile and nDPI/src/lib/Makefile and removing (3) 
references to this option, it builds fine.

I'm using gcc version: i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on 
Apple Inc. build 5658) (LLVM build 2336.11.00)

Thanks &
Cheers,

Toby
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to