Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 May 2009 17:06:56 +0100
From:      Bruce Simpson <bms@incunabulum.net>
To:        Leo <yaol.leo@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Help! regarding libpcap.
Message-ID:  <49FF12A0.3010009@incunabulum.net>
In-Reply-To: <49FF09E1.5010306@gmail.com>
References:  <49FEC0AD.7090506@gmail.com> <49FF014F.7070107@incunabulum.net> <49FF09E1.5010306@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49FF12A0.3010009>