From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6D456A0C40; Thu, 5 Aug 2021 16:36:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2C8DF41281; Thu, 5 Aug 2021 16:36:24 +0200 (CEST) Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) by mails.dpdk.org (Postfix) with ESMTP id 3BB1540040 for ; Thu, 5 Aug 2021 16:36:22 +0200 (CEST) Received: by mail-pj1-f48.google.com with SMTP id nh14so9299572pjb.2 for ; Thu, 05 Aug 2021 07:36:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=29QPBNVOjaxzhKqpbugbKGcmR2+siEKoLZpeJx77Sqo=; b=UixWp6yW6u8FzHIfoVjdYVtG4ZLeQ+GONxh65JMw2hC0ikRSJ7ryUMu2BQHEpxtlSX 153/A/5blwgh7HMyUK2WAYmOG7Er6Pi9QozXyt+FF3CouFutBzImdK6DU0LgYEuq/UAc RSAnkRE+aXKO3ypQSuv61XCU4u6000jfLtkaLasmm0bmMvvfSUcjnH76vaPFWhoJLueB 2tzbfAE71r2T1hJJHfZ6NipzcKCfpZexslzJjViSdd3zJJEUWibsVTGnXymPir5pfE9T 5JHOXevtA8nDsKMnqC74nNhg2rJWTIF4leZOjhx5V+JNM1itltra1GmSdOUX9xsx0M6U 0wqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=29QPBNVOjaxzhKqpbugbKGcmR2+siEKoLZpeJx77Sqo=; b=pxRjmp+/GKF+FRpI+d4BWlNbzeHkP0iZOprMNN0sSWG6Zv10wI/gxPwBsdeCtu1+pl PwAcCccG3I0pKppeBwzz1xhwa5iYQgWYjBiqSQI+FLfE0XTN+RKKsx5sws7ubuyZF/Kj MhSRJ/OaUpLh6PM6F3tQyUdSSmCuli7U6JJdWyeBj3AH1oF9NY7zbU9I5y+vYZkUuIHK SvW0p/3MjXXdci83KR/28i1lhubR2OopVcZKvh3F/LfhTF3DhdAzoEqFafw/1+BhDjkK TegJWfA4u7gWvL+73/mzCa1dTjgebjSwiw8AF6o+o8V3Hi8Ro1utUfQZYTA064PMLnRI mJtA== X-Gm-Message-State: AOAM531s75/m+HM/HdZdsvyP6pCiqyjuwYFWT1MGiWMYb8IqbfTYUeJZ Z2eeYTVJMaOqyP53OfER18t9BetUVgX9cg== X-Google-Smtp-Source: ABdhPJz/AK7tw10ipgYbiFWOjoI5LVsGbpAdDpXdvIf7H4euUOmtNAjcL2OWVDLVoIRj5Rlq73AYFQ== X-Received: by 2002:a17:90a:9314:: with SMTP id p20mr15828876pjo.87.1628174181048; Thu, 05 Aug 2021 07:36:21 -0700 (PDT) Received: from sc9-mailhost2.vmware.com ([66.170.99.1]) by smtp.gmail.com with ESMTPSA id 65sm7957994pgi.12.2021.08.05.07.36.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Aug 2021 07:36:20 -0700 (PDT) From: William Tu To: dev@dpdk.org Cc: dmitry.kozliuk@gmail.com, sergey.madaminov@gmail.com Date: Thu, 5 Aug 2021 17:48:19 +0000 Message-Id: <20210805174819.1147-1-u9012063@gmail.com> X-Mailer: git-send-email 2.32.0.windows.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] eal/windows: expose symbol rte_version X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 Signed-off-by: William Tu --- 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 887012d02a..3de59910cd 100644 --- a/lib/eal/version.map +++ b/lib/eal/version.map @@ -198,7 +198,7 @@ DPDK_21 { 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.32.0.windows.2