From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f169.google.com (mail-wr0-f169.google.com [209.85.128.169]) by dpdk.org (Postfix) with ESMTP id 1D2E32C01 for ; Thu, 28 Sep 2017 12:23:21 +0200 (CEST) Received: by mail-wr0-f169.google.com with SMTP id m18so1780801wrm.2 for ; Thu, 28 Sep 2017 03:23:21 -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=H9+tsUjdoX1pAGleveWsR+gkBWAqmL03eABrujxkRRw=; b=lbK/odE8vdkloPq1qrYRoo0+sCC3vSyQbyMtdJ2cgds29aam37vEz9rfo1knHN7Qz5 1uu9rr5mXWHUNQCz9WhzJxNvE/XdPwuFpBmIrP18iZlIJmLxlCqLMSt0r6Isnx/DbepE KqFnVgcJgCG815rvqboWO+rwAXMjs6GJNfB8B3tFk4Epljcxg0gYVpmWl7NC1dTJCUWm EY04gVrwdorcJCr9eySW1LS43JRGiLo+IrwFdr3N0/CWueuYIOo01IIeP+lq7Y3wvLlP v6UPoSwY3e7EhV4UN2GSKR3XbMNDYdSxz/2f2ybzqa5dUn4zwpJXCrLHL8VBTlZujhKj Uv+Q== 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=H9+tsUjdoX1pAGleveWsR+gkBWAqmL03eABrujxkRRw=; b=YGj4G+qrBovzxe8/kaVFNCIjCBBl1Tw9QCE86eOWwKkAyohn+8ykKqg7zNpvZJDb36 V7DNb/DO/A6AtqrxnSh04QkL1Uw/wZSRCGMo7ClWQ6bMAaf9lENvllFEjq1Qf4CkwtEe HJZaDmxAhocjxCNmRWlstvFGYcGOaygzloOTDV/YNr3hwUJmLwI75aI9UaurziW0WM8N vhniMLFmMzku2eA51rwNByisiczMIVjg2xluGb5ktsuJQPhqnoHdUuUv+R08EurmB0E2 6oOEKrW5Ie91z3dWicAmN4OkPf/bhyZfHg9dO/kFvG/nwc/Ku9I+RSRLUnixohEaF+Gp e9iQ== X-Gm-Message-State: AHPjjUgYm9SuURxZqxwEcy3Yc63wWLIvjdXa10lLfdu35iJdVzkq8Pbn nZVxe/JIoKmtab9OIbD0D460iulfcEs= X-Google-Smtp-Source: AOwi7QAffMa+UPX/LphSa20Y3odO1aeB3RfBrJdLLIiFSULSc45zs3O2RUJ90LijKQPimox8gMKcGw== X-Received: by 10.46.31.17 with SMTP id f17mr1966729ljf.102.1506594201508; Thu, 28 Sep 2017 03:23:21 -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 z69sm160307lfd.78.2017.09.28.03.23.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 28 Sep 2017 03:23:20 -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: Thu, 28 Sep 2017 12:22:35 +0200 Message-Id: <1506594158-15721-2-git-send-email-tdu@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1506594158-15721-1-git-send-email-tdu@semihalf.com> References: <1506418805-12117-1-git-send-email-tdu@semihalf.com> <1506594158-15721-1-git-send-email-tdu@semihalf.com> Subject: [dpdk-dev] [PATCH v2 1/4] 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: Thu, 28 Sep 2017 10:23:22 -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 --- v2: * Changed commit message to explain problem better. 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 c25fdd9..94568a8 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_VHOST) += -lrte_vhost _LDLIBS-$(CONFIG_RTE_LIBRTE_KVARGS) += -lrte_kvargs -- 2.7.4