xen: fix build as shared library
authorThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 11 Jul 2016 16:52:56 +0000 (18:52 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 11 Jul 2016 17:09:56 +0000 (19:09 +0200)
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 <thomas.monjalon@6wind.com>
lib/librte_eal/linuxapp/eal/rte_eal_version.map

index 0513467..a617b9e 100644 (file)
@@ -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;