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

Mailing List Archive: NTop: Misc

compile problem with nprobe pro 5.3.3_101709

 

 

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


bmengel at gmail

Oct 26, 2009, 8:35 AM

Post #1 of 1 (726 views)
Permalink
compile problem with nprobe pro 5.3.3_101709

Luca,

Autogen.sh runs cleanly but make fails as below. I think the gcc is
missing -lpfring after -lpcap, but I can't determine why it isn't
there. Running the gcc by hand with -lpfring results in a successful
compile.


[root [at] prob nprobe_5.3.3_101709_pro]# ldconfig -v |grep pfring
libpfring.so -> libpfring.so


[root [at] prob nprobe_5.3.3_101709_pro]# make
make all-recursive
make[1]: Entering directory `/root/nprobe_5.3.3_101709_pro'
Making all in .
make[2]: Entering directory `/root/nprobe_5.3.3_101709_pro'
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -pipe
-I/usr/local/include -I/opt/local/include
-I/root/nprobe_5.3.3_101709_pro/GeoIP-1.4.6/libGeoIP/ -g -O2 -pipe
-I/usr/local/include -I/opt/local/include
-I/root/nprobe_5.3.3_101709_pro/GeoIP-1.4.6/libGeoIP/ -L/usr/local/lib
-L/opt/local/lib -L/usr/local/lib -L/opt/local/lib -o nprobe
-L/usr/local/lib -L/opt/local/lib -pthread -lm nprobe-nprobe.o
libnprobe.la -lz -lresolv -ldl -lpthread -lsqlite3
-L/root/nprobe_5.3.3_101709_pro/GeoIP-1.4.6/libGeoIP/.libs/ -lGeoIP
-L/usr/local/lib -lpcap
gcc -g -O2 -pipe -I/usr/local/include -I/opt/local/include
-I/root/nprobe_5.3.3_101709_pro/GeoIP-1.4.6/libGeoIP/ -g -O2 -pipe
-I/usr/local/include -I/opt/local/include
-I/root/nprobe_5.3.3_101709_pro/GeoIP-1.4.6/libGeoIP/ -o .libs/nprobe
-pthread nprobe-nprobe.o -L/usr/local/lib -L/opt/local/lib -lm
./.libs/libnprobe.so
-L/root/nprobe_5.3.3_101709_pro/GeoIP-1.4.6/libGeoIP/.libs/ -lz
-lresolv -ldl -lpthread -lsqlite3
/root/nprobe_5.3.3_101709_pro/GeoIP-1.4.6/libGeoIP/.libs//libGeoIP.so
-lpcap
/usr/local/lib/libpcap.a(pcap-linux.o): In function `pcap_read_linux':
pcap-linux.c:(.text+0x87b): undefined reference to `pfring_recv'
/usr/local/lib/libpcap.a(pcap-linux.o): In function `pcap_cleanup_linux':
pcap-linux.c:(.text+0xb6e): undefined reference to `pfring_close'
/usr/local/lib/libpcap.a(pcap-linux.o): In function `pcap_activate_linux':
pcap-linux.c:(.text+0x158d): undefined reference to `pfring_open'
/usr/local/lib/libpcap.a(pcap-linux.o): In function `pcap_set_appl_name_linux':
pcap-linux.c:(.text+0xdd): undefined reference to `pfring_set_application_name'
collect2: ld returned 1 exit status
make[2]: *** [nprobe] Error 1
make[2]: Leaving directory `/root/nprobe_5.3.3_101709_pro'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/nprobe_5.3.3_101709_pro'
make: *** [all] Error 2
_______________________________________________
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.