1
votes

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?

2
Please paste English output... - lpapp
Oh, sorry, english output is "File or directory not found. Stop." and "Erro" means "Error"... Thank you @LaszloPapp! - Gois
yes, I google translated it, but still, it is better to update the original post so that the readers do not need to go through the comments to understand such things. - lpapp
@LaszloPapp, thank you so much for the tips! :D - Gois

2 Answers

4
votes

You should install linux headers:

yum install kernel-devel

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

0
votes

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