Hi Pablo, 

I did the modifications manually on the dpdk 2.0.0 
(http://dpdk.org/browse/dpdk/snapshot/dpdk-2.0.0.tar.gz) as per your email. 

DPDK build was complete successfully.

I will perform tests on my test app tomorrow and in case of issues will use 
this thread.

Thanks for the support appreciate your help.

Regards
Sotiris Salloumis

-----Original Message-----
From: De Lara Guarch, Pablo [mailto:pablo.de.lara.gua...@intel.com] 
Sent: Wednesday, July 15, 2015 5:15 PM
To: Sotiris Salloumis; dev at dpdk.org
Subject: RE: Dpdk 2.0.0 error with Suse Linux Enterprise 12

Hi Sotiris,

> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Sotiris Salloumis
> Sent: Wednesday, July 15, 2015 2:15 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] Dpdk 2.0.0 error with Suse Linux Enterprise 12
> 
> Dear all,
> 
> I?m trying to build dpdk with Suse 12 but I receive the following error:
> 
> from /home/Downloads/dpdk-
> 2.0.0/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_api.h:31,
> from /home/Downloads/dpdk-2.0.0/x86_64-native-linuxapp-
> gcc/build/lib/librte_eal/linuxapp/kni/e1000_82575.c:38:
> /usr/src/linux-3.12.28-4/include/linux/skbuff.h:749:1: note: previous 
> definition of ???skb_set_hash??? was here skb_set_hash(struct sk_buff 
> *skb, __u32 hash, enum pkt_hash_types type) ^
> /usr/src/linux-3.12.28-4/scripts/Makefile.build:324: recipe for target
> '/home/Downloads/dpdk-2.0.0/x86_64-native-linuxapp-
> gcc/build/lib/librte_eal/linuxapp/kni/e1000_82575.o' failed
> make[11]: *** [/home/Downloads/dpdk-2.0.0/x86_64-native-linuxapp-
> gcc/build/lib/librte_eal/linuxapp/kni/e1000_82575.o] Error 1
> /usr/src/linux-3.12.28-4/Makefile:1287: recipe for target
> '_module_/home/Downloads/dpdk-2.0.0/x86_64-native-linuxapp-
> gcc/build/lib/librte_eal/linuxapp/kni' failed
> make[10]: *** [_module_/home/Downloads/dpdk-2.0.0/x86_64-native-
> linuxapp-gcc/build/lib/librte_eal/linuxapp/kni] Error 2
> Makefile:195: recipe for target 'sub-make' failed
> make[9]: *** [sub-make] Error 2
> Makefile:26: recipe for target 'all' failed
> make[8]: *** [all] Error 2
> /home/Downloads/dpdk-2.0.0/mk/rte.module.mk:79: recipe for target 
> 'rte_kni.ko' failed
> make[7]: *** [rte_kni.ko] Error 2
> /home/Downloads/dpdk-2.0.0/mk/rte.subdir.mk:61: recipe for target 'kni'
> failed
> make[6]: *** [kni] Error 2
> /home/Downloads/dpdk-2.0.0/mk/rte.subdir.mk:61: recipe for target 
> 'linuxapp' failed
> make[5]: *** [linuxapp] Error 2
> /home/Downloads/dpdk-2.0.0/mk/rte.subdir.mk:61: recipe for target 
> 'librte_eal' failed
> make[4]: *** [librte_eal] Error 2
> /home/Downloads/dpdk-2.0.0/mk/rte.sdkbuild.mk:93: recipe for target 'lib'
> failed
> make[3]: *** [lib] Error 2
> /home/Downloads/dpdk-2.0.0/mk/rte.sdkroot.mk:124: recipe for target 'all'
> failed
> make[2]: *** [all] Error 2
> /home/Downloads/dpdk-2.0.0/mk/rte.sdkinstall.mk:58: recipe for target 
> 'x86_64-native-linuxapp-gcc_install' failed
> make[1]: *** [x86_64-native-linuxapp-gcc_install] Error 2
> /home/Downloads/dpdk-2.0.0/mk/rte.sdkroot.mk:102: recipe for target 
> 'install' failed
> make: *** [install] Error 2
> 
> Any help is much appreciated

I just sent a patch in the mailing list to fix the issue. Can you check if it 
works for you?
You may need to get the latest code from the git repository, as it may only 
apply correctly there and not for dpdk 2.0.

Thanks,
Pablo
> 
> Regards
> Sotiris

Reply via email to