From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f45.google.com (mail-lf0-f45.google.com [209.85.215.45]) by dpdk.org (Postfix) with ESMTP id 86BCE1B1FA for ; Mon, 9 Oct 2017 17:01:05 +0200 (CEST) Received: by mail-lf0-f45.google.com with SMTP id g70so12101497lfl.3 for ; Mon, 09 Oct 2017 08:01:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=yo7cV3JBI79O3V8FRSmahAR5Az+YRcYmpdsID82SMmI=; b=RRozr97G0H4Gk5nirXkzXPdMG9/Pusba9jUgS6m8HWg8AKWzMnvPRGLvFeG3XojVqV IBfmPCIyeMY5/lyAo/XvMIybEVsrv938KfUtHDs+yvRLilTFoZF+iAiZO1h7Pc5ZTZMu 1LpNfTbulBB04UY8OEgjRRThqYHLey0y8sQpCrr0I+5wC67G1592kDR9miVSqz9t/2gt tlMafG0DmaldIU4ru2i0fHgEzfF7NiwTPF9sCNWL6zjVgYYUOw+ZWZARs5yFrjD0Kedx UfsoUDa3voRymLMTirV4oS+/bw3WzlL4h8gw8qJkzN67q6cWyj6w6I2v0ZmcRZ5ML1eF TCPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=yo7cV3JBI79O3V8FRSmahAR5Az+YRcYmpdsID82SMmI=; b=pNpk7RQ4c1TTisAbrQv9k4muC/oYFc936uBdKQtqfHvOw/+s1/VVDLqa/bgby00sQU PXR2R8wgIDTuubStia5KGjyMPAS4L1et3o3jvBXc/0LvFC5+IzOLIYg9GuIGlTIbNSGi Yej64b40135SRKiHqGd+gNa54C1YG4zRNYBw44KIkvTpZw0m5hEuhvXKaoovfWDOc0M/ z6esHMtylP0nQk7KsbCSdSQ8W1Wf5l1xoRmI7RvGKaIYz8+AmpJ8voVFIigE+ByJDQ6g 6HFjEtlAiW7zw3LJILXfn/v/Eqg6OM1XHSzqZ0vV6DGlnVZq+dKo9ZCYTyxC8+0RCAIM TB+g== X-Gm-Message-State: AMCzsaUFkvI/LXE9VhFTLsWAAU1Hj9uSv428Dd2D6tQet5U1QHM+i6Sd /84s7c7vyYjrvRYtxnfw343Drtju134= X-Google-Smtp-Source: AOwi7QAL2+x4NiBSZBNQD8X0Py6A/CIE/YcvEDQJ8SDLbDwrBULpqf2MdpIGm9XBKj04voqWs6wBgQ== X-Received: by 10.46.43.144 with SMTP id r16mr4630720ljr.56.1507561264839; Mon, 09 Oct 2017 08:01:04 -0700 (PDT) Received: from tdu.semihalf.local (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id z64sm1352637lfa.91.2017.10.09.08.01.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 Oct 2017 08:01:03 -0700 (PDT) From: Tomasz Duszynski To: dev@dpdk.org Cc: mw@semihalf.com, dima@marvell.com, nsamsono@marvell.com, Jianbo.liu@linaro.org, Tomasz Duszynski , Jacek Siuda Date: Mon, 9 Oct 2017 17:00:29 +0200 Message-Id: <1507561244-20115-2-git-send-email-tdu@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507561244-20115-1-git-send-email-tdu@semihalf.com> References: <1507031500-11473-1-git-send-email-tdu@semihalf.com> <1507561244-20115-1-git-send-email-tdu@semihalf.com> Subject: [dpdk-dev] [PATCH v4 01/16] app: link the whole rte_cfgfile library 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: Mon, 09 Oct 2017 15:01:06 -0000 MRVL net pmd needs rte_cfgfile to parse QoS configuration file thus librte_pmd_mrvl.a contains undefined symbols from librte_cfgfile.a. As a result linking applications under app/ directory will fail because librte_cfgfile.a comes before librte_pmd_mrvl.a during the linking stage. Linking the whole librte_cfgfile.a solves the issue. Signed-off-by: Jacek Siuda Signed-off-by: Tomasz Duszynski --- mk/rte.app.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/rte.app.mk b/mk/rte.app.mk index a788be2..4891bc2 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -81,10 +81,10 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_POWER) += -lrte_power _LDLIBS-$(CONFIG_RTE_LIBRTE_TIMER) += -lrte_timer _LDLIBS-$(CONFIG_RTE_LIBRTE_EFD) += -lrte_efd -_LDLIBS-$(CONFIG_RTE_LIBRTE_CFGFILE) += -lrte_cfgfile _LDLIBS-y += --whole-archive +_LDLIBS-$(CONFIG_RTE_LIBRTE_CFGFILE) += -lrte_cfgfile _LDLIBS-$(CONFIG_RTE_LIBRTE_HASH) += -lrte_hash _LDLIBS-$(CONFIG_RTE_LIBRTE_MEMBER) += -lrte_member _LDLIBS-$(CONFIG_RTE_LIBRTE_VHOST) += -lrte_vhost -- 2.7.4