[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <74a48492-ab99-bbe4-632d-ce7ff82ff127@iogearbox.net>
Date: Mon, 30 Apr 2018 11:05:16 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: Y Song <ys114321@...il.com>, William Tu <u9012063@...il.com>
Cc: Linux Kernel Network Developers <netdev@...r.kernel.org>
Subject: Re: [PATCH bpf-next] selftests/bpf: bpf tunnel test.
On 04/30/2018 09:02 AM, Y Song wrote:
> Hi, William,
>
> When compiled the selftests/bpf in my centos 7 based system, I have
> the following failures,
>
> clang -I. -I./include/uapi -I../../../include/uapi
> -Wno-compare-distinct-pointer-types \
> -O2 -target bpf -emit-llvm -c test_tunnel_kern.c -o - | \
> llc -march=bpf -mcpu=generic -filetype=obj -o
> /data/users/yhs/work/net-next/tools/testing/selftests/bpf/test_tunnel_kern.o
> test_tunnel_kern.c:21:10: fatal error: 'linux/erspan.h' file not found
> #include <linux/erspan.h>
> ^~~~~~~~~~~~~~~~
> 1 error generated.
>
> Maybe I missed some packages to install?
Looks like we need a copy for tools infrastructure in tools/include/uapi/linux/erspan.h.
William, could you take a look?
Thanks,
Daniel
Powered by blists - more mailing lists