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