Here are some compilation issues for the following setup: FreeBSD RELENG_8 i386 nDPI-svn_5213.tar.gz nprobe_6.9.1_020412_pro.tgz
Used for both: autoreconf -fiv, ./configure, make collect.c:749: warning: passing argument 1 of 'pthread_rwlock_rdlock' from incompatible pointer type engine.c:2248: warning: passing argument 1 of 'pthread_rwlock_destroy' from incompatible pointer type engine.c:2249: warning: passing argument 1 of 'pthread_rwlock_destroy' from incompatible pointer type Warning: Linking the shared library libnprobe.la against the static library nDPI/src/lib/.libs/libndpi.a is not portable! Warning: Linking the shared library libnprobe.la against the non-libtool objects systemId.o is not portable! Also, creating a static binary using any standard means such as: CPPFLAGS=-static LDFLAGS=-static ./configure does not seem to work. What is the automagic way to do this? This may be a minimal hack for that: gcc -static -pthread -g -O2 -o nprobes nprobe-nprobe.o ./.libs/libnprobe.a /usr/local/lib/libGeoIP.a ./nDPI/src/lib/.libs/libndpi.a -lpcap _______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc
