tcpdump mailing list archives

Re: Hi, There is a problem i need to report


From: Guy Harris <guy () alum mit edu>
Date: Fri, 23 Dec 2011 10:23:15 -0800


On Dec 23, 2011, at 5:36 AM, 赵彤 wrote:

checking for local pcap library... ./../libpcap-1.2.0/libpcap.a
checking for pcap-config... ./../libpcap-1.2.0/pcap-config
checking for pcap_loop... no
configure: error: Report this to tcpdump-workers () lists tcpdump org, and include the
config.log file in your report

configure:7132: checking for local pcap library
configure:7374: result: ./../libpcap-1.2.0/libpcap.a
configure:7378: checking for pcap-config
configure:7396: found ./../libpcap-1.2.0/pcap-config
configure:7408: result: ./../libpcap-1.2.0/pcap-config
configure:7470: checking for pcap_loop
configure:7526: gcc -o conftest -DINET6 -g -O2   conftest.c ./../libpcap-1.2.0/libpcap.a   >&5
./../libpcap-1.2.0/libpcap.a(gencode.o): In function `pcap_compile':
/home/zt/software/libpcap-1.2.0/./gencode.c:451: undefined reference to `pcap_parse'

You also installed libpcap 1.2.0, and built it, and are trying to build tcpdump 4.2.0 with that version of libpcap.

The build produced a bad library; we would need to see the output of the make you did to build libpcap, and the 
config.log file from the libpcap-1.2.0 directory, in order to help you any further, as we would need to figure out why 
the libpcap build didn't work correctly.-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: