1. 详细报错信息

  misc/create_inode.c:399:18: error: conflicting types for 'copy_file_range'

  static errcode_t copy_file_range(ext2_filsys fs, int fd, ext2_file_t e2_file,

  ^~~~~~~~~~~~~~~

  In file included from ./../misc/create_inode.c:19:0:

  /usr/include/unistd.h:1110:9: note: previous declaration of 'copy_file_range' was here
  ssize_t copy_file_range (int __infd, __off64_t *__pinoff,

2. 解决办法

  将copy_file_range改成copy_file_chunk

   cd build_dir/host/e2fsprogs-1.43.7

   vi misc/create_inode.c (将所有的copy_file_range改成copy_file_chunk)

3. 参考资料

  补丁

相关文章:

  • 2021-06-25
  • 2021-11-02
  • 2021-09-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-20
猜你喜欢
  • 2022-01-18
  • 2021-10-20
  • 2022-03-06
  • 2022-12-23
  • 2021-07-18
  • 2022-12-23
相关资源
相似解决方案