[ovs-dev] pcap_read() conflicts with libpcap symbol

Ben Pfaff blp at nicira.com
Sat Jan 18 01:46:13 UTC 2014


On Sat, Jan 18, 2014 at 01:12:42AM +0100, Luigi Rizzo wrote:
> I see that you have some helper functions in pcap-file.c
> to read and write a pcap file.
> Unfortunately pcap_read() conflicts with a function exported
> by libpcap, and this causes build problems when configure finds
> an installed libpcap.
> 
> Given that pcap got there first and claims 152 (counted them)
> different symbols prefixed with pcap_ , maybe it is the case to
> change the names in pcap-file.c to something else,
> like ovs_pcap_*() ?

That is a good idea.  Would you mind submitting a patch?



More information about the dev mailing list