Intel DPDK Compilation Error

こ雲淡風輕ζ 提交于 2019-12-11 10:08:02

问题


I'm having problem in compiling the Intel DPDK on my Fedora and I really need that.

This is what I have in my terminal:

[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

Can someone help me please?


回答1:


You should install linux headers:

yum install kernel-devel

Then build/ should be a symlink to files needed to build kernel modules.




回答2:


It looks like RTE_KERNELDIR variable is not set correctly. The installer is not able to access kernel level parameters.



来源:https://stackoverflow.com/questions/21402044/intel-dpdk-compilation-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!