That cleared it right up! Thanks.
On Oct 7, 2013, at 10:28 AM, Luca Deri <[email protected]> wrote: > Toby > I have added it because I updated to Xcode 5 and this is needed. > > deri@iMacLuca 210> gcc -v > Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr > --with-gxx-include-dir=/usr/include/c++/4.2.1 > Apple LLVM version 5.0 (clang-500.2.76) (based on LLVM 3.3svn) > Target: x86_64-apple-darwin12.5.0 > Thread model: posix > > Please update you too > > Luca > > On Oct 7, 2013, at 4:36 PM, Toby Simmons <[email protected]> wrote: > >> 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 > > _______________________________________________ > Ntop-dev mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop-dev _______________________________________________ Ntop-dev mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-dev
