找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 10745|回复: 2

/openwrt/lede/include/toplevel.mk:218:world] 错误 2 编译错误怎么解决

[复制链接]
发表于 2019-5-26 01:32 | 显示全部楼层 |阅读模式
make[1]: Entering directory '/home/linxuan/Openwrt/openwrt/lede'
make[2]: Entering directory '/home/linxuan/Openwrt/openwrt/lede'
+ mkdir -p /home/linxuan/Openwrt/openwrt/lede/staging_dir/target-aarch64_cortex-a53_musl
+ cd /home/linxuan/Openwrt/openwrt/lede/staging_dir/target-aarch64_cortex-a53_musl
+ mkdir -p bin lib include stamp
mkdir -p /home/linxuan/Openwrt/openwrt/lede/build_dir/target-aarch64_cortex-a53_musl/stamp
touch /home/linxuan/Openwrt/openwrt/lede/staging_dir/target-aarch64_cortex-a53_musl/.prepared
+ mkdir -p /home/linxuan/Openwrt/openwrt/lede/staging_dir/host
+ cd /home/linxuan/Openwrt/openwrt/lede/staging_dir/host
+ mkdir -p bin lib include stamp
mkdir -p /home/linxuan/Openwrt/openwrt/lede/build_dir/host/stamp /home/linxuan/Openwrt/openwrt/lede/staging_dir/host/include/sys
install -m0644 /home/linxuan/Openwrt/openwrt/lede/tools/include/*.h /home/linxuan/Openwrt/openwrt/lede/staging_dir/host/include/
install -m0644 /home/linxuan/Openwrt/openwrt/lede/tools/include/sys/*.h /home/linxuan/Openwrt/openwrt/lede/staging_dir/host/include/sys/
ln -sf lib /home/linxuan/Openwrt/openwrt/lede/staging_dir/host/lib64
touch /home/linxuan/Openwrt/openwrt/lede/staging_dir/host/.prepared
make[3]: Entering directory '/home/linxuan/Openwrt/openwrt/lede/tools/flock'
make[3]: Leaving directory '/home/linxuan/Openwrt/openwrt/lede/tools/flock'
time: tools/flock/compile#0.03#0.00#0.04
make[3]: Entering directory '/home/linxuan/Openwrt/openwrt/lede/tools/xz'
mkdir -p /home/linxuan/Openwrt/openwrt/lede/dl
SHELL= flock /home/linxuan/Openwrt/openwrt/lede/tmp/.xz-5.2.4.tar.bz2.flock -c '          /home/linxuan/Openwrt/openwrt/lede/scripts/download.pl "/home/linxuan/Openwrt/openwrt/lede/dl" "xz-5.2.4.tar.bz2" "3313fd2a95f43d88e44264e6b015e7d03053e681860b0d5d3f9baca79c57b7bf" "" "@SF/lzmautils" "http://tukaani.org/xz"    '
. /home/linxuan/Openwrt/openwrt/lede/include/shell.sh; bzcat /home/linxuan/Openwrt/openwrt/lede/dl/xz-5.2.4.tar.bz2 | tar -C /home/linxuan/Openwrt/openwrt/lede/build_dir/host/xz-5.2.4/.. -xf -
bzcat: Can't open input file /home/linxuan/Openwrt/openwrt/lede/dl/xz-5.2.4.tar.bz2: No such file or directory.
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
make[3]: *** [Makefile:38: /home/linxuan/Openwrt/openwrt/lede/build_dir/host/xz-5.2.4/.preparedcf4114dc087a9a9beb4ee0023b475dec_6664517399ebbbc92a37c5bb081b5c53] Error 2
make[3]: Leaving directory '/home/linxuan/Openwrt/openwrt/lede/tools/xz'
time: tools/xz/compile#0.03#0.00#0.03
make[2]: *** [tools/Makefile:159: tools/xz/compile] Error 2
make[2]: Leaving directory '/home/linxuan/Openwrt/openwrt/lede'
make[1]: *** [tools/Makefile:155: /home/linxuan/Openwrt/openwrt/lede/staging_dir/target-aarch64_cortex-a53_musl/stamp/.tools_compile_yynyynnyyynyyyyynyynnyyyynyyyyyyyyyyyyyyynyynynnyyynnyyy] Error 2
make[1]: Leaving directory '/home/linxuan/Openwrt/openwrt/lede'
make: *** [/home/linxuan/Openwrt/openwrt/lede/include/toplevel.mk:218:world] 错误 2
发表于 2019-5-26 09:33 来自手机 | 显示全部楼层
dl目录内的xz-5.2.4.tar.bz2文件打不开。常见于使用make download命令后,导致下载的文件出问题,删掉这个文件重新编译即可。
回复 支持 反对

使用道具 举报

发表于 2020-2-18 21:11 | 显示全部楼层
我在网上查过很多关于这个的错误。看起来错误的结果都一样,但实际上真正各不相同,出错的原因应该往前面看。你应该出错是应该注意这句话bzcat: Can't open input file /home/linxuan/Openwrt/openwrt/lede/dl/xz-5.2.4.tar.bz2。 提示你这个文件出错。你重新下载之后遇到其他的文件缺失依然可能会遇到这个问题,关键还是看前面的错误提示
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-5-29 14:48

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表