[dpdk-dev] Build failure on RHEL 7.4
Thomas Monjalon
thomas at monjalon.net
Wed Apr 11 21:40:30 CEST 2018
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>
More information about the dev
mailing list