From fe81e52a91d4b1beef15cfc152274498322446b4 Mon Sep 17 00:00:00 2001 From: William Tu Date: Thu, 5 Aug 2021 17:48:19 +0000 Subject: [PATCH] eal/windows: export version function When OVS inits, it calls rte_version to get the DPDK's version. The patch fixes the error below by exposing rte_version symbol. libopenvswitch.a(dpdk.c.obj) : error LNK2019: unresolved external symbol rte_version referenced in function dpdk_init Fixes: 5b637a848195 ("eal: fix querying DPDK version at runtime") Cc: stable@dpdk.org Signed-off-by: William Tu Acked-by: Dmitry Kozlyuk --- lib/eal/version.map | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/eal/version.map b/lib/eal/version.map index b436359596..d800090db0 100644 --- a/lib/eal/version.map +++ b/lib/eal/version.map @@ -267,7 +267,7 @@ DPDK_22 { rte_uuid_is_null; # WINDOWS_NO_EXPORT rte_uuid_parse; # WINDOWS_NO_EXPORT rte_uuid_unparse; # WINDOWS_NO_EXPORT - rte_version; # WINDOWS_NO_EXPORT + rte_version; rte_vfio_clear_group; # WINDOWS_NO_EXPORT rte_vfio_container_create; # WINDOWS_NO_EXPORT rte_vfio_container_destroy; # WINDOWS_NO_EXPORT -- 2.20.1