From owner-freebsd-questions@FreeBSD.ORG Thu Jun 26 19:13:50 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 D271B37B401 for ; Thu, 26 Jun 2003 19:13:50 -0700 (PDT) Received: from smtp-out.comcast.net (smtp-out.comcast.net [24.153.64.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45FFD43F85 for ; Thu, 26 Jun 2003 19:13:50 -0700 (PDT) (envelope-from davidmarkle@comcast.net) Received: from elephant (pcp01506561pcs.kenets01.pa.comcast.net [68.82.146.231]) by mtaout01.icomcast.net (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) questions@freebsd.org; Thu, 26 Jun 2003 22:12:27 -0400 (EDT) Date: Thu, 26 Jun 2003 22:09:11 -0400 From: David Markle To: questions@freebsd.org 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=iso-8859-1 Content-transfer-encoding: 7BIT Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Subject: 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 02:13:51 -0000 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