[dpdk-dev] Building 1.7.1 or 1.8.0-rc4 on latest CentOS 6.6 fails

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Dec 18 23:05:26 CET 2014


2014-12-17 11:09, Thomas Monjalon:
> 2014-12-17 14:21, Jincheng Miao:
> > On Tue, Dec 16, 2014 at 11:12 PM, Barak Enat <barak at saguna.net> wrote:
> > > It seems the assumption that skb_set_hash is missing in CentOS prior to
> > > version 7 is not valid anymore.
> > 
> > Yes, you are right, this function skb_set_hash is added from Cent 6.6,
> > so some macro should be changed like this:
> > 
> [...]
> >  #if ( LINUX_VERSION_CODE < KERNEL_VERSION(3,14,0) )
> > -#if (!(RHEL_RELEASE_CODE && RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(7,0)))
> > +#if (!(RHEL_RELEASE_CODE && RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(6,6)))
> >  #if (!(UBUNTU_KERNEL_CODE >= UBUNTU_KERNEL_VERSION(3,13,0,30,54) \
> >      && (UBUNTU_RELEASE_CODE == UBUNTU_RELEASE_VERSION(12,4) \
> >       || UBUNTU_RELEASE_CODE == UBUNTU_RELEASE_VERSION(14,4))))
> 
> A patch would be appreciate :)

Should be fixed now:
	http://dpdk.org/browse/dpdk/commit/?id=a8aac461cbdb

-- 
Thomas


More information about the dev mailing list