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:[EMAIL PROTECTED]
Sent: Thursday, June 26, 2003 11:32 PM
To: David Markle
Cc: [EMAIL PROTECTED]
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
        [EMAIL PROTECTED]

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to