Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: NTop: Misc

nProbe 6.9.1 compilation FreeBSD

 

 

NTop misc RSS feed   Index | Next | Previous | View Threaded


grarpamp at gmail

Feb 29, 2012, 8:32 PM

Post #1 of 1 (223 views)
Permalink
nProbe 6.9.1 compilation FreeBSD

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
Ntop-misc [at] listgateway
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

NTop misc RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.