From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: [PATCH] net/thunderx: add missing external library dependency Date: Wed, 29 Jun 2016 19:34:49 +0100 Message-ID: <1467225289-12384-1-git-send-email-ferruh.yigit@intel.com> Cc: Jerin Jacob , Maciej Czekaj To: dev@dpdk.org Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id AAE6528BF for ; Wed, 29 Jun 2016 20:35:15 +0200 (CEST) List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" To prevent compile error when compiling for shared library: nicvf_hw.o: In function `nicvf_qsize_regbit': nicvf_hw.c:(.text+0xe64): undefined reference to `log2' nicvf_hw.o: In function `nicvf_rss_reta_update': nicvf_hw.c:(.text+0x19dd): undefined reference to `log2' nicvf_hw.o: In function `nicvf_rss_reta_query': nicvf_hw.c:(.text+0x1acb): undefined reference to `log2' Fixes: e438796617dc ("net/thunderx: add PMD skeleton") Signed-off-by: Ferruh Yigit --- drivers/net/thunderx/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/thunderx/Makefile b/drivers/net/thunderx/Makefile index 078237e..8ea6b45 100644 --- a/drivers/net/thunderx/Makefile +++ b/drivers/net/thunderx/Makefile @@ -39,6 +39,8 @@ LIB = librte_pmd_thunderx_nicvf.a CFLAGS += $(WERROR_FLAGS) +LDLIBS += -lm + EXPORT_MAP := rte_pmd_thunderx_nicvf_version.map LIBABIVER := 1 -- 2.7.4