From: Ferruh Yigit Subject: Re: [PATCH] net/ice: fix build with debug enabled Date: Thu, 3 Jan 2019 12:41:32 +0000 Message-ID: References: <20181227060553.11195-1-jerinj@marvell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: "dev@dpdk.org" , "thomas@monjalon.net" To: Jerin Jacob Kollanukkaran , Qiming Yang , Wenzhuo Lu Return-path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id B6D45D0B2 for ; Thu, 3 Jan 2019 13:41:35 +0100 (CET) In-Reply-To: <20181227060553.11195-1-jerinj@marvell.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 12/27/2018 6:06 AM, Jerin Jacob Kollanukkaran wrote: > When RTE_LIBRTE_MBUF_DEBUG enabled, rte_mbuf_sanity_check() > function defined in rte_mbuf.so library, > add it while linking the librte_pmd_ice.so library to fix > the build issue. > > error log: > /usr/bin/ld: ice_rxtx.o: in function `ice_recv_pkts': > ice_rxtx.c:(.text+0x1d97): undefined reference to > `rte_mbuf_sanity_check' > /usr/bin/ld: ice_rxtx.o: in function > `ice_tx_queue_release_mbufs': > ice_rxtx.c:(.text+0x21e0): undefined reference to > `rte_mbuf_sanity_check' > /usr/bin/ld: ice_rxtx.c:(.text+0x22b3): undefined reference > to `rte_mbuf_sanity_check' > /usr/bin/ld: ice_rxtx.c:(.text+0x24a0): undefined reference > to `rte_mbuf_sanity_check' > /usr/bin/ld: ice_rxtx.c:(.text+0x2640): undefined reference > to `rte_mbuf_sanity_check' > /usr/bin/ld: ice_rxtx.o:ice_rxtx.c:(.text+0x299f): > more undefined references to `rte_mbuf_sanity_check' follow > > Signed-off-by: Jerin Jacob Fixes: 50370662b727 ("net/ice: support device and queue ops") Reviewed-by: Ferruh Yigit Applied to dpdk-next-net/master, thanks.