Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jun 2003 08:16:59 -0400
From:      David Markle <davidmarkle@comcast.net>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        questions@freebsd.org
Subject:   RE: libpcap install problem.
Message-ID:  <BDELILKGNFPFIMOJKDOIKEJGDCAA.davidmarkle@comcast.net>
In-Reply-To: <20030627033152.GB65335@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Same error from /usr/sec/lib/libpcap  ...

# pwd
/usr/src/lib/libpcap
# make obj ; make ; make install
cc -O -pipe -mcpu=pentiumpro -DHAVE_CONFIG_H -Dyylval=pcap_lval -I/usr/src/l
ib/libpcap -I. -DINET6 -I/usr/src/lib/libpcap/../../contrib/libpcap  -c
/usr/src/lib/libpcap/../../contrib/libpcap/pcap-bpf.c -o pcap-bpf.o
/usr/src/contrib/libpcap/pcap-bpf.c: In function `pcap_open_live':
/usr/src/contrib/libpcap/pcap-bpf.c:207: storage size of `bdl' isn't known
/usr/src/contrib/libpcap/pcap-bpf.c:334: `BIOCGDLTLIST' undeclared (first
use in this function)
/usr/src/contrib/libpcap/pcap-bpf.c:334: (Each undeclared identifier is
reported only once
/usr/src/contrib/libpcap/pcap-bpf.c:334: for each function it appears in.)
/usr/src/contrib/libpcap/pcap-bpf.c: In function `pcap_set_datalink':
/usr/src/contrib/libpcap/pcap-bpf.c:487: `BIOCSDLT' undeclared (first use in
this function)
*** Error code 1

Stop in /usr/src/lib/libpcap.
install -C -o root -g wheel -m 444   libpcap.a /usr/lib
install: libpcap.a: No such file or directory
*** Error code 71

Stop in /usr/src/lib/libpcap.

-----Original Message-----
From: Dan Nelson [mailto:dnelson@allantgroup.com]
Sent: Thursday, June 26, 2003 11:32 PM
To: David Markle
Cc: questions@freebsd.org
Subject: Re: libpcap install problem.


In the last episode (Jun 26), David Markle said:
> 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 ....

/usr/src/contrib is for raw 3rd-party sources.  You shouldn't build
anything in there.  Cd into /usr/src/lib/libpcap instead and run "make
obj ; make ; make install".

--
	Dan Nelson
	dnelson@allantgroup.com



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