All of lore.kernel.org
 help / color / mirror / Atom feed
From: William Tu <u9012063@gmail.com>
To: Daniel Borkmann <daniel@iogearbox.net>
Cc: Y Song <ys114321@gmail.com>,
	Linux Kernel Network Developers <netdev@vger.kernel.org>
Subject: Re: [PATCH bpf-next] selftests/bpf: bpf tunnel test.
Date: Mon, 30 Apr 2018 07:29:41 -0700	[thread overview]
Message-ID: <CALDO+SZ+h=zWH0vCW=CznyS=BNqMPxprm+4yvZ0Qzvr4=Cwvyw@mail.gmail.com> (raw)
In-Reply-To: <74a48492-ab99-bbe4-632d-ce7ff82ff127@iogearbox.net>

On Mon, Apr 30, 2018 at 2:05 AM, Daniel Borkmann <daniel@iogearbox.net> wrote:
> 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?
>
It works for me because I do 'make headers_install' and install the
erspan.h in my /usr/include/linux/
I will submit a patch to add the erspan.h in tools/include/uapi/linux
Thanks
William

      reply	other threads:[~2018-04-30 14:30 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
2018-04-30 14:29       ` William Tu [this message]

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='CALDO+SZ+h=zWH0vCW=CznyS=BNqMPxprm+4yvZ0Qzvr4=Cwvyw@mail.gmail.com' \
    --to=u9012063@gmail.com \
    --cc=daniel@iogearbox.net \
    --cc=netdev@vger.kernel.org \
    --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.