1

我在我的 Fedora 上编译英特尔 DPDK 时遇到问题,我真的需要它。

这就是我在终端中的内容:

[gois@localhost dpdk-1.5.2r1]$ make install T=i686-default-linuxapp-gcc
================== Installing i686-default-linuxapp-gcc
== Build scripts
== Build scripts/testhost
== Build lib
== Build lib/librte_eal
== Build lib/librte_eal/common
== Build lib/librte_eal/linuxapp
== Build lib/librte_eal/linuxapp/igb_uio
make: *** /lib/modules/3.11.10-301.fc20.x86_64/build: File or directory not found.  Stop.
make[7]: ** [igb_uio.ko] Error 2
make[6]: ** [igb_uio] Error 2
make[5]: ** [linuxapp] Error 2
make[4]: ** [librte_eal] Error 2
make[3]: ** [lib] Error 2
make[2]: ** [all] Error 2
make[1]: ** [i686-default-linuxapp-gcc_install] Error 2
make: ** [install] Error 2

有人能帮助我吗?

4

2 回答 2

4

你应该安装 linux 头文件:

yum install kernel-devel

然后 build/ 应该是构建内核模块所需文件的符号链接。

于 2014-01-29T10:07:28.110 回答
0

看起来 RTE_KERNELDIR 变量设置不正确。安装程序无法访问内核级参数。

于 2015-07-06T08:19:58.473 回答