Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译错误 #11771

Closed
1 task done
ghost opened this issue Jan 13, 2024 · 4 comments
Closed
1 task done

编译错误 #11771

ghost opened this issue Jan 13, 2024 · 4 comments

Comments

@ghost
Copy link

ghost commented Jan 13, 2024

详细叙述

R5S依然存在编译错误

重复 issue

  • 没有类似的 issue

具体型号

r5s

详细日志

mkfs/rootdir.c: In function 'btrfs_mkfs_shrink_fs':
mkfs/rootdir.c:917:23: error: storage size of 'file_stat' isn't known
917 | struct stat64 file_stat;
| ^~~~~~~~~
make[4]: *** [Makefile:414: mkfs/rootdir.o] Error 1
make[4]: Leaving directory '/home/gswangmd/lede/build_dir/target-aarch64_generic_musl/btrfs-progs-v5.16.1'
make[3]: *** [Makefile:100: /home/gswangmd/lede/build_dir/target-aarch64_generic_musl/btrfs-progs-v5.16.1/.built] Error 2
make[3]: Leaving directory '/home/gswangmd/lede/feeds/packages/utils/btrfs-progs'
time: package/feeds/packages/btrfs-progs/compile#11.99#0.94#14.04
ERROR: package/feeds/packages/btrfs-progs failed to build.
make[2]: *** [package/Makefile:116: package/feeds/packages/btrfs-progs/compile] Error 1
make[2]: Leaving directory '/home/gswangmd/lede'
make[1]: *** [package/Makefile:110: /home/gswangmd/lede/staging_dir/target-aarch64_generic_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/gswangmd/lede'
make: *** [/home/gswangmd/lede/include/toplevel.mk:231: world] Error 2
gswangmd@wmdhonor:~/lede$

@WYC-2020
Copy link
Contributor

这升级musl导致的而已,看这个应该和文件的操作那部分有问题,等会有时间的话 修下

@WYC-2020
Copy link
Contributor

增加红框里面的 很早我就修复过了
image
ifeq ($(CONFIG_USE_MUSL),y)
TARGET_CFLAGS += -D_LARGEFILE64_SOURCE
endif

@qiyuey
Copy link

qiyuey commented Jan 13, 2024

增加红框里面的 很早我就修复过了 image ifeq ($(CONFIG_USE_MUSL),y) TARGET_CFLAGS += -D_LARGEFILE64_SOURCE endif

感谢,我手动修改之后已经可以正常编译了,不过这个提交似乎并没有进入 https://github.com/coolsnowwolf/packages

@jiscsafe
Copy link

我是个小白,我是使用Action编译的,麻烦帮忙指导下如何修改这个问题呢? @WYC-2020 @qiyuey

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants