Stefan, if you have something installed, then autogen uses that. If instead you do not have anything installed but on your home you have a directory named PF_RING then nprobe will use that one
Regards Luca On Nov 22, 2012, at 4:22 PM, [email protected] wrote: > Hi Luca, > > I still own you an answer about the nprobe build problem. I figured out the > following: > > If I move /usr/local/lib/libpfring.* to another directory before I start > autogen.sh, > I’m able to build nprobe. Of course I need to copy the library back to the > origin place. > Even if I execute “make clean” the build will be successful again. > It seem, the autogen.sh has a problem with the dependencies. > > Regards Stefan > > > > > Von: [email protected] > [mailto:[email protected]] Im Auftrag > [email protected] > Gesendet: Mittwoch, 21. November 2012 14:33 > An: [email protected] > Betreff: Re: [Ntop-misc] nprobe 6.9.9 Compile Issues > > I didn’t install nprobe before. That was the first tray to build it. > > I will try the de-install pf_ring stuff this evening. > > > Von: [email protected] > [mailto:[email protected]] Im Auftrag von Luca Deri > Gesendet: Mittwoch, 21. November 2012 14:12 > An: [email protected] > Betreff: Re: [Ntop-misc] nprobe 6.9.9 Compile Issues > > Hi Stefan > On 11/21/2012 02:03 PM, [email protected] wrote: > Hi Luca, > > yes it should in sync. I updated the pf_ring stuff this morning after I ran > into this error the first time. That was my first guess … > > rev => 5827 > > As you have also done make install prior to compile nprobe right? > > For binary: > I’m running ubuntu server 12.04 LTS / 64 bit > > I found the binary section, but what’s about the additional plugings? I also > own dns, mail,http … > Yes of course. The fact that we have the stuff compiled is an evidence that > there is something wrong. > > Can you please de-install PF_RING (no /usr/local....), download it from SVN, > compile it but not make install and then compile nProbe? > > Thanks Luca > > > > regards Stefan > > > > Von: [email protected] > [mailto:[email protected]] Im Auftrag von Luca Deri > Gesendet: Mittwoch, 21. November 2012 10:23 > An: [email protected] > Betreff: Re: [Ntop-misc] nprobe 6.9.9 Compile Issues > > Stefan > on 64 bit platforms we don't have problems either (i.e. we have binary > packages available atpackages.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 > > _______________________________________________ > 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
