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

交叉编译出错 #5

Open
wang20150419 opened this issue Jan 5, 2021 · 11 comments
Open

交叉编译出错 #5

wang20150419 opened this issue Jan 5, 2021 · 11 comments

Comments

@wang20150419
Copy link

wang20150419 commented Jan 5, 2021

交叉编译 ar71xx 芯片的openwrt 系统路由器用trojan( Go语言的太大了,看介绍这个小巧),结果无法通过。
错误如下:
error: failed to run custom build command for ring v0.16.15
....
thread 'main' panicked at 'called Option::unwrap() on a None value', /home/root/.cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.16.15/build.rs:378:10
不知如何解决。

@onlyJinx
Copy link

onlyJinx commented Oct 9, 2021

同样的报错,请问你解决了吗?

@qiuzi
Copy link

qiuzi commented Oct 9, 2021

ring不支持全架构cpu

@onlyJinx
Copy link

onlyJinx commented Oct 9, 2021

我想编译的是路由器 mipsel-unknown-linux-musl的,请问有什么方法吗?还是说这个mipsel-unknown-linux-musl没办法用trojan-rust了?

@qiuzi
Copy link

qiuzi commented Oct 9, 2021

是的

@onlyJinx
Copy link

onlyJinx commented Oct 9, 2021

好吧,谢谢回复
太尴尬了,trojan-r本来就是为了照顾一些性能比较低的机器,竟然不支持mipsel。可惜了。
不过我在ring那边看到一个issue,最后的讨论结果好像是支持了?
briansmith/ring#562

@qiuzi
Copy link

qiuzi commented Jan 28, 2022

他的介绍里没有注明就还不支持

@7rah
Copy link

7rah commented May 5, 2022

你可以看看我的 github workflow,我合并了让 ring 支持 mipsel 的代码,可以让 trojan-r 在 mipsel 机器上也能正常使用。

@qiuzi
Copy link

qiuzi commented May 6, 2022

@7rah 老哥你还维护R版?后期功能会改变吗

@7rah
Copy link

7rah commented May 7, 2022

R 版是什么?

@7rah
Copy link

7rah commented May 7, 2022

我的版本加入了基于 gfwlist 的分流功能,我 fork 的时候原版本仍基于 smol 运行时

@7rah
Copy link

7rah commented May 7, 2022

我以后可能不会继续加入新功能了

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

4 participants