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

最新的master代码编译v2ray失败 #198

Open
codercaizh opened this issue Oct 22, 2020 · 14 comments
Open

最新的master代码编译v2ray失败 #198

codercaizh opened this issue Oct 22, 2020 · 14 comments

Comments

@codercaizh
Copy link

Makefile:30: recipe for target 'build_v2ray' failed
make[2]: *** [build_v2ray] Error 2
make[2]: Leaving directory '/opt/rt-n56u/trunk/user/v2ray'
Makefile:235: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/opt/rt-n56u/trunk/user'
Makefile:202: recipe for target 'user_only' failed
make: *** [user_only] Error 2
Error: Process completed with exit code 2.

@JoseStone5
Copy link

加一

@ffii4455
Copy link

h大最新的R2100配置文件里已经没有V2了。。。

@codercaizh
Copy link
Author

所以是这个功能彻底不能用了的意思吗

@snakeliwei
Copy link

应该是go 版本的问题

@cyndi905
Copy link

应该是go 版本的问题

有解决方案吗

@ffii4455
Copy link

把编译好的trx文件解包,然后把v2ray可执行文件放入/usr/bin/ 重新打包刷机就可以了就可以了,我已经测试过了。

@hjedqbkki
Copy link

go版本有问题,下载地址也炸了,我自己进去编译了一个

下载地址

@fatwang2000
Copy link

我替换了go编译器的源,并且把go版本升为1.15.4了,编译v2ray继续报错🤣
但是克隆到本地编译就直接编译成功了,谁知道为什么么?

by the way:
v2ray目录下的Makefile改更新了,最新的v2ray源码下载路径变更了
原路径为https://codeload.github.com/v2ray/v2ray-core/tar.gz/v$(V2ray_VERSION)

新路径为https://codeload.github.com/v2fly/v2ray-core/tar.gz/v$(V2ray_VERSION)

不然变更了v2ray版本号,对应的源码文件下载不下来

@onebloodonly
Copy link

v2ray版本改回老的4.28.0,编译就能通过了.不知是什么原因,

@SunnyQQQ
Copy link

v2ray版本改回老的4.28.0,编译就能通过了.不知是什么原因,

请问怎么操作呢

@onebloodonly
Copy link

v2ray版本改回老的4.28.0,编译就能通过了.不知是什么原因,

请问怎么操作呢

把rt-n56u也FORK过来,v2ray目录下的Makefile里修改版本

@ikmil
Copy link

ikmil commented Nov 27, 2020

同样的问题。。。难受

@SunnyQQQ
Copy link

同样的问题。。。难受

你试试楼上的方法,我成功了

@cyndi905
Copy link

cyndi905 commented Dec 5, 2020

应该是go 版本的问题

有解决方案吗

chongshengB/rt-n56u#462 (comment)
这里有个解决方法,大家可以试试

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

10 participants