Aix - make statx #1765
Labels
bug
patcheswelcome
No one internal is working on this but an external contributor's help is very welcome!
triaged
Issue cause is understood but a patch is needed to fix it
Please acknowledge the following before creating a ticket
Description of the bug:
make halts wit the following:
In file included from engines/fileoperations.c:16:
engines/../oslib/statx.h:12:5: error: conflicting types for 'statx'
12 | int statx(int dfd, const char *pathname, int flags, unsigned int mask,
| ^~~~~
In file included from /usr/include/sys/lockf.h:45,
from /opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/10/include-fixed/unistd.h:868,
from /opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/10/include-fixed/fcntl.h:254,
from engines/fileoperations.c:9:
/usr/include/sys/stat.h:512:5: note: previous declaration of 'statx' was here
512 | int statx(char *, struct stat *, int, int);
| ^~~~~
make: *** [Makefile:526: engines/fileoperations.o] Error 1
Environment: AIX 7.2 TL05 SP04
fio version: 3.37
Reproduction steps
./configure <-- without any errors
make <-- halts with above output.
The text was updated successfully, but these errors were encountered: