[dpdk-dev] [PATCH] kni: fix build for CentOS 6.6
Thomas Monjalon
thomas.monjalon at 6wind.com
Thu Dec 18 23:04:01 CET 2014
> From CentOS 6.6, function skb_set_hash is introduced, this breaks
> the previous assumption. So modify RHEL_RELEASE_VERSION from 7.0
> to 6.6 to fix build for rte_kni.ko.
>
> Related mail from Barak Enat:
> http://dpdk.org/ml/archives/dev/2014-December/010124.html
>
> building error likes:
> CC [M] /root/dpdk-source/build/build/lib/librte_eal/linuxapp/kni/e1000_82575.o
> In file included from /root/dpdk-source/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_osdep.h:41,
> from /root/dpdk-source/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_hw.h:31,
> from /root/dpdk-source/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_api.h:31,
> from /root/dpdk-source/build/build/lib/librte_eal/linuxapp/kni/e1000_82575.c:38:
> /root/dpdk-source/lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h:3870: error: conflicting types for ‘skb_set_hash’
> include/linux/skbuff.h:620: note: previous definition of ‘skb_set_hash’ was here
> make[8]: *** [/root/dpdk-source/build/build/lib/librte_eal/linuxapp/kni/e1000_82575.o] Error 1
>
> Signed-off-by: Jincheng Miao <jincheng.miao at gmail.com>
Applied
Thanks
--
Thomas
More information about the dev
mailing list