[GH-ISSUE #367] frpc编译出错 #269

Closed
opened 2026-05-05 12:04:26 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @waringid on GitHub (Jun 15, 2017).
Original GitHub issue: https://github.com/fatedier/frp/issues/367

  • CentOS 7 3.10.0-514.10.2.el7.x86_64/3.10.0-327.22.2.el7.x86_64

  • go version go1.7.6 linux/amd64/

  • frps 0.11.0

  • make frps成功,make frpc出错,错误日志如下:

go build -o bin/frps ./cmd/frps
go build -o bin/frpc ./cmd/frpc
# github.com/fatedier/frp/models/plugin
models/plugin/http_proxy.go:121: hp.s.Close undefined (type *http.Server has no field or method Close)
make: *** [frpc] Error 2```

Originally created by @waringid on GitHub (Jun 15, 2017). Original GitHub issue: https://github.com/fatedier/frp/issues/367 - CentOS 7 3.10.0-514.10.2.el7.x86_64/3.10.0-327.22.2.el7.x86_64 - go version go1.7.6 linux/amd64/ - frps 0.11.0 - [ ] make frps成功,make frpc出错,错误日志如下: ```go fmt ./... go build -o bin/frps ./cmd/frps go build -o bin/frpc ./cmd/frpc # github.com/fatedier/frp/models/plugin models/plugin/http_proxy.go:121: hp.s.Close undefined (type *http.Server has no field or method Close) make: *** [frpc] Error 2```
Author
Owner

@waringid commented on GitHub (Jun 15, 2017):

已确认是go 版本问题,go1.8.3 linux/amd64编译正常。

<!-- gh-comment-id:308659482 --> @waringid commented on GitHub (Jun 15, 2017): 已确认是go 版本问题,go1.8.3 linux/amd64编译正常。
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#269
No description provided.