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

【编译错误!】 #6

Open
YY-China opened this issue Oct 19, 2024 · 1 comment
Open

【编译错误!】 #6

YY-China opened this issue Oct 19, 2024 · 1 comment

Comments

@YY-China
Copy link

错误日志:

xz_wrapper.c:28:10: fatal error: lzma.h: No such file or directory
28 | #include <lzma.h>
| ^~~~~~~~
compilation terminated.
make[5]: *** [: xz_wrapper.o] Error 1
make[5]: Leaving directory '/root/padavan/trunk/tools/mksquashfs_xz/squashfs'
cp: cannot stat 'squashfs/mksquashfs': No such file or directory
make[4]: *** [Makefile:6: all] Error 1
make[4]: Leaving directory '/root/padavan/trunk/tools/mksquashfs_xz'
make[3]: *** [Makefile:22: all] Error 2
make[3]: Leaving directory '/root/padavan/trunk/tools'
make[2]: *** [Makefile:183: tools] Error 2
make[2]: Leaving directory '/root/padavan/trunk'
make[1]: *** [Makefile:14: build] Error 2
make[1]: Leaving directory '/root/padavan'
make: *** [Makefile:34: XY-C1] Error 2

【关键信息】
xz_wrapper.c:28:10: fatal error: lzma.h: No such file or directory

@YY-China
Copy link
Author

apt install -y liblzma-dev

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

1 participant