-
-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
编译mips32服务端试出错 #245
Comments
Go 编译环境不正确,也可能是版本问题。 |
[root@6231924fb2f1 ~]# go version |
请参考 #198 |
@lotc 使用gomini编译frps是出错的。但是frpc就没问题。貌似是go版本问题。 go1.8,go1.75编译出来运行就会“Illegal instruction” |
@gavin219 go1.8 才开始支持 mips32,目前 1.8 还不是正式发布的版本。 mips 32位的 GOARCH 就是 mips,64位是 mips64。 |
@fatedier 等1.8正式版本……?1.4.2版本的编译的客户端就可以正常运行。看来是go版本问题? |
@gavin219 这个可以给 golang 提 issue.... |
不清楚如何在其他平台交叉编译的时候怎么配置这个 FPU。 |
原来如此…… |
https://groups.google.com/d/msg/golang-nuts/DT_P9UPKHgI/SWG61VaODwAJ 看了下,go 官方团队后续还是会解决这个问题的。 |
只有期待了…… |
可重新编译 mt7620 ramips 架构的lede固件,make kernel_menuconfig,在kernel type中选择mips fpu emulator。该固件可直接运行frp release v0.13.0。 |
我编译了未开启 FPU emulator 也能使用的版本,现在只有 mipsle (MTK 762x)。 |
我已经编译了0.13.0版本的mips32le的客户端和服务端,有需要的可以下载使用。 编译过程中遇到过坑,基本上就是新版本go的依赖和老版本的依赖不兼容的问题 另外,go1.8版本编译出来的mipsle并不是mips32le这个架构的cpu能使用的 |
src/utils/vhost/router.go:113: undefined: strings.Compare
请问如何解决
frpc客户端正常编译了
我在恩山发了帖子,也没有答复的。还请作者帮忙
http://www.right.com.cn/forum/thread-207072-1-1.html
The text was updated successfully, but these errors were encountered: