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

v2ray plugin编译提示404 not found 检查makefile里的链接已经是失效 的 #3061

Closed
feifan1113 opened this issue Feb 12, 2020 · 7 comments

Comments

@feifan1113
Copy link

N1的 ,编译失败

@tty228
Copy link
Contributor

tty228 commented Feb 12, 2020

v2ray-plugin-1.3.0.tar.gz
这个文件吗,如果是的话,下载放到 dl 文件夹就好了

@jxph1123
Copy link

jxph1123 commented Feb 12, 2020

我的也编译不过,几次都这样:
Makefile:55: recipe for target '/home/etek/lede/build_dir/target-mipsel_24kc_musl/v2ray-plugin-1.3.0/.built' failed
make[3]: *** [/home/etek/lede/build_dir/target-mipsel_24kc_musl/v2ray-plugin-1.3.0/.built] Error 2
make[3]: Leaving directory '/home/etek/lede/package/lean/v2ray-plugin'
time: package/lean/v2ray-plugin/compile#9.26#3.61#27.44
package/Makefile:107: recipe for target 'package/lean/v2ray-plugin/compile' failed
make[2]: *** [package/lean/v2ray-plugin/compile] Error 2
make[2]: Leaving directory '/home/etek/lede'
package/Makefile:103: recipe for target '/home/etek/lede/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile' failed
make[1]: *** [/home/etek/lede/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/etek/lede'
/home/etek/lede/include/toplevel.mk:216: recipe for target 'world' failed
make: *** [world] Error 2

@jxph1123
Copy link

按楼上的,还是不行。。。

@jxph1123
Copy link

上面贴了

@lzx2009vb
Copy link
Contributor

go: downloading github.com/v2ray/v2ray-core v4.22.1+incompatible
go: downloading github.com/golang/protobuf v1.3.2
go: extracting github.com/golang/protobuf v1.3.2
go: extracting github.com/v2ray/v2ray-core v4.22.1+incompatible
go: downloading golang.org/x/crypto v0.0.0-20190618222545-ea8f1a30c443
go: downloading github.com/refraction-networking/utls v0.0.0-20190909200633-43c36d3c1f57
go: downloading golang.org/x/sys v0.0.0-20190619223125-e40ef342dc56
go: downloading github.com/gorilla/websocket v1.4.1
go: extracting github.com/gorilla/websocket v1.4.1
go: extracting github.com/refraction-networking/utls v0.0.0-20190909200633-43c36d3c1f57
go: extracting golang.org/x/crypto v0.0.0-20190618222545-ea8f1a30c443
go: extracting golang.org/x/sys v0.0.0-20190619223125-e40ef342dc56
go: finding github.com/golang/protobuf v1.3.2
go: finding github.com/v2ray/v2ray-core v4.22.1+incompatible
go: finding github.com/v2ray/v2ray-core v4.22.1+incompatible
go: finding golang.org/x/sys v0.0.0-20190619223125-e40ef342dc56
go: finding github.com/refraction-networking/utls v0.0.0-20190909200633-43c36d3c1f57
go: finding github.com/gorilla/websocket v1.4.1
go: finding golang.org/x/crypto v0.0.0-20190618222545-ea8f1a30c443

Building targets
go: finding github.com/v2ray/v2ray-core v4.22.1+incompatible
go: finding github.com/v2ray/v2ray-core v4.22.1+incompatible
runtime/cgo

runtime/cgo

gcc_mipsx.S: Assembler messages:
gcc_mipsx.S:25: Error: invalid operands sw $18,12($29)' gcc_mipsx.S:26: Error: invalid operands sw $19,16($29)'
gcc_mipsx.S:27: Error: invalid operands sw $20,20($29)' gcc_mipsx.S:28: Error: invalid operands sw $21,24($29)'
gcc_mipsx.S:29: Error: invalid operands sw $22,28($29)' gcc_mipsx.S:30: Error: invalid operands sw $23,32($29)'
gcc_mipsx.S:31: Error: invalid operands sw $30,36($29)' gcc_mipsx.S:44: Error: invalid operands jalr $20'
gcc_mipsx.S:48: Error: invalid operands lw $18,12($29)' gcc_mipsx.S:49: Error: invalid operands lw $19,16($29)'
gcc_mipsx.S:50: Error: invalid operands lw $20,20($29)' gcc_mipsx.S:51: Error: invalid operands lw $21,24($29)'
gcc_mipsx.S:52: Error: invalid operands lw $22,28($29)' gcc_mipsx.S:53: Error: invalid operands lw $23,32($29)'
gcc_mipsx.S:54: Error: invalid operands lw $30,36($29)' gcc_mipsx.S:63: Error: invalid operands lw $31,0($29)'

Cleaning module download cache (golang/go#27455)

make[3]: *** [/home/zcb/newifi3/lede/build_dir/target-mipsel_24kc_musl/v2ray-plugin-1.3.0/.built] Error 2
make[3]: Leaving directory /home/zcb/newifi3/lede/package/lean/v2ray-plugin' time: package/lean/v2ray-plugin/compile#4.84#0.98#17.39 make[2]: *** [package/lean/v2ray-plugin/compile] Error 2 make[2]: Leaving directory /home/zcb/newifi3/lede'
make[1]: *** [/home/zcb/newifi3/lede/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/zcb/newifi3/lede'
make: *** [world] 错误 2

是提示这个报错么?

@dovegq
Copy link

dovegq commented Feb 12, 2020

按楼上的,还是不行。。。

athens.azurefd.net 试试这个go的国内代理,不要走梯子

@lzx2009vb
Copy link
Contributor

@lzx2009vb 是这个了
在package/lean/v2ray-plugin/Makefile加一行PKG_USE_MIPS16:=0试试
类似这样:

PKG_USE_MIPS16:=0

GO_PKG:=github.com/shadowsocks/v2ray-plugin
GO_PKG_LDFLAGS:=-s -w

尝试了,可以了,谢谢

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

6 participants