[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d451b670-10d0-d8f4-e47b-652c05ba44ba@iogearbox.net>
Date: Fri, 25 May 2018 10:30:08 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: Y Song <ys114321@...il.com>,
Mathieu Xhonneux <m.xhonneux@...il.com>
Cc: netdev <netdev@...r.kernel.org>, dlebrun@...gle.com,
Alexei Starovoitov <alexei.starovoitov@...il.com>
Subject: Re: [PATCH bpf-next v7 6/6] selftests/bpf: test for seg6local End.BPF
action
On 05/25/2018 04:30 AM, Y Song wrote:
> When compiling latest bpf-next, I hit the following compilation error:
>
> clang -I. -I./include/uapi -I../../../include/uapi -idirafter
> /usr/local/include -idirafter
> /data/users/yhs/work/llvm/build/install/lib/clang/7.0.0/include
> -idirafter /usr/include -Wno-compare-distinct-pointer-types \
> -O2 -target bpf -emit-llvm -c test_lwt_seg6local.c -o - | \
> llc -march=bpf -mcpu=generic -filetype=obj -o
> /data/users/yhs/work/net-next/tools/testing/selftests/bpf/test_lwt_seg6local.o
> test_lwt_seg6local.c:4:10: fatal error: 'linux/seg6_local.h' file not found
> #include <linux/seg6_local.h>
> ^~~~~~~~~~~~~~~~~~~~
> 1 error generated.
> make: Leaving directory
> `/data/users/yhs/work/net-next/tools/testing/selftests/bpf'
>
> Should the seg6_local.h be copied to tools/ directory?
Yeah it should, Mathieu please fix!
Powered by blists - more mailing lists