Hello,
I have followed the instructions from:

https://cilium.readthedocs.io/en/latest/bpf/#bpftool

to test xdp program.
But i can not enable elf support.

./configure --prefix=/usr
```output
TC schedulers
ATM     no

libc has setns: yes
SELinux support: no
ELF support: no
libmnl support: yes
Berkeley DB: yes
need for strlcpy: yes
libcap support: yes
```
And i have installed libelf-dev :
```output
sudo apt show libelf-dev
Package: libelf-dev
Version: 0.168-1
Priority: optional
Section: libdevel
Source: elfutils
Maintainer: Kurt Roeckx <k...@roeckx.be>
Installed-Size: 353 kB
Depends: libelf1 (= 0.168-1)
Conflicts: libelfg0-dev
Homepage: https://sourceware.org/elfutils/
Tag: devel::library, role::devel-lib
```

And gcc version:
gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)

uname -a:
Linux debian 4.18.0-rc1+ #2 SMP Sun Jun 24 16:53:57 HKT 2018 x86_64 GNU/Linux

Any help is appreciate.

Reply via email to