From: Cunming Liang Date: Wed, 25 Feb 2015 03:39:48 +0000 (+0800) Subject: eal: fix missing symbol in version map X-Git-Tag: spdx-start~9553 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=9bacd1753512dd519cfee37bdabfacfa3aa488fa;p=dpdk.git 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 --- 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;