mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #1478] 编译 arm 32 frpc 出错 #1166
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#1166
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ethsonliu on GitHub (Oct 23, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1478
What version of frp are you using (./frpc -v or ./frps -v)?
0.27.0
What operating system and processor architecture are you using (
go env)?Problem
我准备编译 arm 32 位的 frpc,然后报了下面的错,
我到 socks5.go 看了下,确实有两个 log。
对不起,目前我对 go 的了解仅限于百度,所以只能来叨扰你了。还有,frps 是可以编译成功的,看了下其他人的 issues,也有类似的问题,大多是 go 版本的原因,你能说下你那边用的版本么?我现在的 go 版本是:
2019-10-23 15:37 更新:
我降到 go 1.8.3 了,还是一样的错误,然后把出错的 socks.go 同你 git 上最新的 master 作了比对,返现你去掉了你引入的 log,然后我这边就注释,编译,那些错就没了,但是还有一个错:
我又去比对了 ctl.go,一毛一样的,这就是语法上的问题了。
我 google 了,在这里找到了答案:https://github.com/google/go-jsonnet/issues/172
原因应该是 go 版本太低的缘故,所以我又重新升级到 1.12.7 了,问题完美解决。