From 9bacd1753512dd519cfee37bdabfacfa3aa488fa Mon Sep 17 00:00:00 2001 From: Cunming Liang Date: Wed, 25 Feb 2015 11:39:48 +0800 Subject: [PATCH] eal: fix missing symbol in version map As per_lcore__socket_id and rte_sys_gettid are missing in version map, it causes compiling error when CONFIG_RTE_BUILD_SHARED_LIB is enabled. Fixes: ef76436c6834 ("eal: get unique thread id") Fixes: 9e29251b2afa ("eal: thread affinity API") Reported-by: Tetsuya Mukawa Signed-off-by: Cunming Liang Tested-by: Tetsuya Mukawa Acked-by: John McNamara --- lib/librte_eal/bsdapp/eal/rte_eal_version.map | 2 ++ lib/librte_eal/linuxapp/eal/rte_eal_version.map | 2 ++ 2 files changed, 4 insertions(+) diff --git a/lib/librte_eal/bsdapp/eal/rte_eal_version.map b/lib/librte_eal/bsdapp/eal/rte_eal_version.map index c207ceed1a..17515a9003 100644 --- a/lib/librte_eal/bsdapp/eal/rte_eal_version.map +++ b/lib/librte_eal/bsdapp/eal/rte_eal_version.map @@ -10,6 +10,7 @@ DPDK_2.0 { pci_driver_list; per_lcore__lcore_id; per_lcore__rte_errno; + per_lcore__socket_id; rte_cpu_check_supported; rte_cpu_get_flag_enabled; rte_cycles_vmware_tsc_map; @@ -83,6 +84,7 @@ DPDK_2.0 { rte_snprintf; rte_strerror; rte_strsplit; + rte_sys_gettid; rte_thread_get_affinity; rte_thread_set_affinity; rte_vlog; diff --git a/lib/librte_eal/linuxapp/eal/rte_eal_version.map b/lib/librte_eal/linuxapp/eal/rte_eal_version.map index c207ceed1a..17515a9003 100644 --- a/lib/librte_eal/linuxapp/eal/rte_eal_version.map +++ b/lib/librte_eal/linuxapp/eal/rte_eal_version.map @@ -10,6 +10,7 @@ DPDK_2.0 { pci_driver_list; per_lcore__lcore_id; per_lcore__rte_errno; + per_lcore__socket_id; rte_cpu_check_supported; rte_cpu_get_flag_enabled; rte_cycles_vmware_tsc_map; @@ -83,6 +84,7 @@ DPDK_2.0 { rte_snprintf; rte_strerror; rte_strsplit; + rte_sys_gettid; rte_thread_get_affinity; rte_thread_set_affinity; rte_vlog; -- 2.20.1