Skip to content

Commit 9ce3e53

Browse files
committed
vpp: fix dpdk plugin dlopen symbol errors by switching to system dpdk
vpp build-system supports static linking of dpdk, or dynamic linking to the system-wide installed dpdk libraries. During static linking dependencies such as libpcap and zlib are not picked up by the build system. The use-system-dpdk flag enabels using pkg-config and dynamic linking, which together work perfectly as long as the individual dpdk libs are present in the rootfs. With yocto the standard method works well and avoids aforementioned symbol errors.
1 parent 7d07699 commit 9ce3e53

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

recipes-extended/vpp/vpp_2202.bbappend

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
22

33
SRC_URI += "file://0001-vlib-unix-fix-plugin-loading-error-messages.patch"
44

5+
EXTRA_OECMAKE:append = " -DVPP_USE_SYSTEM_DPDK=ON "

0 commit comments

Comments
 (0)