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

Message ID 20180222225308.16972-1-thomas@monjalon.net (mailing list archive)
State Superseded, archived
Headers

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Thomas Monjalon Feb. 22, 2018, 10:53 p.m. UTC
  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@dpdk.org

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

Comments

Hemant Agrawal Feb. 23, 2018, 5:15 a.m. UTC | #1
On 2/23/2018 4:23 AM, Thomas Monjalon wrote:
> 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@dpdk.org
> 
> Reported-by: Marco Varlese <mvarlese@suse.de>
> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
> ---
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
  

Patch

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)