From owner-freebsd-stable@FreeBSD.ORG Tue May 5 02:39:29 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 57764106564A for ; Tue, 5 May 2009 02:39:29 +0000 (UTC) (envelope-from yaol.leo@gmail.com) Received: from mail-fx0-f162.google.com (mail-fx0-f162.google.com [209.85.220.162]) by mx1.freebsd.org (Postfix) with ESMTP id B22F68FC14 for ; Tue, 5 May 2009 02:39:28 +0000 (UTC) (envelope-from yaol.leo@gmail.com) Received: by fxm6 with SMTP id 6so4195936fxm.43 for ; Mon, 04 May 2009 19:39:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=pC4NeYM7rt+vei5ekCoGOIWO7nJyuIuNakfOxKULz4I=; b=Fr6K9T5QTlXt5y2ztlWkAPtdrvSQ/jBP7RWIqJTrG18DtrCcFUMtbn/vcPgToEIQPQ om0GA7xazna1T78dwaWDjyTyQf2crV1XT2kkOzOlKpBP55LtE91l59viUCbnqswYnRSH 8PqMLj7j4dRvFLywmDzagV0IjI8xLLL0uoSwo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=Gqb3d8HGHutzWNCUEdD4h02pH62tqOPsK+WrCRXyVpjtujD1bGeLmo0KG/z5qmhlw1 3OVXg8/2O4y0SqLynkJSgobujd/ga8HiOBgHXXmOUdwNg8WIDnRtwgvSLzXT6WUOqV0W venqtkjAP0ZmoYVChxRunw3WmPLoU05qsOe7E= Received: by 10.86.82.6 with SMTP id f6mr6514611fgb.79.1241491167405; Mon, 04 May 2009 19:39:27 -0700 (PDT) Received: from ?10.74.113.17? ([64.104.127.198]) by mx.google.com with ESMTPS id d6sm12023987fga.17.2009.05.04.19.39.23 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 04 May 2009 19:39:25 -0700 (PDT) Message-ID: <49FFA6D8.7090508@gmail.com> Date: Tue, 05 May 2009 10:39:20 +0800 From: Leo User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Bruce Simpson References: <49FEC0AD.7090506@gmail.com> <49FF014F.7070107@incunabulum.net> <49FF09E1.5010306@gmail.com> <49FF12A0.3010009@incunabulum.net> In-Reply-To: <49FF12A0.3010009@incunabulum.net> 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: Tue, 05 May 2009 02:39:29 -0000 Bruce Simpson wrote: > 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 > > Hi Bruce, I've tried 2 method on my box. that you previously mentioned. Both of these 2 method can build successfully! Thank your for your help!! Best Regards! -Leo