[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <C496D061-48EF-4D86-BC78-50BDAFE32223@163.com>
Date: Fri, 18 Dec 2015 22:13:54 +0800
From: pi3orama <pi3orama@....com>
To: Daniel Wagner <daniel.wagner@...-carit.de>
Cc: "Wangnan (F)" <wangnan0@...wei.com>, ast@...nel.org,
agartrell@...com, acme@...hat.com, bblanco@...mgrid.com,
daniel@...earbox.net, davem@...emloft.net, mingo@...nel.org,
jolsa@...nel.org, xiakaixu@...wei.com, holzheu@...ux.vnet.ibm.com,
yang.shi@...aro.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 00/10] bpf samples: Uses libbpf in tools/lib to do BPF operations
发自我的 iPhone
> 在 2015年12月18日,下午8:55,Daniel Wagner <daniel.wagner@...-carit.de> 写道:
>
>> On 12/18/2015 12:03 PM, Wangnan (F) wrote:
>> That's good. This is not a magic.
>
> That is what you say! :)
>
>> I guess something in your top makefile
>> causes this feature check failure. I sent a patch on feature checker to
>> you.
>> It will appear as [1] soon. Could you please apply it and try again?
>
> Sure.
>
>> This time you will see test-*.make.output and test-*.make.makeoutput.
>> test-*.make.output lists your PATH, PWD and the gcc command you use for
>> feature check. test-*.make.makeoutput is the output of 'make' itself. I
>> think
>> from these information we can find the root cause easier.
>
> $ ls samples/bpf/libbpf/feature.libbpf/*
> samples/bpf/libbpf/feature.libbpf/test-all.make.makeoutput
> samples/bpf/libbpf/feature.libbpf/test-bpf.make.makeoutput
> samples/bpf/libbpf/feature.libbpf/test-libelf-getphdrnum.make.makeoutput
> samples/bpf/libbpf/feature.libbpf/test-libelf.make.makeoutput
> samples/bpf/libbpf/feature.libbpf/test-libelf-mmap.make.makeoutput
>
> $ cat samples/bpf/libbpf/feature.libbpf/*
> make[2]: *** tools/build/feature: No such file or directory. Stop.
> make[2]: *** tools/build/feature: No such file or directory. Stop.
> make[2]: *** tools/build/feature: No such file or directory. Stop.
> make[2]: *** tools/build/feature: No such file or directory. Stop.
> make[2]: *** tools/build/feature: No such file or directory. Stop.
>
Thank you for your information.
I think the reason of the failure is the missing of srctree. I skipped a patch [1]
because I think it is independent with this patchset, but I was wrong.
Could you please add the srctree setting code block from [1] to your
tools/lib/bpf/Makefile and try again? You don't need other part of it,
or you have to apply the whole patchset because it moves a file.
[1] http://lkml.kernel.org/g/1450316632-152513-1-git-send-email-wangnan0@huawei.com
Thank you.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists