From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 6A3FE1B01F for ; Thu, 18 Jan 2018 09:03:56 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id D5A3D20B4C; Thu, 18 Jan 2018 03:03:55 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Thu, 18 Jan 2018 03:03:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=FuB778sLf8yCOJRtJwD0MaPtMef0YTOUe7/F7DkwVRg=; b=mI4xzMz7 pMQjw1ukVNzCwkKNW+9FemeCZqPBjEML9oPF59qlmch3IT3NHj6sf46cmORHiDFk URPJczUTRuIC/R7gkyX6r03hfBhhlkXyZjGy2GjYVAJ3pz6y41GoYognxo5tCj3V BMgBkzXPHGOcs0DQwZky1U2Ls4vyv5LW6SZTSIrbLnTcn6Y34HhVQfFiqNXy31EZ td49MOB7u9gbJ5aERLAHbrfufOWj7dideAw5l8tvtakVTy06/5pbLUKQ3YDfyTwW FVs5qnCEwShPVsFkGJZCxY05YuXm5VVYqJHNGP7sZT2jlt32M/R6efDU19jP5pyo ihD79conwP+HtA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=FuB778sLf8yCOJRtJwD0MaPtMef0Y TOUe7/F7DkwVRg=; b=EufovFshDVPYqrdwPOfzWG5tsgPFa/jRRtlbqxzLxW/G+ cOCStkZLCwXmyFcBqf3ddCDU8CZvL+C+61c06hoQs6G0PLr4id3X6InVH64bunHB 0oMBX1HCy6quf7gOG0pHBa25imxVQHeXp2iZvHsPUxtzSGmX+PH7fh4ioyJwgPrm PP9sB1qZAEr2jqUFI13CWNI37mmoOtSAsv0Ape79CCizrs7h6rGbY+DTS15ZJwhS ZRsrfPE9LyB78LB2eyHpUzaR+Ml4xYe1shefFq7ZGccmOBjMLOp7PQ+mhF2zs0sT EVObFUEveIJ7eM3ldosTumdans/HBIUZayJ/TUpmw== X-ME-Sender: Received: from yliu-mob (unknown [115.148.90.22]) by mail.messagingengine.com (Postfix) with ESMTPA id 993527E1BE; Thu, 18 Jan 2018 03:03:54 -0500 (EST) Date: Thu, 18 Jan 2018 16:03:50 +0800 From: Yuanhan Liu To: "Wang, Xiao W" Cc: Thomas Monjalon , "dev@dpdk.org" , "Yigit, Ferruh" , Olivier Matz Message-ID: <20180118080350.GA29540@yliu-mob> References: <20180118030921.GW29540@yliu-mob> <1516245283-23990-1-git-send-email-yliu@fridaylinux.org> <1516245283-23990-2-git-send-email-yliu@fridaylinux.org> <7347756.cFi570UBhb@xps> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Subject: Re: [dpdk-dev] [PATCH 2/2] net: fix build error X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jan 2018 08:03:56 -0000 On Thu, Jan 18, 2018 at 07:45:23AM +0000, Wang, Xiao W wrote: > > > > -----Original Message----- > > From: Thomas Monjalon [mailto:thomas@monjalon.net] > > Sent: Thursday, January 18, 2018 3:39 PM > > To: Yuanhan Liu > > Cc: dev@dpdk.org; Wang, Xiao W ; Yigit, Ferruh > > ; Olivier Matz > > Subject: Re: [PATCH 2/2] net: fix build error > > > > 18/01/2018 04:14, Yuanhan Liu: > > > Fix build error when shared lib is enabled: > > > > > > LD librte_net.so.1.1 > > > rte_arp.o: In function `rte_net_make_rarp_packet': > > > rte_arp.c:(.text+0x1f0): undefined reference to `rte_mempool_ops_table' > > > rte_arp.c:(.text+0x21d): undefined reference to `rte_mempool_ops_table' > > > rte_arp.c:(.text+0x2d5): undefined reference to `rte_mempool_ops_table' > > > rte_arp.c:(.text+0x384): undefined reference to `rte_mempool_ops_table' > > > rte_arp.c:(.text+0x4b7): undefined reference to `rte_mempool_ops_table' > > > > This is very strange, I do not see this error on my machine. > > I could see this error on mine with: > +CONFIG_RTE_BUILD_SHARED_LIB=y Yes, that's what meant in the commit log by "when shared lib is enabled". --yliu