From owner-freebsd-stable@FreeBSD.ORG Mon May 4 16:07:00 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9270106566B for ; Mon, 4 May 2009 16:07:00 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id 8EE338FC08 for ; Mon, 4 May 2009 16:07:00 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 3451C33A16C; Mon, 4 May 2009 12:07:00 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Mon, 04 May 2009 12:07:00 -0400 X-Sasl-enc: Nk7sYFYTvFTxmHj5dFGT2VDREVU0UA84CsxSHF3dGZu4 1241453219 Received: from [192.168.123.18] (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTPSA id A651B29013; Mon, 4 May 2009 12:06:59 -0400 (EDT) Message-ID: <49FF12A0.3010009@incunabulum.net> Date: Mon, 04 May 2009 17:06:56 +0100 From: Bruce Simpson User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Leo References: <49FEC0AD.7090506@gmail.com> <49FF014F.7070107@incunabulum.net> <49FF09E1.5010306@gmail.com> In-Reply-To: <49FF09E1.5010306@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Help! regarding libpcap. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 May 2009 16:07:01 -0000 Leo wrote: > > I don't have other pcap lib installed on this box. Previously > installed a libpcap 0.9 on this box , But I've deleted this version. > On my box, not enable BPF. Let me try if enable the feature. That's probably what it is. Can you try the following: * give pcap configure --with-pcap=bpf WITHOUT having bpf in your kernel config. * try enabling bpf in kernel config and building the port as usual. Most likely libpcap's new configure script is detecting the lack of /dev/bpf* and assuming there is no packet capture support in the system. This needs to be fixed for cross compiling to be possible. If you could try at least the first fix then this is the answer. thanks, BMS