Re: [dpdk-dev] [PATCH] eal/linux: fix build when VFIO is disabled

2020-01-19 Thread Thomas Monjalon
11/12/2019 19:25, Ali Alnubani: > The header linux/version.h isn't included when CONFIG_RTE_EAL_VFIO > is explicitly disabled. LINUX_VERSION_CODE and KERNEL_VERSION are > therefore undefined, causing the build failure: > > lib/librte_eal/linux/eal/eal.c: In function ‘rte_eal_init’: > lib/librt

Re: [dpdk-dev] [PATCH] eal/linux: fix build when VFIO is disabled

2019-12-22 Thread Ali Alnubani
> -Original Message- > From: David Marchand > Sent: Monday, December 16, 2019 7:22 PM > To: Ali Alnubani > Cc: dev@dpdk.org; vattun...@marvell.com; sta...@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] eal/linux: fix build when VFIO is disabled > > On Wed, Dec

Re: [dpdk-dev] [PATCH] eal/linux: fix build when VFIO is disabled

2019-12-16 Thread David Marchand
On Wed, Dec 11, 2019 at 7:26 PM Ali Alnubani wrote: > The header linux/version.h isn't included when CONFIG_RTE_EAL_VFIO > is explicitly disabled. LINUX_VERSION_CODE and KERNEL_VERSION are > therefore undefined, causing the build failure: > > lib/librte_eal/linux/eal/eal.c: In function ‘rte_eal_

[dpdk-dev] [PATCH] eal/linux: fix build when VFIO is disabled

2019-12-11 Thread Ali Alnubani
The header linux/version.h isn't included when CONFIG_RTE_EAL_VFIO is explicitly disabled. LINUX_VERSION_CODE and KERNEL_VERSION are therefore undefined, causing the build failure: lib/librte_eal/linux/eal/eal.c: In function ‘rte_eal_init’: lib/librte_eal/linux/eal/eal.c:1076:32: error: "LINUX