From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f42.google.com (mail-lf0-f42.google.com [209.85.215.42]) by dpdk.org (Postfix) with ESMTP id 756FD1B346 for ; Tue, 3 Oct 2017 13:51:53 +0200 (CEST) Received: by mail-lf0-f42.google.com with SMTP id 90so1181682lfs.13 for ; Tue, 03 Oct 2017 04:51:53 -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=hUBxp95fO7Ou6YIXBdjPos/zLeWDJPSCwwiiC3hpUi6Wm1cFJQum1+WWtZ+FcrAzV+ X3la7C2Ri/re9wmSOE4FzBGqDPC09hKAJgr7KIbpTnPQSYCz2YIhneaQ/p8WQEQxtNn3 9wC6FgCXthCG0ErV7cFZfnyMg2EqOfXcKPvLvo6OXkzureswjezPwT/M2PMjCtzPXlz4 nQqyWIAXHy9iC/UWUTN0peRzlIlgjJAss8dxXapj/WDhvCYTNlWY4WS9XiG2rz8EEfdg eFplihSfgPQkYa9eS4Bcr8W/bWgZLKtYUFM4w0lK7uNzaQP5ZtAvZojRKp9qWL1pVWjt jytw== 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=CXewQYc1Qc1UO9LkcK3cXZm2CALAMewcgULU8GTbM6OT2nXtqIXTpcxe2HbB+g0uxZ qJu9PqCnLoACXhdSlUW4eHvPQnzvcg7nyKTKgNVgWdgvLwq0fwGJJrsT2vPjzpiqx/pg KQmci9pCOySSPvAQQQOFy7p0W8ZMY31ima4Ycqrvepwn6JYiaFnyGWbA3BVimDvZa7vl AEwWUIDy0vt084LxrTRy2Mq5aw21JQQBHVqC5FDwug8bBFL/s5cZzIFtkm1/l5VcGKIV sXMexwIDkidLn4wHdl9BMb9hziVfpxYydIkdG9M7zksg/2Wgw+JSoeyR/l668YQa0V6E igQQ== X-Gm-Message-State: AHPjjUi1uf5VaoyMAwaGAiFBUnYbwulrCWYkRZuGuEv0kMBPw5AS6Dp2 gWTq4WZUdUKefFy24Gr5/z2A34lgaZg= X-Google-Smtp-Source: AOwi7QCm6sw2Z5Ugu1B5NUvtZAUSQIHTV0T6nJuBTIE2wqx25mSC3rk9UJK6GjKcf1DtXT+KlN7u8w== X-Received: by 10.46.68.214 with SMTP id b83mr8096227ljf.86.1507031512321; Tue, 03 Oct 2017 04:51:52 -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 s12sm2009230lfe.57.2017.10.03.04.51.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 03 Oct 2017 04:51:51 -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: Tue, 3 Oct 2017 13:51:37 +0200 Message-Id: <1507031500-11473-2-git-send-email-tdu@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507031500-11473-1-git-send-email-tdu@semihalf.com> References: <1506594158-15721-2-git-send-email-tdu@semihalf.com> <1507031500-11473-1-git-send-email-tdu@semihalf.com> Subject: [dpdk-dev] [PATCH v3 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: Tue, 03 Oct 2017 11:51:53 -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