lede icon indicating copy to clipboard operation
lede copied to clipboard

编译出错

Open snakwu opened this issue 6 years ago • 8 comments

/home/snakwu/openwrt-master/openwrt/staging_dir/host/bin/upx --lzma --best /home/snakwu /openwrt-master/openwrt/build_dir/target-x86_64_musl/v2ray-plugin-1.3.0/.go_work/build/ bin/v2ray-plugin
bash: /home/snakwu/openwrt-master/openwrt/staging_dir/host/bin/upx: No such file or dir ectory
Makefile:59: recipe for target '/home/snakwu/openwrt-master/openwrt/build_dir/target-x8 6_64_musl/v2ray-plugin-1.3.0/.built' failed
make[3]: *** [/home/snakwu/openwrt-master/openwrt/build_dir/target-x86_64_musl/v2ray-pl ugin-1.3.0/.built] Error 127
make[3]: Leaving directory '/home/snakwu/openwrt-master/openwrt/package/lean/v2ray-plug in'
time: package/lean/v2ray-plugin/compile#5.37#1.10#14.20
package/Makefile:111: recipe for target 'package/lean/v2ray-plugin/compile' failed
make[2]: *** [package/lean/v2ray-plugin/compile] Error 2
make[2]: Leaving directory '/home/snakwu/openwrt-master/openwrt'
package/Makefile:107: recipe for target '/home/snakwu/openwrt-master/openwrt/staging_di r/target-x86_64_musl/stamp/.package_compile' failed
make[1]: *** [/home/snakwu/openwrt-master/openwrt/staging_dir/target-x86_64_musl/stamp/ .package_compile] Error 2
make[1]: Leaving directory '/home/snakwu/openwrt-master/openwrt'
/home/snakwu/openwrt-master/openwrt/include/toplevel.mk:225: recipe for target 'world' failed
make: *** [world] Error 2

snakwu avatar Feb 15 '20 22:02 snakwu

我已经关掉upx压缩的了

snakwu avatar Feb 15 '20 23:02 snakwu

ubuntu 18.0.4 upx 3.96

snakwu avatar Feb 15 '20 23:02 snakwu

v2ray-plugin 没有upx的配置选项,默认使用了upx压缩,如果可能的话请使用upx

SharerMax avatar Feb 16 '20 06:02 SharerMax

但问题是,我在Project V里面打开了upx,也同样错误

snakwu avatar Feb 16 '20 07:02 snakwu

原因找到了,原来是tools里面没有生成upx引起的,希望可以默认是关了upx压缩的,担供选项,让有需要的人使用,又或可以使用编译系统里面已安装的upx来进行压缩,谢谢!!!!

snakwu avatar Feb 16 '20 08:02 snakwu

原因找到了,原来是tools里面没有生成upx引起的,希望可以默认是关了upx压缩的,担供选项,让有需要的人使用,又或可以使用编译系统里面已安装的upx来进行压缩,谢谢!!!!

你好,请问要怎么操作,我也是这个问题

ghost avatar Feb 16 '20 09:02 ghost

我也是这个问题,应该怎么解决

ChingLin123 avatar Feb 16 '20 09:02 ChingLin123

已经有编译好的了,不想压缩就不勾选v2ray相关行进编译,省却些问问,之后直接用v2ray-openwrt

agutools avatar Feb 16 '20 11:02 agutools