From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by dpdk.org (Postfix) with ESMTP id 53C3E68AA for ; Wed, 17 Dec 2014 22:59:53 +0100 (CET) Received: by mail-wi0-f171.google.com with SMTP id bs8so17245692wib.16 for ; Wed, 17 Dec 2014 13:59:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=At1PMpG3iA+SEs6HttJLTIQo8cGcKbInaEHcorM+JKo=; b=I8MH5CJBqjJVCTxCjO+5DLz2uzkZWqpSU+DxPqL94mWxC/emNJiplxGqSJ3HUG+yWc ER8JfhD8AuPy8ugWi+kp23eB8j+PI7axStCAwWwnYgRgnrP4frWgDf5L2ndL9t+Nzeu7 /Wk+pv3qaCyVmQM9at7difvZEQZ7FSEpJYO5pw3gNZDTiwQXAMk5bSCw6B5Gb+zA/f+8 hEyAQ9BQa0Vs/jIgTGiiyYwtsh3KT+R9RkdXAdSSRHF7LVzFouoM6e+iiQcm+UmKEl9d rz2QiI7t1rPeQP1yzJqzGpah5PP/DVpB8AvEZYuhgo/Uzr+6pCW6Bg6bU9u6sFZB8E/j X4+A== X-Gm-Message-State: ALoCoQlsvY0mLNl7rcCt0DzEwY6bez4jnLl89Piwiw9iMNzAO3Q7B6/uWPIiBIydPQvoM7A4bgl4 X-Received: by 10.180.75.199 with SMTP id e7mr18615839wiw.21.1418853593126; Wed, 17 Dec 2014 13:59:53 -0800 (PST) Received: from localhost.localdomain (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id js5sm22467293wid.11.2014.12.17.13.59.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 17 Dec 2014 13:59:52 -0800 (PST) From: Thomas Monjalon To: dev@dpdk.org Date: Wed, 17 Dec 2014 22:59:16 +0100 Message-Id: <1418853558-2445-2-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.1.3 In-Reply-To: <1418853558-2445-1-git-send-email-thomas.monjalon@6wind.com> References: <2594499.JbYxbdnDqd@xps13> <1418853558-2445-1-git-send-email-thomas.monjalon@6wind.com> Subject: [dpdk-dev] [PATCH 1/3] mk: fix link examples to combined library X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Dec 2014 21:59:53 -0000 RTE_LIBNAME was defined only if BUILDING_RTE_SDK. So external applications like examples were trying to link with -l without any library name. This bug appeared after fixing link to combined library (removing link to separate libraries). Signed-off-by: Thomas Monjalon --- mk/rte.vars.mk | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/mk/rte.vars.mk b/mk/rte.vars.mk index 1e874ee..d5b36be 100644 --- a/mk/rte.vars.mk +++ b/mk/rte.vars.mk @@ -71,10 +71,11 @@ ifneq ($(BUILDING_RTE_SDK),) ifeq ($(RTE_BUILD_COMBINE_LIBS),) RTE_BUILD_COMBINE_LIBS := n endif - RTE_LIBNAME := $(CONFIG_RTE_LIBNAME:"%"=%) - ifeq ($(RTE_LIBNAME),) - RTE_LIBNAME := intel_dpdk - endif +endif + +RTE_LIBNAME := $(CONFIG_RTE_LIBNAME:"%"=%) +ifeq ($(RTE_LIBNAME),) +RTE_LIBNAME := intel_dpdk endif # RTE_TARGET is deducted from config when we are building the SDK. -- 2.1.3