tcpdump mailing list archives

Re: pcap-loop on Ubuntu 10.10


From: Guy Harris <guy () alum mit edu>
Date: Wed, 15 Jun 2011 21:35:51 -0700


On Jun 15, 2011, at 2:11 PM, Jeff Dean wrote:

I tried installing the current tcpdump (because I needed the recent libpcap), and the configure step failed.  The 
message was on checking the pcap_loop.  My system has libpcap0.8 and libpcap0.8-dev installed.

...but you're not trying to build with either of them and, in fact, the tcpdump configure script found what is 
presumably the recent libpcap that you'd already built:

configure:7132: checking for local pcap library
configure:7374: result: ./../libpcap/libpcap.a

However, there's something wrong with that libpcap:

configure:7526: gcc -o conftest -DINET6 -g -O2   conftest.c ./../libpcap/libpcap.a  -ldnet  >&5
./../libpcap/libpcap.a(gencode.o): In function `pcap_compile':
/home/jsdean/libpcap/./gencode.c:451: undefined reference to `pcap_parse'

Could you show us the build log for the current libpcap?  (The one that's presumably in ~/libpcap.)-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: