Stefan
on 64 bit platforms we don't have problems either (i.e. we have binary packages available at packages.ntop.org). What is the OS/version you are using? Is /usr/local/lib/libpfring.so in sync with your PF_RING module?

Regards Luca

On 11/21/2012 08:03 AM, [email protected] wrote:
Good morning,

has anyone seen this kind of compile issue before:

make[2]: Entering directory 
`/data/development/nprobe_6.9.9_103012_svn2772_proplugins'
/bin/bash ./libtool --tag=CC   --mode=link gcc  -g -g -O2 -I/usr/local/include 
-I/opt/local/include systemId.o -L/usr/local/lib
-L/opt/local/lib -pthread -lm -L/usr/local/lib -L/opt/local/lib -o nprobe 
nprobe-nprobe.o libnprobe.la -lrt -lresolv -lrt -ldl
-lpthread  -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lpthread -lz -lm -lrt 
-ldl -lwrap  -L/usr/local/lib -lpcap
/home/egger/development/nprobe_6.9.9/nDPI/src/lib/.libs/libndpi.a
libtool: link: gcc -g -g -O2 -I/usr/local/include -I/opt/local/include 
systemId.o -pthread -o .libs/nprobe nprobe-nprobe.o
-L/usr/local/lib -L/opt/local/lib ./.libs/libnprobe.so -lresolv 
-L/usr/lib/x86_64-linux-gnu -lmysqlclient -lpthread -lz -lm -lrt
-ldl -lwrap -lpcap 
/home/egger/development/nprobe_6.9.9/nDPI/src/lib/.libs/libndpi.a -pthread 
-Wl,-rpath -Wl,/usr/local/lib
/usr/bin/ld: nprobe-nprobe.o: undefined reference to symbol 
'pfring_set_bpf_filter'
/usr/bin/ld: note: 'pfring_set_bpf_filter' is defined in DSO 
/usr/local/lib/libpfring.so so try adding it to the linker command line
/usr/local/lib/libpfring.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [nprobe] Error 1
make[2]: Leaving directory 
`/data/development/nprobe_6.9.9_103012_svn2772_proplugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/data/development/nprobe_6.9.9_103012_svn2772_proplugins'
make: *** [all] Error 2

I update pf_ring before I tried to compile the nProbe stuff.

PF_RING Version     : 5.5.1 ($Revision: 5827$)
Ring slots          : 16384
Slot version        : 14
Capture TX          : No [RX only]
IP Defragment       : No
Socket Mode         : Standard
Transparent mode    : No (mode 2)
Total rings         : 8
Total plugins       : 0


It seem that I have this problem only on the 64 Bit plattform.
I was able to compile nProbe without any problem on a 32 bit ubuntu .


Thanks for your help
Stefan

__________________________________________
Stefan Egger, MAS IT / Security
Securityarchitekt CSIRT

Eidgenössisches Finanzdepartement EFD
Bundesamt für Informatik und Telekommunikation BIT
IT-Sicherheit und Risikomanagement BPSR
Monbijoustrasse 74, 3003 Bern
Tel:  +41 31 322 14 54
Fax: +41 31 325 90 30
[email protected]
Internet: http://www.bit.admin.ch




_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to