Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Can't build chat-with-rendezvous go-reuseport #58

Closed
JackBekket opened this issue Mar 14, 2019 · 1 comment
Closed

Can't build chat-with-rendezvous go-reuseport #58

JackBekket opened this issue Mar 14, 2019 · 1 comment

Comments

@JackBekket
Copy link

Hello!

I completed these steps:
1.

mkdir /tmp/libp2p-examples
export GOPATH=/tmp/libp2p/examples
  1. make deps
  2. cd chat-with-rendezvous/
  3. go build -o chat

It shows me that

# github.com/libp2p/go-reuseport
/tmp/libp2p/examples/src/github.com/libp2p/go-reuseport/interface.go:33:20: undefined: net.ListenConfig
/tmp/libp2p/examples/src/github.com/libp2p/go-reuseport/interface.go:41:2: not enough arguments to return
/tmp/libp2p/examples/src/github.com/libp2p/go-reuseport/interface.go:48:2: not enough arguments to return
/tmp/libp2p/examples/src/github.com/libp2p/go-reuseport/interface.go:60:10: unknown field 'Control' in struct literal of type net.Dialer

Is anything possibly wrong with my go version or package installing?

@JackBekket
Copy link
Author

Find out that go must be an 1.11 version, not 1.10

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant