英特尔DPDK编译错误 [英] Intel DPDK Compilation Error
本文介绍了英特尔DPDK编译错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我的Fedora上编译Intel DPDK时遇到问题,我真的很需要.
I'm having problem in compiling the Intel DPDK on my Fedora and I really need that.
这是我终端中的内容:
[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
有人可以帮我吗?
推荐答案
您应该安装linux标头:
You should install linux headers:
yum install kernel-devel
然后build/应该是构建内核模块所需文件的符号链接.
Then build/ should be a symlink to files needed to build kernel modules.
这篇关于英特尔DPDK编译错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文