From owner-freebsd-questions@FreeBSD.ORG Fri Jun 27 05:21:39 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D5F3437B401 for ; Fri, 27 Jun 2003 05:21:39 -0700 (PDT) Received: from smtp-out.comcast.net (smtp-out.comcast.net [24.153.64.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id 35B7143F85 for ; Fri, 27 Jun 2003 05:21:39 -0700 (PDT) (envelope-from davidmarkle@comcast.net) Received: from elephant (pcp01506561pcs.kenets01.pa.comcast.net [68.82.146.231]) by mtaout04.icomcast.net (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) questions@freebsd.org; Fri, 27 Jun 2003 08:20:15 -0400 (EDT) Date: Fri, 27 Jun 2003 08:16:59 -0400 From: David Markle In-reply-to: <20030627033152.GB65335@dan.emsphone.com> To: Dan Nelson Message-id: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal cc: questions@freebsd.org Subject: RE: libpcap install problem. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: davidmarkle@comcast.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2003 12:21:40 -0000 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