[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180512103906.0a3af54c@redhat.com>
Date: Sat, 12 May 2018 10:39:06 +0200
From: Jesper Dangaard Brouer <brouer@...hat.com>
To: Jakub Kicinski <jakub.kicinski@...ronome.com>
Cc: brouer@...hat.com, alexei.starovoitov@...il.com,
daniel@...earbox.net, oss-drivers@...ronome.com,
netdev@...r.kernel.org,
Björn Töpel
<bjorn.topel@...il.com>
Subject: Re: [PATCH bpf-next 0/4] samples: bpf: fix build after move to full
libbpf
On Fri, 11 May 2018 17:17:25 -0700
Jakub Kicinski <jakub.kicinski@...ronome.com> wrote:
> Following patches address build issues after recent move to libbpf.
> For out-of-tree builds we would see the following error:
>
> gcc: error: samples/bpf/../../tools/lib/bpf/libbpf.a: No such file or directory
>
> Mini-library called libbpf.h in samples is renamed to bpf_insn.h,
> using linux/filter.h seems not completely trivial since some samples
> get upset when order on include search path in changed. We do have
> to rename libbpf.h, however, because otherwise it's hard to reliably
> get to libbpf's header in out-of-tree builds.
Acked-by: Jesper Dangaard Brouer <brouer@...hat.com>
Thank you for doing this... this mini-library also called libbpf.h have
confused me before, and I bet it will/would confuse others as well.
Glad to see it being renamed :-)
--
Best regards,
Jesper Dangaard Brouer
MSc.CS, Principal Kernel Engineer at Red Hat
LinkedIn: http://www.linkedin.com/in/brouer
Powered by blists - more mailing lists