From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 2/2] net: fix build error Date: Thu, 18 Jan 2018 09:36:46 +0100 Message-ID: <3694166.292jyCsmFI@xps> References: <20180118030921.GW29540@yliu-mob> <20180118080350.GA29540@yliu-mob> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "Wang, Xiao W" , "Yigit, Ferruh" , Olivier Matz To: Yuanhan Liu Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 2E929A84E for ; Thu, 18 Jan 2018 09:37:21 +0100 (CET) In-Reply-To: <20180118080350.GA29540@yliu-mob> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 18/01/2018 09:03, Yuanhan Liu: > On Thu, Jan 18, 2018 at 07:45:23AM +0000, Wang, Xiao W wrote: > > From: Thomas Monjalon [mailto:thomas@monjalon.net] > > > 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". Got it: you are fixing a build issue introduced by the patch 1 in this series. So please merge them.