Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用“ip link”命令将 xdp 程序放入内核,在我的虚拟机中(内核版本:4.18)
像这样的命令:
ip link set dev ens33 xdp obj xdpsock_kern.o sec .text
但是在这个命令之后,错误说:
No ELF library support compiled in.
我应该怎么做才能解决这个问题?
我通过重新配置 iproutes 解决了这个问题。
git clone git://git.kernel.org/pub/pub/scm/network/iproute2/iproute2.git cd iproute2/ ./configure --prefix=/usr make sudo make install