Additional info. I removed my ntopng dir and did a fresh svn co.
On second system I just did a svn update and did not get the following errors. I then did a remove of the ntopng dir on this second system and did a fresh co and it also then got the errors below. On 06/14/2013 07:20 AM, Steve Clark wrote:
Hi, I have ntopng and PF_RING both at r6411 $ ./configure checking for gnutls... checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 gnutls_priority_set in -lgnutls... no Checking RRD prerequisites... checking for xmlParseFile in -lxml2... yes checking for glib_check_version in -lglib-2.0... yes checking for GeoIP_record_by_ipnum in -lGeoIP... no 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 GeoIP.h usability... no checking GeoIP.h presence... no checking for GeoIP.h... no Build ntop without geolocation - GeoIP (http://www.maxmind.com/) configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged You are now ready to compile typing /usr/bin/gmake Fri Jun 14 07:17:50 EDT 2013 P201002:~/ntopng $ gmake g++ -g -Wall -Ithird-party/credis-0.2.3 -I./third-party/mongoose -I./nDPI/src/include -I./third-party/LuaJIT-2.0.1/src -Ithird-party/rrdtool-1.4.7/src/ -I./third-party/zeromq-3.2.3/include -D SVN_RELEASE="6411" -I/usr/local/include -I/opt/local/include -I/var/lib/pgsql/PF_RING/kernel -I/var/lib/pgsql/PF_RING/userland/lib -Ithird-party/http-client-c/src/ -c Address.cpp -o Address.o In file included from ./nDPI/src/include/ndpi_structs.h:29, from ./nDPI/src/include/ndpi_main.h:171, from ntop_includes.h:66, from Address.cpp:22: ./nDPI/src/include/../../config.h:48:1: warning: "PACKAGE_NAME" redefined In file included from ntop_includes.h:25, from Address.cpp:22: config.h:59:1: warning: this is the location of the previous definition In file included from ./nDPI/src/include/ndpi_structs.h:29, from ./nDPI/src/include/ndpi_main.h:171, from ntop_includes.h:66, from Address.cpp:22: ./nDPI/src/include/../../config.h:51:1: warning: "PACKAGE_STRING" redefined In file included from ntop_includes.h:25, from Address.cpp:22: config.h:65:1: warning: this is the location of the previous definition In file included from ./nDPI/src/include/ndpi_structs.h:29, from ./nDPI/src/include/ndpi_main.h:171, from ntop_includes.h:66, from Address.cpp:22: ./nDPI/src/include/../../config.h:54:1: warning: "PACKAGE_TARNAME" redefined In file included from ntop_includes.h:25, from Address.cpp:22: config.h:68:1: warning: this is the location of the previous definition In file included from ./nDPI/src/include/ndpi_structs.h:29, from ./nDPI/src/include/ndpi_main.h:171, from ntop_includes.h:66, from Address.cpp:22: ./nDPI/src/include/../../config.h:60:1: warning: "PACKAGE_VERSION" redefined In file included from ntop_includes.h:25, from Address.cpp:22: config.h:71:1: warning: this is the location of the previous definition In file included from Redis.h:26, from ntop_includes.h:80, from Address.cpp:22: third-party/credis-0.2.3/credis.h:97: error: multiple definition of 'enum _cr_aggregate' ./nDPI/src/include/ndpi_credis.h:97: error: previous definition here third-party/credis-0.2.3/credis.h:98: error: conflicting declaration 'NONE' ./nDPI/src/include/ndpi_credis.h:98: error: 'NONE' has a previous declaration as '_cr_aggregate NONE' third-party/credis-0.2.3/credis.h:99: error: conflicting declaration 'SUM' ./nDPI/src/include/ndpi_credis.h:99: error: 'SUM' has a previous declaration as '_cr_aggregate SUM' third-party/credis-0.2.3/credis.h:100: error: conflicting declaration 'MIN' ./nDPI/src/include/ndpi_credis.h:100: error: 'MIN' has a previous declaration as '_cr_aggregate MIN' third-party/credis-0.2.3/credis.h:101: error: conflicting declaration 'MAX' ./nDPI/src/include/ndpi_credis.h:101: error: 'MAX' has a previous declaration as '_cr_aggregate MAX' third-party/credis-0.2.3/credis.h:108: error: redefinition of 'struct _cr_info' ./nDPI/src/include/ndpi_credis.h:108: error: previous definition of 'struct _cr_info' third-party/credis-0.2.3/credis.h:133: error: invalid type in declaration before ';' token gmake: *** [Address.o] Error 1 -- 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
