linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* samples don't build on v4.18
@ 2018-08-15  1:20 Joel Fernandes
  2018-08-15  1:22 ` Joel Fernandes
  0 siblings, 1 reply; 5+ messages in thread
From: Joel Fernandes @ 2018-08-15  1:20 UTC (permalink / raw)
  To: linux-kernel, wangnan0, netdev, ast, acme, fengc


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 <jakub.kicinski@netronome.com>
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-08-16 20:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-15  1:20 samples don't build on v4.18 Joel Fernandes
2018-08-15  1:22 ` Joel Fernandes
2018-08-15  3:01   ` Joel Fernandes
2018-08-15 19:34     ` Jakub Kicinski
2018-08-16 20:55       ` Joel Fernandes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).