[ovs-dev] [PATCH v4 0/1] fix build with DPDK 18.11 without -ldpdk

Christian Ehrhardt christian.ehrhardt at canonical.com
Thu Feb 7 11:46:39 UTC 2019


DPDK 18.11 can be built using the more modern meson build system.
In that case it no more provides the -ldpdk linker script. Instead
it is expected to use pkgconfig for linker options as well.

FYI here a build log on Ubuntu 19.04 with the three patches applied:
https://launchpadlibrarian.net/409021278/buildlog_ubuntu-disco-amd64.openvswitch_2.11.0~git20190121.4e4f80ec2-0ubuntu1~ppa5_BUILDING.txt.gz

Updates from v3:
- change separation of multiple actions in PKG_CHECK_MODULES_STATIC to
  newlines to avoid trailing commas in some build environments

Updates from v2:
- patches were formerly structured for reviewability, but to guarantee
  travis requirements to pass the build individually and not as a series
  they are now squashed to be acceptable

Updates from v1:
- add updated pkg.m4 to support PKG_CHECK_MODULES_STATIC
- include local pkg.m4 in configure.ac

Christian Ehrhardt (1):
  acinclude: Also use LIBS from dpkg pkg-config

 acinclude.m4 |  21 +++--
 configure.ac |   2 +
 m4/pkg.m4    | 217 +++++++++++++++++++++++++++++++++------------------
 3 files changed, 157 insertions(+), 83 deletions(-)

-- 
2.17.1



More information about the dev mailing list