Re: [dpdk-dev] [RFC PATCH] build: use libpcap only from pkg-config

2020-10-09 Thread Bruce Richardson
On Fri, Oct 09, 2020 at 01:51:35PM +0100, Luca Boccassi wrote: > On Fri, 2020-10-09 at 11:32 +0100, Bruce Richardson wrote: > > On Fri, Oct 09, 2020 at 10:09:11AM +0100, Luca Boccassi wrote: > > > On Thu, 2020-10-08 at 18:08 +0100, Bruce Richardson wrote: > > > > On Thu, Oct 08, 2020 at 06:05:36PM

Re: [dpdk-dev] [RFC PATCH] build: use libpcap only from pkg-config

2020-10-09 Thread Luca Boccassi
On Fri, 2020-10-09 at 11:32 +0100, Bruce Richardson wrote: > On Fri, Oct 09, 2020 at 10:09:11AM +0100, Luca Boccassi wrote: > > On Thu, 2020-10-08 at 18:08 +0100, Bruce Richardson wrote: > > > On Thu, Oct 08, 2020 at 06:05:36PM +0100, Bruce Richardson wrote: > > > > All recent linux distro's - incl

Re: [dpdk-dev] [RFC PATCH] build: use libpcap only from pkg-config

2020-10-09 Thread Bruce Richardson
On Fri, Oct 09, 2020 at 10:09:11AM +0100, Luca Boccassi wrote: > On Thu, 2020-10-08 at 18:08 +0100, Bruce Richardson wrote: > > On Thu, Oct 08, 2020 at 06:05:36PM +0100, Bruce Richardson wrote: > > > All recent linux distro's - including RHEL 8 and Ubuntu 18.04 - provide a > > > pkg-config file for

Re: [dpdk-dev] [RFC PATCH] build: use libpcap only from pkg-config

2020-10-09 Thread Luca Boccassi
On Thu, 2020-10-08 at 18:08 +0100, Bruce Richardson wrote: > On Thu, Oct 08, 2020 at 06:05:36PM +0100, Bruce Richardson wrote: > > All recent linux distro's - including RHEL 8 and Ubuntu 18.04 - provide a > > pkg-config file for libpcap, and using other methods of finding the library > > can cause

Re: [dpdk-dev] [RFC PATCH] build: use libpcap only from pkg-config

2020-10-08 Thread Bruce Richardson
On Thu, Oct 08, 2020 at 06:05:36PM +0100, Bruce Richardson wrote: > All recent linux distro's - including RHEL 8 and Ubuntu 18.04 - provide a > pkg-config file for libpcap, and using other methods of finding the library > can cause issues when cross-compiling, so we can limit build support for > pc

[dpdk-dev] [RFC PATCH] build: use libpcap only from pkg-config

2020-10-08 Thread Bruce Richardson
All recent linux distro's - including RHEL 8 and Ubuntu 18.04 - provide a pkg-config file for libpcap, and using other methods of finding the library can cause issues when cross-compiling, so we can limit build support for pcap versions without a .pc file. Signed-off-by: Bruce Richardson --- con