libpcap install problem.
davidmarkle at comcast.net
Thu Jun 26 19:13:51 PDT 2003
I am having a problem installing libpcap. Have a fresh 5.0-CURRENT
installed, ran cvsup and am all up to date with the tree. enter the
directory /usr/src/contrib/libpcap and run ./configure ....
Configure runs fine, but when I run make, I get the following :
gcc -O2 -I. -DHAVE_CONFIG_H -c ./pcap-bpf.c
pcap-bpf.c: In function `pcap_open_live':
pcap-bpf.c:207: storage size of `bdl' isn't known
pcap-bpf.c:334: `BIOCGDLTLIST' undeclared (first use in this function)
pcap-bpf.c:334: (Each undeclared identifier is reported only once
pcap-bpf.c:334: for each function it appears in.)
pcap-bpf.c: In function `pcap_set_datalink':
pcap-bpf.c:487: `BIOCSDLT' undeclared (first use in this function)
*** Error code 1
Stop in /usr/src/contrib/libpcap.
Can someone explain what is going wrong here ???? Does this indicate I have
to install bpf first ????
Much thanks in advance.
More information about the freebsd-questions