From owner-freebsd-current@FreeBSD.ORG Sun Oct 21 13:34:12 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D5B616A469 for ; Sun, 21 Oct 2007 13:34:12 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id 8A61F13C4C8 for ; Sun, 21 Oct 2007 13:33:10 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.1/8.14.1) with ESMTP id l9L5Wqfq008262; Sun, 21 Oct 2007 09:32:52 +0400 (MSD) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1192944772; bh=WCixmKAzqkBXY+62RopgIw3as8VCb9sl/7k0UrM /sK0=; l=1199; h=Date:From:To:Subject:Message-ID:Mail-Followup-To: MIME-Version:Content-Type:Content-Disposition:User-Agent; b=f+Zygd qTHunyed1eDtraWjK5erx6YarnZO2I13P2r2NtI/GcQ7VCdJSFSP5cEl9uhZjDQ4N1U AQSkFITzsGevltGaBZEwG0DkRkX/RdFc1TIfmIEZdlCL/VEQHBR6RsNbNGQIXrQdydY NtDIs12qtfZuLIpNuDGJP9AhHQ6AAJ0= Received: (from ache@localhost) by nagual.pp.ru (8.14.1/8.14.1/Submit) id l9L5WqHG008261; Sun, 21 Oct 2007 09:32:52 +0400 (MSD) (envelope-from ache) Date: Sun, 21 Oct 2007 09:32:52 +0400 From: Andrey Chernov To: current@freebsd.org, mlaier@freebsd.org Message-ID: <20071021053252.GA8202@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , current@freebsd.org, mlaier@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-06-09) Cc: Subject: libpcap building error X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2007 13:34:12 -0000 Obviously we miss some DLT_* entries in our : cc -O2 -fno-strict-aliasing -pipe -march=pentium4 -DHAVE_CONFIG_H -Dyylval=pcapyylval -I/usr/src/lib/libpcap -I. -D_U_="__attribute__((unused))" -DHAVE_SNPRINTF -DHAVE_VSNPRINTF -I/usr/src/lib/libpcap/../../contrib/libpcap -c /usr/src/lib/libpcap/../../contrib/libpcap/pcap.c /usr/src/lib/libpcap/../../contrib/libpcap/pcap.c:382: error: 'DLT_MFR' undeclared here (not in a function) /usr/src/lib/libpcap/../../contrib/libpcap/pcap.c:383: error: 'DLT_JUNIPER_VP' undeclared here (not in a function) /usr/src/lib/libpcap/../../contrib/libpcap/pcap.c:385: error: 'DLT_A429' undeclared here (not in a function) /usr/src/lib/libpcap/../../contrib/libpcap/pcap.c:386: error: 'DLT_A653_ICM' undeclared here (not in a function) /usr/src/lib/libpcap/../../contrib/libpcap/pcap.c:387: error: 'DLT_USB' undeclared here (not in a function) /usr/src/lib/libpcap/../../contrib/libpcap/pcap.c:388: error: 'DLT_BLUETOOTH_HCI_H4' undeclared here (not in a function) /usr/src/lib/libpcap/../../contrib/libpcap/pcap.c:389: error: 'DLT_CAN20B' undeclared here (not in a function) *** Error code 1 -- http://ache.pp.ru/