Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 May 2009 10:39:20 +0800
From:      Leo <yaol.leo@gmail.com>
To:        Bruce Simpson <bms@incunabulum.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Help! regarding libpcap.
Message-ID:  <49FFA6D8.7090508@gmail.com>
In-Reply-To: <49FF12A0.3010009@incunabulum.net>
References:  <49FEC0AD.7090506@gmail.com> <49FF014F.7070107@incunabulum.net> <49FF09E1.5010306@gmail.com> <49FF12A0.3010009@incunabulum.net>

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



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