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 2E929A84E for ; Thu, 18 Jan 2018 09:37:21 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id A95A820E20; Thu, 18 Jan 2018 03:37:20 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Thu, 18 Jan 2018 03:37:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=672iWk1jS8pVvF+gKKfrQ9OtL/ LPfXjTQx3GHNjc8hQ=; b=rJHkKn7/Bo+9Fvf7Q8nU1TlqhYOgO9LBeCPQ+Y8t1Q M2PfGTfNLUvIaBaXjL/6eXdL0nRFUP+Uf38IOCyouUNci6lBh3HNG/qMKfPRNgbg J5tji+EVOO3C9DUbpXcshkk5cOjU+XBK3HtUuEryPg+JnVzHJk0++YxSm0Axa3R7 0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding: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=672iWk 1jS8pVvF+gKKfrQ9OtL/LPfXjTQx3GHNjc8hQ=; b=lRd872iWt4iZRoTuolmu3b uhErl/c3L1kgkgYV5kzK+CyMtnvWWA+ouKbw1HYRI0P+Z3WTkXk7On1FKj6Pvpev a1xQ3vJ/W8ZMZmO/nknwB+hNhANfeE/CT4FST0O/MEk5R2WjCD4k4a9Fm4cIMQij 7/y7n1mgFIgc3QBLV1s9efv1I/1NFkHhloJY08eJS2J+NYpMTGg+xnX1I8StVvTr 7dA5gKil365gOpekaS7H2fsMnivlzZi80zYaM7Zo8UCb8En1gb9rq4199AqxKEug UcmbXB2S8JGE1Kjx1//jrCcJQMP1N2dTiv3krLduVE5KDPN8d26fmLLZa/6tQrPw == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 52A4B240DE; Thu, 18 Jan 2018 03:37:20 -0500 (EST) From: Thomas Monjalon To: Yuanhan Liu Cc: dev@dpdk.org, "Wang, Xiao W" , "Yigit, Ferruh" , Olivier Matz Date: Thu, 18 Jan 2018 09:36:46 +0100 Message-ID: <3694166.292jyCsmFI@xps> In-Reply-To: <20180118080350.GA29540@yliu-mob> References: <20180118030921.GW29540@yliu-mob> <20180118080350.GA29540@yliu-mob> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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:37:21 -0000 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.