Thread (5 messages) flat view 5 messages, 2 authors, 2018-08-16

Re: samples don't build on v4.18

From: Joel Fernandes <hidden>
Date: 2018-08-15 01:22:27
Also in: lkml

Forgot to add the patch author, doing so now. thanks

On Tue, Aug 14, 2018 at 6:20 PM, Joel Fernandes [off-list ref] wrote:
Hi,
When building BPF samples on v4.18, I get the following errors:

$ cd samples/bpf/
$ make

Auto-detecting system features:
...                        libelf: [ OFF ]
...                           bpf: [ OFF ]

No libelf found
Makefile:213: recipe for target 'elfdep' failed
-----------

I bissected it down to commit 5f9380572b4bb24f60cd492b1

Author: Jakub Kicinski [off-list ref]
Date:   Thu May 10 10:24:39 2018 -0700

    samples: bpf: compile and link against full libbpf
---------

Checking out a kernel before this commit makes the samples build. Also I do
have libelf on my system.

Any thoughts on this issue?

thank you,

- Joel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help