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

编译错误 #8

Open
wum0 opened this issue Dec 14, 2020 · 2 comments
Open

编译错误 #8

wum0 opened this issue Dec 14, 2020 · 2 comments

Comments

@wum0
Copy link

wum0 commented Dec 14, 2020

gcc 版本:gcc version 10.2.0 (Debian 10.2.0-5)
错误代码:

tools/build.c: At top level:
/usr/include/linux/fscrypt.h:81: error: storage size of `v1' isn't known
/usr/include/linux/fscrypt.h:82: error: storage size of `v2' isn't known
make: *** [Makefile:79: tools/build] Error 1
@ultraji
Copy link
Owner

ultraji commented Dec 14, 2020

采用容器挂载的方式,使用容器内的gcc3.4.8进行编译。linux0.12代码过老,不建议用新版本gcc。

@wum0
Copy link
Author

wum0 commented Dec 16, 2020

感谢。我修改之后,已经成功编译

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

2 participants