Lede: 编译固件网易云解锁一直报错

Created on 19 May 2020  ·  1Comment  ·  Source: coolsnowwolf/lede

反馈bug/问题模板,提建议请删除

1.关于你要提交的问题

Q:是否搜索了issue (使用 "x" 选择)

  • [x ] 没有类似的issue

2. 详细叙述

(1) 具体问题

A:编译报错,一直提示下面的代码。本地编译过,国外服务器也编译过,都报这个代码。国内也有全局梯子,希望大大能告知一下解决方法

(2) 路由器型号和固件版本

A:路由器型号是N1,固件是openwrtv19.07.03,加入了大雕的源码

(3) 详细日志

A:
Building targets

Cleaning module download cache (golang/go#27455)

/home/catty/openwrt_1/openwrt/staging_dir/host/bin/upx --lzma --best /home/catty/openwrt_1/openwrt/build_dir/target-aarch64_generic_musl/UnblockNeteaseMusicGo/.go_work/build/bin/linux_arm64/UnblockNeteaseMusic
bash: /home/catty/openwrt_1/openwrt/staging_dir/host/bin/upx: No such file or directory
make[3]: * [Makefile:71: /home/catty/openwrt_1/openwrt/build_dir/target-aarch64_generic_musl/UnblockNeteaseMusicGo/.built] Error 127
make[3]: Leaving directory '/home/catty/openwrt_1/openwrt/package/lean/UnblockNeteaseMusicGo'
time: package/lean/UnblockNeteaseMusicGo/compile#0.90#0.75#2.28
make[2]:
[package/Makefile:113: package/lean/UnblockNeteaseMusicGo/compile] Error 2
make[2]: Leaving directory '/home/catty/openwrt_1/openwrt'
make[1]:
[package/Makefile:107: /home/catty/openwrt_1/openwrt/staging_dir/target-aarch64_generic_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/catty/openwrt_1/openwrt'
make: *
[/home/catty/openwrt_1/openwrt/include/toplevel.mk:227:world] 错误 2

Most helpful comment

啊解决了...经过一番研究...是openwrt官方版里没有upx这个文件,需要把lean的lede下面的upx文件复制过去。一条命令解决:sudo cp -r ~/lede/staging_dir/host/bin/upx ~/openwrt/staging_dir/host/bin/upx 挂在这里,希望可以帮助到下一位遇见这个问题的人。第一次尝试把lean的源代码加到官方源,学到了很多。

>All comments

啊解决了...经过一番研究...是openwrt官方版里没有upx这个文件,需要把lean的lede下面的upx文件复制过去。一条命令解决:sudo cp -r ~/lede/staging_dir/host/bin/upx ~/openwrt/staging_dir/host/bin/upx 挂在这里,希望可以帮助到下一位遇见这个问题的人。第一次尝试把lean的源代码加到官方源,学到了很多。

Was this page helpful?
0 / 5 - 0 ratings