Hi,
I do not know if this will help
here are a complete list of steps regarding the compiling of libpcap, from a
install doc I writing.
I had the same issue as you before.
By doing the standard install I can duplicate you problem.
By following these steps, the problem is resolved.
Some of the steps may not be necessary, but it works when I follow them, and
I'm happy with that.
Note: step 15-VIII, here I use pfring.o, in my last email I suggested
libpfring.a
Hope it helps,
PBW.
14] Make libpfring
I) cd /PF_RING/userland/libpfring
II) make
15] Make the libpcap library (Assuming you have downloaded libpcap-0.9.4 Source
to /SOURCE)
I) cd /PF_RING/userland
II) tar xvf /SOURCE/libpcap-0.9.4.tar
III) cd libpcap-0.9.4
IV) cp ../libpcap-0.9.4-ring/pcap* .
cp ../libpfring/pfring.h .
cp ../libpfring/libpfring.a .
cp ../libpfring/pfring.h /usr/local/include
cp ../libpfring/pfring.h /usr/include
V) ./configure CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib"
VI) vi Makefile
VII) Set the following values...
VIII) INCLS = -I.
LIBS = ../libpfring/pfring.o
IX) Find "libpcap.so" and change the line from...
ld -shared -o [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
VERSION` $(OBJ)
to...
ld -shared -o [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
VERSION` $(OBJ) $(LIBS)
X) ln -s linux /usr/src/kernels/linux-2.6.18.3/include/linux
XI) make
XII) make install
XIII) make install-shared
XIV) make install-shared-so
XV) cd /usr/lib
XVI) rm libpcap*
XVII) cp /usr/local/lib/libpcap* .
XVIII) ln -s libpcap.so.0.9.4 libpcap.so
XIX) ln -s libpcap.so.0.9.4 libpcap.so.0
XX) ln -s libpcap.so.0.9.4 libpcap.so.0.9
I the cd to the tcpdump source dir and do the following configure...
./configure CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib -lpfring"
followed by a make
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of yannis
ymark
Sent: Freitag, 8. Dezember 2006 10:42
To: [email protected]
Subject: [Ntop-misc] tcpdump with libpcap PF_RING enabled problem
tnx for your help but unfortunately it didn't work...
i even tried tou put pfring.h file from /usr/local/include at
/usr/include
and chagne the file pcap-int.h at line #include "pfring.h"
to #include<pfring.h> but the problem remains.
I even uninstalled and installed back again libcap but nothing...
________________________________
×ñçóéìïðïéåßôå Yahoo!
ÂáñåèÞêáôå ôá åíï÷ëçôéêÜ ìçíý ìáôá (spam); Ôï Yahoo! Mail äéáèÝôåé ôçí
êáëýôåñç äõíáôÞ ðñïóôáóßá êáôÜ ôùí åíï÷ëçôéêþí ìçíõìÜôùí
http://login.yahoo.com/config/mail?.intl=gr
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc