finding libelf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: [ OFF ]
...                          zlib: [ OFF ]
...                           bpf: [ OFF ]

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




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux