From 90f1adc3bd6737a875f7b994b669effcf0c660fc Mon Sep 17 00:00:00 2001 From: Sergio Gonzalez Monroy Date: Thu, 12 Feb 2015 15:40:54 +0000 Subject: [PATCH] eal: fix dynamic link with virtio Building shared libraries and using virtio PMD results in undefined reference to 'rte_eal_iopl_init'. Add missing function to eal version map. Signed-off-by: Sergio Gonzalez Monroy Acked-by: Pablo de Lara --- lib/librte_eal/bsdapp/eal/rte_eal_version.map | 1 + lib/librte_eal/linuxapp/eal/rte_eal_version.map | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/librte_eal/bsdapp/eal/rte_eal_version.map b/lib/librte_eal/bsdapp/eal/rte_eal_version.map index d36286e808..5ed6e4de96 100644 --- a/lib/librte_eal/bsdapp/eal/rte_eal_version.map +++ b/lib/librte_eal/bsdapp/eal/rte_eal_version.map @@ -33,6 +33,7 @@ DPDK_2.0 { rte_eal_has_hugepages; rte_eal_hpet_init; rte_eal_init; + rte_eal_iopl_init; rte_eal_lcore_role; rte_eal_mp_remote_launch; rte_eal_mp_wait_lcore; diff --git a/lib/librte_eal/linuxapp/eal/rte_eal_version.map b/lib/librte_eal/linuxapp/eal/rte_eal_version.map index d36286e808..5ed6e4de96 100644 --- a/lib/librte_eal/linuxapp/eal/rte_eal_version.map +++ b/lib/librte_eal/linuxapp/eal/rte_eal_version.map @@ -33,6 +33,7 @@ DPDK_2.0 { rte_eal_has_hugepages; rte_eal_hpet_init; rte_eal_init; + rte_eal_iopl_init; rte_eal_lcore_role; rte_eal_mp_remote_launch; rte_eal_mp_wait_lcore; -- 2.20.1