DPDK patches and discussions
 help / color / mirror / Atom feed
From: steeven lee <steeven@gmail.com>
To: "Qiu, Michael" <michael.qiu@intel.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH] mk: fix examples build failure
Date: Tue, 5 Jan 2016 18:20:50 +0800	[thread overview]
Message-ID: <CADvXkJ6HYXELrM-qzdm_KHBtXrQO5ut7iJzE7uwZDn4RVRWwwQ@mail.gmail.com> (raw)
In-Reply-To: <533710CFB86FA344BFBF2D6802E6028622F04CF5@SHSMSX101.ccr.corp.intel.com>

Hi Michael:

Seems the examples makefile seems to be broken, easy to reproduce on
master branch, below is the outputs on Ubuntu 14.04 amd64 version:

~/work/dpdk$ export RTE_SDK=/home/steeven/work/dpdk
~/work/dpdk$ cd /home/steeven/work/dpdk/examples/helloworld/
~/work/dpdk/examples/helloworld$ export RTE_TARGET=x86_64-native-linuxapp-gcc
~/work/dpdk/examples/helloworld$ make
/home/steeven/work/dpdk/mk/internal/rte.extvars.mk:57: *** Cannot find
.config in /home/xueming/work/dpdk.  Stop.
~/work/dpdk/examples/helloworld$ cd ../cmdline/
~/work/dpdk/examples/cmdline$ make
/home/steeven/work/dpdk/mk/internal/rte.extvars.mk:57: *** Cannot find
.config in /home/xueming/work/dpdk.  Stop.


Thanks,
Steeven

On Mon, Dec 28, 2015 at 12:20 PM, Qiu, Michael <michael.qiu@intel.com> wrote:
> On 12/24/2015 8:38 PM, steeven lee wrote:
>> 1. Fix examples build failure
>> 2. make build as default output folder name
>>
>> Signed-off-by: steeven <steeven@gmail.com>
>> ---
>>  mk/internal/rte.extvars.mk | 4 ++--
>>  mk/rte.extsubdir.mk        | 2 +-
>>  2 files changed, 3 insertions(+), 3 deletions(-)
>>
>> diff --git a/mk/internal/rte.extvars.mk b/mk/internal/rte.extvars.mk
>> index 040d39f..cabef0a 100644
>> --- a/mk/internal/rte.extvars.mk
>> +++ b/mk/internal/rte.extvars.mk
>> @@ -52,9 +52,9 @@ RTE_EXTMK ?= $(RTE_SRCDIR)/Makefile
>>  export RTE_EXTMK
>>
>>  # RTE_SDK_BIN must point to .config, include/ and lib/.
>> -RTE_SDK_BIN := $(RTE_SDK)/$(RTE_TARGET)
>> +RTE_SDK_BIN := $(RTE_SDK)/build
>>  ifeq ($(wildcard $(RTE_SDK_BIN)/.config),)
>> -$(error Cannot find .config in $(RTE_SDK))
>> +$(error Cannot find .config in $(RTE_SDK_BIN))
>>  endif
>>
>>  #
>> diff --git a/mk/rte.extsubdir.mk b/mk/rte.extsubdir.mk
>> index f50f006..819020a 100644
>> --- a/mk/rte.extsubdir.mk
>> +++ b/mk/rte.extsubdir.mk
>> @@ -46,7 +46,7 @@ $(DIRS-y):
>>         @echo "== $@"
>>         $(Q)$(MAKE) -C $(@) \
>>                 M=$(CURDIR)/$(@)/Makefile \
>> -               O=$(BASE_OUTPUT)/$(CUR_SUBDIR)/$(@)/$(RTE_TARGET) \
>> +               O=$(BASE_OUTPUT)/$(CUR_SUBDIR)/build \
>>                 BASE_OUTPUT=$(BASE_OUTPUT) \
>>                 CUR_SUBDIR=$(CUR_SUBDIR)/$(@) \
>>                 S=$(CURDIR)/$(@) \
>
> Could you show your compile error log? And how to reproduce it?
>
> Thanks,
> Michael

  reply	other threads:[~2016-01-05 10:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-24 12:38 steeven lee
2015-12-27 18:19 ` Thomas Monjalon
2015-12-28  4:20 ` Qiu, Michael
2016-01-05 10:20   ` steeven lee [this message]
2015-12-28  4:53 ` Yuanhan Liu
2016-02-08 15:06 ` Thomas Monjalon
2016-03-02 15:52   ` [dpdk-dev] [PATCH] mk: fix error message Thomas Monjalon
2016-03-03 10:39     ` Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADvXkJ6HYXELrM-qzdm_KHBtXrQO5ut7iJzE7uwZDn4RVRWwwQ@mail.gmail.com \
    --to=steeven@gmail.com \
    --cc=dev@dpdk.org \
    --cc=michael.qiu@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).