Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jun 2003 22:09:11 -0400
From:      David Markle <davidmarkle@comcast.net>
To:        questions@freebsd.org
Subject:   libpcap install problem.
Message-ID:  <BDELILKGNFPFIMOJKDOICEJBDCAA.davidmarkle@comcast.net>

next in thread | raw e-mail | index | archive | help
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 :

# make
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.

David



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BDELILKGNFPFIMOJKDOICEJBDCAA.davidmarkle>