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 B90FE1B026 for ; Thu, 18 Jan 2018 04:16:53 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 27D3F20B56; Wed, 17 Jan 2018 22:16:53 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 17 Jan 2018 22:16:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=/PPOIpgGWZr7/7Y6Q jk86VbhEyhZGZcchQ6GZKM1F/Q=; b=sf2DXVrfAERHqsxTvzLvVogAU5Gd5eEVr WP+LM4TNpiLrILNQui0wZ4aHHebhWPaL3TmN9BMNPQEZ0fvyFJdZ/X5VTlLwojRh sRUzwMVxtviBhRFx5WVDAhhCvHiYCgXAY/q8JbjiwO5PJYITwmnvCHw07Wv5mUP5 MUYahnO+2GQEORTxAHnwvdvI0KSLT3b0jNoFPHLCXAak8/veCNpZv9lEsvVy/bJ1 46HFj1pkHJTut8e0fGtdXpD98lHU+4Ld2dmsGZgQbq0/Y9+WD0B0uekKfTmdPDhO CHIOLzBexYlVn8Fsl4/dQrx3xLER4BV/CW5dBfjqlnfiozL4EZkhg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=/PPOIpgGWZr7/7Y6Qjk86VbhEyhZGZcchQ6GZKM1F/Q=; b=Pwuwju1q ikzeBmwnC0PVuMf6dZeApgctuXmaKFJMgktmWJ0p0lc00saCNRWo76S6VsQgrvjw zCnfiOqJ27PLXdWh4YN/W8lz6H3dAUsxDQbIFqZwGA3yG7ZMCa/8NQBMm0Td3BdM 6GKkQUg6u+lE12EjZ5T+2SDLBn2zhXtByiIJ1rvtN/cYucF8rQM8RCZeMLHBaMwt uoPapktp8Bzb5SEFMfnzm5fl0HaK/WVKjea1Ql3Uj+y3rThxulaMwrOxT6e8LFvf YIdRNh+b/JQ/5eRB1Tj4ZTx18H4+yRULBWQkKWZobjVOSSOA8i1kMJNUoIoz1xu4 ptb/SOoXQmVnKQ== X-ME-Sender: Received: from localhost.localdomain (unknown [115.148.90.22]) by mail.messagingengine.com (Postfix) with ESMTPA id 4578F7E322; Wed, 17 Jan 2018 22:16:49 -0500 (EST) From: Yuanhan Liu To: dev@dpdk.org Cc: Thomas Monjalon , Xiao Wang , Ferruh Yigit , Olivier Matz , Yuanhan Liu Date: Thu, 18 Jan 2018 11:14:43 +0800 Message-Id: <1516245283-23990-2-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516245283-23990-1-git-send-email-yliu@fridaylinux.org> References: <20180118030921.GW29540@yliu-mob> <1516245283-23990-1-git-send-email-yliu@fridaylinux.org> Subject: [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 03:16:53 -0000 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' Fixes: 45ae05df824c ("net: add a helper for making RARP packet") Signed-off-by: Yuanhan Liu --- lib/librte_net/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_net/Makefile b/lib/librte_net/Makefile index ab290c3..95ff549 100644 --- a/lib/librte_net/Makefile +++ b/lib/librte_net/Makefile @@ -6,7 +6,7 @@ include $(RTE_SDK)/mk/rte.vars.mk LIB = librte_net.a CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR) -O3 -LDLIBS += -lrte_mbuf -lrte_eal +LDLIBS += -lrte_mbuf -lrte_eal -lrte_mempool EXPORT_MAP := rte_net_version.map LIBABIVER := 1 -- 2.7.4