Skip to content

Aix - make statx #1765

Open
Open
@maartenv86

Description

@maartenv86

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpatcheswelcomeNo one internal is working on this but an external contributor's help is very welcome!triagedIssue cause is understood but a patch is needed to fix it

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions