tcpdump mailing list archives
Re: SCO libpcap
From: "sufei7099" <sufei7099 () gmail com>
Date: Wed, 18 Jun 2008 09:10:45 +0800
The command of compile is : cc mypcap.c -I/usr/local/include -L/usr/local/lib -lpcap -lsocket -o mypcap sufei7099 2008-06-18 发件人: Guy Harris 发送时间: 2008-06-14 02:22:14 收件人: tcpdump-workers () lists tcpdump org 抄送: 主题: Re: [tcpdump-workers] SCO libpcap sufei7099 wrote:
I add the #incude <sys/types.h > in file.h,
I.e., you changed /usr/include/sys/file.h to include <sys/types.h >? Does /usr/include/sys/param.h include <sys/types.h > on your system?
then i make successfully. After i run make install, the result is : # make install
...
rm -f /usr/local/include/pcap-bpf.h rm -f /usr/local/include/pcap.h rm -f /usr/local/include/pcap-namedb.h cp pcap.h /usr/local/include cp pcap-bpf.h /usr/local/include cp pcap-namedb.h /usr/local/include
...
It meana i install the libpcap successfully. right?
Yes.
But when I run ./configure in snort directory, the result is :
...
checking for pcap_datalink in -lpcap... no checking pfring.h usability... no checking pfring.h presence... no checking for pfring.h... no checking for pfring_open in -lpfring... no checking for pfring_open in -lpcap... no ERROR! Libpcap library/headers (libpcap.a (or .so)/pcap.h) not found, go get it from http://www.tcpdump.org or use the --with-libpcap-* options, if you have it installed in unusual place. Also check if your libpcap depends on another shared library that may be installed in an unusual place
Presumably snort wrote out a config.log file; what are the contents of that file? - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe. - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- Re: SCO libpcap, (continued)
- Re: SCO libpcap Guy Harris (Jun 12)
- Re: SCO libpcap sufei7099 (Jun 12)
- Re: SCO libpcap Guy Harris (Jun 13)
- Re: SCO libpcap sufei7099 (Jun 13)
- Re: SCO libpcap Guy Harris (Jun 13)
- Re: SCO libpcap sufei7099 (Jun 16)
- Re: SCO libpcap sufei7099 (Jun 13)
- Re: SCO libpcap Guy Harris (Jun 13)
- Re: SCO libpcap sufei7099 (Jun 16)
- Re: SCO libpcap sufei7099 (Jun 16)
- Re: SCO libpcap sufei7099 (Jun 17)
- Re: SCO libpcap sufei7099 (Jun 22)
- Re: SCO libpcap sufei7099 (Jun 13)
- Re: SCO libpcap sufei7099 (Jun 17)