From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id E5C267F14 for ; Wed, 17 Dec 2014 10:21:03 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 17 Dec 2014 01:21:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,592,1413270000"; d="scan'208";a="649022857" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by fmsmga002.fm.intel.com with ESMTP; 17 Dec 2014 01:21:02 -0800 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id sBH9KvHH027061; Wed, 17 Dec 2014 17:20:57 +0800 Received: from shecgisg004.sh.intel.com (localhost [127.0.0.1]) by shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id sBH9KtVp018575; Wed, 17 Dec 2014 17:20:57 +0800 Received: (from dayuqiu@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id sBH9KtJw018571; Wed, 17 Dec 2014 17:20:55 +0800 From: Marvin Liu To: dev@dpdk.org Date: Wed, 17 Dec 2014 17:20:44 +0800 Message-Id: <1418808044-18540-1-git-send-email-yong.liu@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dpdk-dev] [PATCH] fix bug can not build example application for missing link 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 09:21:04 -0000 From: Yong Liu main.o: In function `rte_pktmbuf_free': main.c:(.text+0x9c): undefined reference to `per_lcore__lcore_id' Signed-off-by: Marvin liu --- mk/rte.app.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mk/rte.app.mk b/mk/rte.app.mk index 5fc3118..b51d814 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -61,7 +61,7 @@ ifeq ($(NO_AUTOLIBS),) LDLIBS += --whole-archive -ifeq ($(RTE_BUILD_COMBINE_LIBS),n) +ifeq ($(CONFIG_RTE_BUILD_COMBINE_LIBS),n) ifeq ($(CONFIG_RTE_LIBRTE_DISTRIBUTOR),y) LDLIBS += -lrte_distributor @@ -129,7 +129,7 @@ endif LDLIBS += --start-group -ifeq ($(RTE_BUILD_COMBINE_LIBS),n) +ifeq ($(CONFIG_RTE_BUILD_COMBINE_LIBS),n) ifeq ($(CONFIG_RTE_LIBRTE_KVARGS),y) LDLIBS += -lrte_kvargs @@ -251,7 +251,7 @@ build: _postbuild exe2cmd = $(strip $(call dotfile,$(patsubst %,%.cmd,$(1)))) -ifeq ($(RTE_BUILD_COMBINE_LIBS),y) +ifeq ($(CONFIG_RTE_BUILD_COMBINE_LIBS),y) LDLIBS += -l$(RTE_LIBNAME) endif -- 1.9.3