[GH-ISSUE #771] frps编译成功,但frpc编译出错,为什么? #602

Closed
opened 2026-05-05 12:23:25 -06:00 by gitea-mirror · 4 comments
Owner

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?????

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?????
Author
Owner

@fatedier commented on GitHub (May 16, 2018):

尝试先通过搜索引擎去解决问题。

<!-- gh-comment-id:389553969 --> @fatedier commented on GitHub (May 16, 2018): 尝试先通过搜索引擎去解决问题。
Author
Owner

@sdpong commented on GitHub (May 16, 2018):

google.com baidu.com 已经搜了2、3天了没有找到解决问题办法,怀疑是不是少库了!原来都正常的!!!5555

<!-- gh-comment-id:389556299 --> @sdpong commented on GitHub (May 16, 2018): google.com baidu.com 已经搜了2、3天了没有找到解决问题办法,怀疑是不是少库了!原来都正常的!!!5555
Author
Owner

@fatedier commented on GitHub (May 16, 2018):

如果你期望自己编译,应该对 go 有所了解,根据错误提示以及跟踪代码,应该很容易发现问题,尝试自己解决问题是一个好习惯。
这里关注的是标准库中 net.Resolver 的变化。

<!-- gh-comment-id:389570526 --> @fatedier commented on GitHub (May 16, 2018): 如果你期望自己编译,应该对 go 有所了解,根据错误提示以及跟踪代码,应该很容易发现问题,尝试自己解决问题是一个好习惯。 这里关注的是标准库中 `net.Resolver` 的变化。
Author
Owner

@sdpong commented on GitHub (May 16, 2018):

  搞定,少了golib库,给删了,谢了!!更新19版才找到原因,CA

<!-- gh-comment-id:389571450 --> @sdpong commented on GitHub (May 16, 2018):   搞定,少了golib库,给删了,谢了!!更新19版才找到原因,CA
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#602
No description provided.