[dpdk-dev] Build failure on RHEL 7.4

Pavan Nikhilesh pbhagavatula at caviumnetworks.com
Wed Apr 11 21:46:28 CEST 2018


On Wed, Apr 11, 2018 at 09:40:30PM +0200, Thomas Monjalon wrote:
> 11/04/2018 21:09, Andrew Rybchenko:
> > Hello,
> >
> > build fails on RHEL 7.4. I've not tried to dig it.
>
> Thanks for reporting.
>
> [...]
> > ‘FALLOC_FL_PUNCH_HOLE’ undeclared (first use in this function)
> [...]
> > ‘FALLOC_FL_KEEP_SIZE’ undeclared (first use in this function)
>
> These constants were defined in Linux 2.6.23 and 2.6.38.
>
> [...]
> > $ uname -r
> > 3.10.0-693.el7.x86_64
>
> It should be OK.
>
> I think we are just missing
> 	#include <linux/falloc.h>

Currently there is a bug filed in glibc here for the exact same kernel version.
https://bugzilla.redhat.com/show_bug.cgi?id=1476120


>
>


More information about the dev mailing list