Here you go: rm /usr/local/include/pfring.h rm /usr/local/lib/libpfring.a rm /usr/local/lib/libpfring.so
or just install the new version. Alfredo On 10 Dec 2013, at 03:33, frwa onto <[email protected]> wrote: > Dear Alfredo, > Yes I can see it does work for you so does the svn source > match to the one I download from here > http://www.ntop.org/get-started/download/#PF_RING ( Stable). So should I > revert back to 5.6.0 but the problem I cant run make uninstall it keep giving > me the command is not found. Please guide how to uninstall the current 5.6.1 > ? > > > On Tue, Dec 10, 2013 at 4:14 AM, Alfredo Cardigliano <[email protected]> > wrote: > Frwa, > it works for me with the code in svn: > > svn co https://svn.ntop.org/svn/ntop/trunk/PF_RING > cd PF_RING/userland/lib > ./configure --disable-bpf > make > cd ../examples/ > cp pfcount.c pfcount1.c > gcc -DHAVE_PF_RING -I../../kernel -I../lib -c pfcount1.c -o pfcount1.o > gcc -DHAVE_PF_RING -I../../kernel -I../lib pfcount1.o ../lib/libpfring.a -lrt > -o pfcount1 > > (as you can see I did not include libpcap) > > Alfredo > > On 09 Dec 2013, at 19:02, frwa onto <[email protected]> wrote: > >> Dear Luca, >> Any luck on what I should do next ? If would like to >> uninstall this version in which folder should I run make uninstall ? >> >> >> On Mon, Dec 9, 2013 at 10:46 AM, frwa onto <[email protected]> wrote: >> Dear Luca, >> All this while we have disable libpcap using this command >> ./configure --disable-bpf as we want to use pure pf_ring and it was working >> well with that command so what is the workaround for this version then? I am >> afraid all our old codes will then have compilation errors due to this >> change. Please help with a work around on this. In addition below is how we >> normally do our compilation >> >> gcc -O2 -DHAVE_PF_RING -Wall -I /usr/local/PF_RING-5.6.0/userland/kernel >> -I /usr/local/PF_RING-5.6.0/userland/lib $(mysql_config --cflags) >> $(mysql_config --libs) -c pfcount1.c -o pfcount1.o >> >> and >> >> gcc -O2 -DHAVE_PF_RING -Wall -I /usr/local/PF_RING-5.6.0/userland/kernel >> -I /usr/local/PF_RING-5.6.0/userland/lib $(mysql_config --cflags) >> $(mysql_config --libs) pfcount1.o >> /usr/local/PF_RING-5.6.0/userland/lib/libpfring.a -lpthread -lnl -lrt -o >> pfcount1 >> >> You can notice we do did not include any libpcap and it works well. >> So will all this be effected then? >> >> Regards, >> Frwa. >> >> >> On Mon, Dec 9, 2013 at 6:49 AM, Luca Deri <[email protected]> wrote: >> Frwa, >> You do not have to disable libpcap as it is needed by pfring. Just compile it >> >> Luca >> >> Sent from my iPad (sorry for typos) >> >> On 08/dic/2013, at 16:34, frwa onto <[email protected]> wrote: >> >>> Dear Luca, >>> Below is what I saw in my userland/libpcap. Please tell me >>> which command is the right one to disable the libpcap isnt this the right >>> one to run from this folder [root@localhost lib]# ./configure --disable-bpf >>> . Everything have been working smoothly in the previous version ? >>> >>> >>> >>> On Sun, Dec 8, 2013 at 6:14 AM, Luca Deri <[email protected]> wrote: >>> frwa >>> for some reason the libcap library did not compile. Please cd >>> userland/libpcap and see what happens >>> >>> How did you disable libpcap? >>> >>> Luca >>> >>> On 08 Dec 2013, at 11:18, frwa onto <[email protected]> wrote: >>> >>> > We have used the previous version PF_RING-5.6.0 with the following steps >>> > of avoiding libpcap. >>> > We download today the latest version PF_RING-5.6.1 and below is the >>> > output for each step final in the /userland/example when we run the make >>> > it shows gcc: ../libpcap-1.1.1-ring/libpcap.a: No such file or directory >>> > gcc: ../libpcap-1.1.1-ring/libpcap.a: No such file or directory. Why is >>> > it still referring to libpcap when I have disable without any issue ? Is >>> > there any new command not covered in the guide ? >>>
_______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc
