mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #771] frps编译成功,但frpc编译出错,为什么? #602
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#602
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 @sdpong on GitHub (May 16, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/771
Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly.
(为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。)
Use the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST
What version of frp are you using (./frpc -v or ./frps -v)?
What operating system and processor architecture are you using (
go env)?Configures you used:
Steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
Can you point out what caused this issue (optional)
make frpc时编译时出现如下错误 ppc le 64 linux
cmd/frpc/sub/root.go:201:4: 错误:unknown field ‘Dial’ in ‘net.Resolver’
Dial: func(ctx context.Context, network, address string) (net.Conn, error) {
^
Makefile:33: recipe for target 'frpc' failed
why?????
@fatedier commented on GitHub (May 16, 2018):
尝试先通过搜索引擎去解决问题。
@sdpong commented on GitHub (May 16, 2018):
google.com baidu.com 已经搜了2、3天了没有找到解决问题办法,怀疑是不是少库了!原来都正常的!!!5555
@fatedier commented on GitHub (May 16, 2018):
如果你期望自己编译,应该对 go 有所了解,根据错误提示以及跟踪代码,应该很容易发现问题,尝试自己解决问题是一个好习惯。
这里关注的是标准库中
net.Resolver的变化。@sdpong commented on GitHub (May 16, 2018):
搞定,少了golib库,给删了,谢了!!更新19版才找到原因,CA