ntfs3-oot icon indicating copy to clipboard operation
ntfs3-oot copied to clipboard

4.14.171内核依然无法编译

Open wlshdjj opened this issue 3 years ago • 4 comments

``/home/fku/18068/build_dir/target-x86_64_musl/linux-x86_64/ntfs3-2021-07-05-46d199e7/ntfs.h:72:15: error: 'SECTOR_SHIFT' undeclared here (not in a function); did you mean 'SECTIONS_SHIFT'? static_assert(SECTOR_SHIFT == 9); ^ /home/fku/18068/build_dir/target-x86_64_musl/linux-x86_64/ntfs3-2021-07-05-46d199e7/compat.h:31:56: note: in definition of macro '__static_assert' #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) ^~~~ /home/fku/18068/build_dir/target-x86_64_musl/linux-x86_64/ntfs3-2021-07-05-46d199e7/ntfs.h:72:1: note: in expansion of macro 'static_assert' static_assert(SECTOR_SHIFT == 9); ^~~~~~~~~~~~~ /home/fku/18068/build_dir/target-x86_64_musl/linux-x86_64/ntfs3-2021-07-05-46d199e7/ntfs.h:72:15: error: expression in static assertion is not an integer static_assert(SECTOR_SHIFT == 9); ^ /home/fku/18068/build_dir/target-x86_64_musl/linux-x86_64/ntfs3-2021-07-05-46d199e7/compat.h:31:56: note: in definition of macro '__static_assert' #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) ^~~~ /home/fku/18068/build_dir/target-x86_64_musl/linux-x86_64/ntfs3-2021-07-05-46d199e7/ntfs.h:72:1: note: in expansion of macro 'static_assert' static_assert(SECTOR_SHIFT == 9); ^~~~~~~~~~~~~

wlshdjj avatar Jul 05 '21 08:07 wlshdjj

这真的有鬼

wlshdjj avatar Jul 14 '21 15:07 wlshdjj

可能是gcc版本不同

wlshdjj avatar Jul 14 '21 15:07 wlshdjj

4.14 我这边 4.14 内核正常编译 emmm

原来不是同版本,我的是171

wlshdjj avatar Jul 17 '21 02:07 wlshdjj

4.4内核编译,报同样的错。

HiGarfield avatar Jul 18 '21 11:07 HiGarfield