From patchwork Wed Jun 29 18:34:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ferruh Yigit X-Patchwork-Id: 14457 X-Patchwork-Delegate: bruce.richardson@intel.com Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 40B9A2A5F; Wed, 29 Jun 2016 20:35:17 +0200 (CEST) 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) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP; 29 Jun 2016 11:34:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,547,1459839600"; d="scan'208";a="997525177" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga001.fm.intel.com with ESMTP; 29 Jun 2016 11:34:52 -0700 Received: from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com [10.237.217.46]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id u5TIYpuJ017062; Wed, 29 Jun 2016 19:34:51 +0100 Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id u5TIYpM1012422; Wed, 29 Jun 2016 19:34:51 +0100 Received: (from fyigit@localhost) by sivswdev02.ir.intel.com with id u5TIYpLG012418; Wed, 29 Jun 2016 19:34:51 +0100 X-Authentication-Warning: sivswdev02.ir.intel.com: fyigit set sender to ferruh.yigit@intel.com using -f From: Ferruh Yigit To: dev@dpdk.org Cc: Jerin Jacob , Maciej Czekaj Date: Wed, 29 Jun 2016 19:34:49 +0100 Message-Id: <1467225289-12384-1-git-send-email-ferruh.yigit@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dpdk-dev] [PATCH] net/thunderx: add missing external library dependency X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list 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 Acked-by: Jerin Jacob --- 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