[dpdk-users] Cannot Remove Igb_uio module when compiling dpdk16.04

Xu, Rongjie (Nokia - CN/Hangzhou) rongjie.xu at nokia.com
Wed Apr 20 09:21:17 CEST 2016


Hi,

Sorry for bother. I found the reason. 

The third step should be "make O= x86_64-native-linuxapp-gcc", meaning compiling based on configuration under output folder x86_64-native-linuxapp-gcc. 

Best Regards
Xu Rongjie (Max)
Mobile:18658176819

-----Original Message-----
From: users [mailto:users-bounces at dpdk.org] On Behalf Of EXT Xu, Rongjie (Nokia - CN/Hangzhou)
Sent: Wednesday, April 20, 2016 3:07 PM
To: users at dpdk.org
Subject: [dpdk-users] Cannot Remove Igb_uio module when compiling dpdk16.04

Hi,

I try to compile dpdk 16.04 without generating igb_uio kernel module. But it does not work, anyone know which step is wrong? Thanks.

1.      Comment IGB option in config/common_linuxapp
      # vim ./config/common_linuxapp
      CONFIG_RTE_EAL_IGB_UIO=n
2.      make config T=x86_64-native-linuxapp-gcc O= x86_64-native-linuxapp-gcc
3.      make

After that, I get following logs. I see it still try to compile igb_uio, error is due to this linux system does not contain kernel source file.

== Build lib
== Build lib/librte_compat
== Build lib/librte_eal
== Build lib/librte_eal/common
== Build lib/librte_eal/linuxapp
== Build lib/librte_eal/linuxapp/eal
== Build lib/librte_eal/linuxapp/igb_uio
make[6]: *** /lib/modules/4.1.18-pc64-distro.git-v2.6-sctpmh/build: No such file or directory.  Stop.

Best Regards
Xu Rongjie (Max)
Mobile:18658176819





More information about the users mailing list