On 21 November 2015 at 08:15, liu wen <caonimagongl...@gmail.com> wrote:
> thank you very much!
> then how to compile the source codes to make a libpcap.a from the libpcap
> source codes?

$ tar xf libpcap-1.7.4.tar.gz
$ cd libpcap-1.7.4/
$ ./configure
$ make
$ find . -name libpcap.a
./libpcap.a

You may have to install some additional stuff like flex and bison.
It's been a while since I used Fedora but yum groupinstall
"Development tools" brings in a lot of useful things.

> On Fri, Nov 20, 2015 at 6:58 PM, Guy Harris <g...@alum.mit.edu> wrote:
>>
>>
>> On Nov 20, 2015, at 12:32 AM, Jamie Bainbridge
>> <jamie.bainbri...@gmail.com> wrote:
>>
>> > Fedora has glibc-static, but no libpcap-static.
>>
>> Then he'll have to build libpcap from source.
>>
>> I would suggest building with the *latest* version of libpcap from
>> tcpdump.org, currently 1.7.4:
>>
>>         http://www.tcpdump.org/#latest-release
>>
>> to see whether it's better than either the 1.3.0 on the machines where it
>> wasn't having problems of the 1.5.3 on the machines where it was.
>>
>
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers@lists.tcpdump.org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers

Reply via email to