From 9d59b409ca0963451cd7117df1ca1a19a9407e95 Mon Sep 17 00:00:00 2001 From: Thomas Monjalon Date: Mon, 11 Jul 2016 18:52:56 +0200 Subject: [PATCH] xen: fix build as shared library When building as shared library, the compiler complains for undefined reference to `rte_xen_mem_phy2mch' The symbol rte_xen_mem_phy2mch was introduced in DPDK 2.2 and has been called in mempool recently via rte_mem_phy2mch. Fixes: c042ba20674a ("mempool: rework support of Xen dom0") Signed-off-by: Thomas Monjalon --- lib/librte_eal/linuxapp/eal/rte_eal_version.map | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_eal/linuxapp/eal/rte_eal_version.map b/lib/librte_eal/linuxapp/eal/rte_eal_version.map index 05134673d6..a617b9e4a3 100644 --- a/lib/librte_eal/linuxapp/eal/rte_eal_version.map +++ b/lib/librte_eal/linuxapp/eal/rte_eal_version.map @@ -138,6 +138,7 @@ DPDK_2.2 { rte_keepalive_mark_alive; rte_keepalive_register_core; rte_xen_dom0_supported; + rte_xen_mem_phy2mch; } DPDK_2.1; -- 2.20.1