[dpdk-dev] [PATCH 1/2] app/testpmd: fix DPAA shared library dependency

Thomas Monjalon thomas at monjalon.net
Thu Feb 22 23:53:07 CET 2018


The dynamic link is broken for ARM platform because the dependencies
of the DPAA PMD are not declared.

Fixes: 83c82e15e1c0 ("app/testpmd: support loopback config for DPAA")
Cc: stable at dpdk.org

Reported-by: Marco Varlese <mvarlese at suse.de>
Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
---
 app/test-pmd/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/app/test-pmd/Makefile b/app/test-pmd/Makefile
index ed588ab6d..31646c113 100644
--- a/app/test-pmd/Makefile
+++ b/app/test-pmd/Makefile
@@ -46,6 +46,8 @@ endif
 
 ifeq ($(CONFIG_RTE_LIBRTE_DPAA_PMD),y)
 LDLIBS += -lrte_pmd_dpaa
+LDLIBS += -lrte_bus_dpaa
+LDLIBS += -lrte_mempool_dpaa
 endif
 
 ifeq ($(CONFIG_RTE_LIBRTE_IXGBE_PMD),y)
-- 
2.15.1



More information about the dev mailing list