All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Borkmann <daniel@iogearbox.net>
To: Y Song <ys114321@gmail.com>, William Tu <u9012063@gmail.com>
Cc: Linux Kernel Network Developers <netdev@vger.kernel.org>
Subject: Re: [PATCH bpf-next] selftests/bpf: bpf tunnel test.
Date: Mon, 30 Apr 2018 11:05:16 +0200	[thread overview]
Message-ID: <74a48492-ab99-bbe4-632d-ce7ff82ff127@iogearbox.net> (raw)
In-Reply-To: <CAH3MdRVL6=5N1yKf2w7tAiGCV+48XMMtQ9iq4VuSC_-Z7YL=nQ@mail.gmail.com>

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

  reply	other threads:[~2018-04-30  9:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-25 15:01 [PATCH bpf-next] selftests/bpf: bpf tunnel test William Tu
2018-04-26 13:59 ` William Tu
2018-04-30  7:02   ` Y Song
2018-04-30  9:05     ` Daniel Borkmann [this message]
2018-04-30 14:29       ` William Tu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=74a48492-ab99-bbe4-632d-ce7ff82ff127@iogearbox.net \
    --to=daniel@iogearbox.net \
    --cc=netdev@vger.kernel.org \
    --cc=u9012063@gmail.com \
    --cc=ys114321@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.