<div dir="ltr"><div class="gmail_quote"><div>Hi Marcos, </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
My bad. I had this repository for some months already, I might have forgotten to<br>
run "make autotools"... it now build as expected. Thanks and sorry about the<br>
noise.<br>
<br></blockquote><div>No problem. But Buildroot CI reports similar problem, I wonder if I find some time in my after work time to look into it</div><div><a href="http://autobuild.buildroot.net/results/ef429f764d7b017b37e4a1216a2b7b325bc1ea73/build-end.log">http://autobuild.buildroot.net/results/ef429f764d7b017b37e4a1216a2b7b325bc1ea73/build-end.log</a><br></div><div><br></div><div>Petr</div><div><br></div><div>In file included from /home/buildroot/autobuild/instance-0/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/linux/fs.h:19,<br>                 from ../../../../include/lapi/fs.h:10,<br>                 from statx09.c:24:<br>/home/buildroot/autobuild/instance-0/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/linux/mount.h:95:6: error: redeclaration of 'enum fsconfig_command'<br>   95 | enum fsconfig_command {<br>      |      ^~~~~~~~~~~~~~~~<br>In file included from statx09.c:21:<br>/home/buildroot/autobuild/instance-0/output-1/host/lib/gcc/aarch64-buildroot-linux-gnu/11.3.0/include-fixed/sys/mount.h:249:6: note: originally defined here<br>  249 | enum fsconfig_command<br>      |      ^~~~~~~~~~~~~~~~<br>/home/buildroot/autobuild/instance-0/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/linux/mount.h:96:9: error: redeclaration of enumerator 'FSCONFIG_SET_FLAG'<br>   96 |         FSCONFIG_SET_FLAG       = 0,    /* Set parameter, supplying no value */<br>      |         ^~~~~~~~~~~~~~~~~<br>/home/buildroot/autobuild/instance-0/output-1/host/lib/gcc/aarch64-buildroot-linux-gnu/11.3.0/include-fixed/sys/mount.h:251:3: note: previous definition of 'FSCONFIG_SET_FLAG' with type 'enum fsconfig_command'<br>  251 |   FSCONFIG_SET_FLAG       = 0,    /* Set parameter, supplying no value */<br>      |   ^~~~~~~~~~~~~~~~~<br>/home/buildroot/autobuild/instance-0/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/linux/mount.h:97:9: error: redeclaration of enumerator 'FSCONFIG_SET_STRING'<br>   97 |         FSCONFIG_SET_STRING     = 1,    /* Set parameter, supplying a string value */<br>      |         ^~~~~~~~~~~~~~~~~~~<br>/home/buildroot/autobuild/instance-0/output-1/host/lib/gcc/aarch64-buildroot-linux-gnu/11.3.0/include-fixed/sys/mount.h:253:3: note: previous definition of 'FSCONFIG_SET_STRING' with type 'enum fsconfig_command'<br>  253 |   FSCONFIG_SET_STRING     = 1,    /* Set parameter, supplying a string value */<br>      |   ^~~~~~~~~~~~~~~~~~~<br>/home/buildroot/autobuild/instance-0/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/linux/mount.h:98:9: error: redeclaration of enumerator 'FSCONFIG_SET_BINARY'<br>   98 |         FSCONFIG_SET_BINARY     = 2,    /* Set parameter, supplying a binary blob value */<br>      |         ^~~~~~~~~~~~~~~~~~~<br>/home/buildroot/autobuild/instance-0/output-1/host/lib/gcc/aarch64-buildroot-linux-gnu/11.3.0/include-fixed/sys/mount.h:255:3: note: previous definition of 'FSCONFIG_SET_BINARY' with type 'enum fsconfig_command'<br>  255 |   FSCONFIG_SET_BINARY     = 2,    /* Set parameter, supplying a binary blob value */<br>      |   ^~~~~~~~~~~~~~~~~~~<br>/home/buildroot/autobuild/instance-0/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/linux/mount.h:99:9: error: redeclaration of enumerator 'FSCONFIG_SET_PATH'<br>   99 |         FSCONFIG_SET_PATH       = 3,    /* Set parameter, supplying an object by path */<br>      |         ^~~~~~~~~~~~~~~~~<br>/home/buildroot/autobuild/instance-0/output-1/host/lib/gcc/aarch64-buildroot-linux-gnu/11.3.0/include-fixed/sys/mount.h:257:3: note: previous definition of 'FSCONFIG_SET_PATH' with type 'enum fsconfig_command'<br>  257 |   FSCONFIG_SET_PATH       = 3,    /* Set parameter, supplying an object by path */<br>      |   ^~~~~~~~~~~~~~~~~<br>/home/buildroot/autobuild/instance-0/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/linux/mount.h:100:9: error: redeclaration of enumerator 'FSCONFIG_SET_PATH_EMPTY'<br>  100 |         FSCONFIG_SET_PATH_EMPTY = 4,    /* Set parameter, supplying an object by (empty) path */<br>      |         ^~~~~~~~~~~~~~~~~~~~~~~<br>/home/buildroot/autobuild/instance-0/output-1/host/lib/gcc/aarch64-buildroot-linux-gnu/11.3.0/include-fixed/sys/mount.h:259:3: note: previous definition of 'FSCONFIG_SET_PATH_EMPTY' with type 'enum fsconfig_command'<br>  259 |   FSCONFIG_SET_PATH_EMPTY = 4,    /* Set parameter, supplying an object by (empty) path */<br>      |   ^~~~~~~~~~~~~~~~~~~~~~~<br>/home/buildroot/autobuild/instance-0/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/linux/mount.h:101:9: error: redeclaration of enumerator 'FSCONFIG_SET_FD'<br>  101 |         FSCONFIG_SET_FD         = 5,    /* Set parameter, supplying an object by fd */<br>      |         ^~~~~~~~~~~~~~~<br>/home/buildroot/autobuild/instance-0/output-1/host/lib/gcc/aarch64-buildroot-linux-gnu/11.3.0/include-fixed/sys/mount.h:261:3: note: previous definition of 'FSCONFIG_SET_FD' with type 'enum fsconfig_command'<br>  261 |   FSCONFIG_SET_FD         = 5,    /* Set parameter, supplying an object by fd */<br>      |   ^~~~~~~~~~~~~~~<br>/home/buildroot/autobuild/instance-0/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/linux/mount.h:102:9: error: redeclaration of enumerator 'FSCONFIG_CMD_CREATE'<br>  102 |         FSCONFIG_CMD_CREATE     = 6,    /* Invoke superblock creation */<br>      |         ^~~~~~~~~~~~~~~~~~~<br>/home/buildroot/autobuild/instance-0/output-1/host/lib/gcc/aarch64-buildroot-linux-gnu/11.3.0/include-fixed/sys/mount.h:263:3: note: previous definition of 'FSCONFIG_CMD_CREATE' with type 'enum fsconfig_command'<br>  263 |   FSCONFIG_CMD_CREATE     = 6,    /* Invoke superblock creation */<br>      |   ^~~~~~~~~~~~~~~~~~~<br>/home/buildroot/autobuild/instance-0/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/linux/mount.h:103:9: error: redeclaration of enumerator 'FSCONFIG_CMD_RECONFIGURE'<br>  103 |         FSCONFIG_CMD_RECONFIGURE = 7,   /* Invoke superblock reconfiguration */<br>      |         ^~~~~~~~~~~~~~~~~~~~~~~~<br>/home/buildroot/autobuild/instance-0/output-1/host/lib/gcc/aarch64-buildroot-linux-gnu/11.3.0/include-fixed/sys/mount.h:265:3: note: previous definition of 'FSCONFIG_CMD_RECONFIGURE' with type 'enum fsconfig_command'<br>  265 |   FSCONFIG_CMD_RECONFIGURE = 7,   /* Invoke superblock reconfiguration */<br>      |   ^~~~~~~~~~~~~~~~~~~~~~~~<br>In file included from /home/buildroot/autobuild/instance-0/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/linux/fs.h:19,<br>                 from ../../../../include/lapi/fs.h:10,<br>                 from statx09.c:24:<br>/home/buildroot/autobuild/instance-0/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/linux/mount.h:129:8: error: redefinition of 'struct mount_attr'<br>  129 | struct mount_attr {<br>      |        ^~~~~~~~~~<br>In file included from statx09.c:21:<br>/home/buildroot/autobuild/instance-0/output-1/host/lib/gcc/aarch64-buildroot-linux-gnu/11.3.0/include-fixed/sys/mount.h:219:8: note: originally defined here<br>  219 | struct mount_attr<br>      |        ^~~~~~~~~~<br>../../../../include/mk/<a href="http://rules.mk:45">rules.mk:45</a>: recipe for target 'statx09' failed<br>make[5]: *** [statx09] Error 1<br>../../../include/mk/generic_trunk_target.inc:108: recipe for target 'all' failed<br>make[4]: *** [all] Error 2<br>../../include/mk/generic_trunk_target.inc:108: recipe for target 'all' failed<br>make[3]: *** [all] Error 2<br>../include/mk/generic_trunk_target.inc:108: recipe for target 'all' failed<br>make[2]: *** [all] Error 2<br>make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/ltp-testsuite-20220527/testcases'<br>Makefile:106: recipe for target 'testcases-all' failed<br>make[1]: *** [testcases-all] Error 2<br>make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/ltp-testsuite-20220527'<br>package/<a href="http://pkg-generic.mk:290">pkg-generic.mk:290</a>: recipe for target '/home/buildroot/autobuild/instance-0/output-1/build/ltp-testsuite-20220527/.stamp_built' failed<br>make: *** [/home/buildroot/autobuild/instance-0/output-1/build/ltp-testsuite-20220527/.stamp_built] Error 2<br>make: Leaving directory '/home/buildroot/autobuild/instance-0/buildroot'<br></div></div></div>