On 12/18/2015 04:04 AM, Wangnan (F) wrote:
On 2015/12/17 21:46, Daniel Wagner wrote:I see.
On 12/17/2015 11:09 AM, Wangnan (F) wrote:So it is the content in test-all.make.output ? Then it is
On 2015/12/17 16:29, Daniel Wagner wrote:test-libpython.c:1:20: fatal error: Python.h: No such file or directory
On 12/17/2015 08:03 AM, Daniel Wagner wrote:When you see this, could you please have a look at:
Patch number 2 didn't apply cleanly.
/home/wagi/src/linux/samples/bpf/libbpf/feature/test-*.make.output
?
not a problem. It is only a fastpath which tries to check
all features by one test. On most platform it would fail.
BPF related feature check is not in test-all. It is a potentialI cleanup up my tree (rm samples/bpf/ and git checkout samples/bpf) and then
bug, but I don't think it causes your problem.
Another problem is you didn't see this in the first failure:
Auto-detecting system features:
... libelf: [ on ]
... bpf: [ on ]
This only happen when you already have a FEATURE-DUMP.libbpf in that
directory and it is same as the feature check result.
Could you please remove samples/bpf in your building tree and
try again? After you see the failure, what's the content of
/home/wagi/src/linux/samples/bpf/libbpf/FEATURE-* ?
$ make samples/bpf/
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CHK include/generated/bounds.h
CHK include/generated/timeconst.h
CHK include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
LD samples/bpf/built-in.o
make -C /home/wagi/src/linux/tools/lib/bpf O=/home/wagi/src/linux/samples/bpf/libbpf CFLAGS= LDFLAGS= V=1 /home/wagi/src/linux/samples/bpf/libbpf/libbpf.a
Auto-detecting system features:
... libelf: [ OFF ]
... bpf: [ OFF ]