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 A1E583B5 for ; Wed, 17 Dec 2014 11:47:52 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 17 Dec 2014 02:47:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,593,1413270000"; d="scan'208";a="649057490" Received: from bricha3-mobl3.ger.corp.intel.com ([10.243.20.28]) by fmsmga002.fm.intel.com with SMTP; 17 Dec 2014 02:47:49 -0800 Received: by (sSMTP sendmail emulation); Wed, 17 Dec 2014 10:47:49 +0025 Date: Wed, 17 Dec 2014 10:47:49 +0000 From: Bruce Richardson To: Marvin Liu Message-ID: <20141217104748.GD9184@bricha3-MOBL3> References: <1418808044-18540-1-git-send-email-yong.liu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1418808044-18540-1-git-send-email-yong.liu@intel.com> Organization: Intel Shannon Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Cc: dev@dpdk.org Subject: Re: [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 10:47:53 -0000 On Wed, Dec 17, 2014 at 05:20:44PM +0800, Marvin Liu wrote: > 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 Acked-by: Bruce Richardson > --- > 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 >