Hello,

I am experiencing this bug https://gitlab.alpinelinux.org/alpine/aports/-/issues/17543.

I wanted to try the latest commit but it will fail to compile.

Gcc:

make[3]: Entering directory '/.../f2fs-tools/src/3bd49149dae7237b931b09d87d00b2aef8f7af93/tools/f2fs_io'
  CC       f2fs_io.o
f2fs_io.c: In function 'do_fallocate':
f2fs_io.c:613:33: error: 'FALLOC_FL_COLLAPSE_RANGE' undeclared (first use in this function)
  613 |                         mode |= FALLOC_FL_COLLAPSE_RANGE;
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~
f2fs_io.c:613:33: note: each undeclared identifier is reported only once for each function it appears in f2fs_io.c:616:33: error: 'FALLOC_FL_INSERT_RANGE' undeclared (first use in this function)
  616 |                         mode |= FALLOC_FL_INSERT_RANGE;
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
f2fs_io.c:622:33: error: 'FALLOC_FL_ZERO_RANGE' undeclared (first use in this function)
  622 |                         mode |= FALLOC_FL_ZERO_RANGE;
      |                                 ^~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:411: f2fs_io.o] Error 1


Clang:

make[2]: Entering directory '/.../f2fs-tools/src/3bd49149dae7237b931b09d87d00b2aef8f7af93/mkfs'
  CC       f2fs_format_main.o
  CC       f2fs_format.o
  CC       f2fs_format_utils.o
  CC       libf2fs_format_la-f2fs_format_main.lo
  CC       libf2fs_format_la-f2fs_format.lo
  CC       libf2fs_format_la-f2fs_format_utils.lo
  CCLD     mkfs.f2fs
clang: error: no such file or directory: '../lib/.libs/libf2fs.so'
make[2]: *** [Makefile:487: mkfs.f2fs] Error 1
make[2]: *** Waiting for unfinished jobs....

Best regards,

Realroot




_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to