bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* finding libelf
@ 2021-02-03  3:50 Randy Dunlap
  2021-02-03 10:57 ` Toke Høiland-Jørgensen
  0 siblings, 1 reply; 16+ messages in thread
From: Randy Dunlap @ 2021-02-03  3:50 UTC (permalink / raw)
  To: bpf

Hi,

I see this sometimes when building a kernel: (on x86_64,
with today's linux-next 20210202):


CONFIG_CGROUP_BPF=y
CONFIG_BPF=y
CONFIG_BPF_SYSCALL=y
CONFIG_ARCH_WANT_DEFAULT_BPF_JIT=y
CONFIG_BPF_PRELOAD=y
CONFIG_BPF_PRELOAD_UMD=m
CONFIG_HAVE_EBPF_JIT=y


Auto-detecting system features:
...                        libelf: [ ^[[31mOFF^[[m ]
...                          zlib: [ ^[[31mOFF^[[m ]
...                           bpf: [ ^[[31mOFF^[[m ]

No libelf found
make[5]: [Makefile:287: elfdep] Error 1 (ignored)
No zlib found
make[5]: [Makefile:290: zdep] Error 1 (ignored)
BPF API too old
make[5]: [Makefile:293: bpfdep] Error 1 (ignored)


but pkg-config tells me:

$ pkg-config --modversion  libelf
0.168
$ pkg-config --libs  libelf
-lelf


Any ideas?

thanks.

-- 
~Randy


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

end of thread, other threads:[~2021-02-04 10:57 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-03  3:50 finding libelf Randy Dunlap
2021-02-03 10:57 ` Toke Høiland-Jørgensen
2021-02-03 17:20   ` Randy Dunlap
2021-02-03 19:39     ` Andrii Nakryiko
2021-02-03 20:06       ` Andrii Nakryiko
2021-02-03 20:33         ` Jiri Olsa
2021-02-04 10:55         ` Jiri Olsa
2021-02-03 20:09       ` Randy Dunlap
2021-02-03 20:12         ` Andrii Nakryiko
2021-02-03 20:14           ` Randy Dunlap
2021-02-03 20:33             ` Andrii Nakryiko
2021-02-03 20:36               ` Randy Dunlap
2021-02-03 20:41                 ` Randy Dunlap
2021-02-03 20:41                 ` Andrii Nakryiko
2021-02-03 20:57                   ` Randy Dunlap
2021-02-03 21:31                     ` Andrii Nakryiko

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).