Compiling from source: "undefined: netroute.New"
- Dominant language
- Go
- Stars
- 17.1k
- Forks
- 3.2k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 11
Description
I am trying to compile "ipfs-go-0.6.0" in Solaris, no success:
```
[root@XXX /tmp/go-ipfs-0.6.0]# go version
go version go1.14.4 solaris/amd64
[root@XXX /tmp/go-ipfs-0.6.0]# make nofuse
go version go1.14.4 solaris/amd64
bin/check_go_version 1.14.2
plugin/loader/preload.sh > plugin/loader/preload.go
go fmt plugin/loader/preload.go >/dev/null
go build "-asmflags=all='-trimpath='" "-gcflags=all='-trimpath='" -ldflags="-X "github.com/ipfs/go-ipfs".CurrentCommit=" -tags="nofuse" -o "cmd/ipfs/ipfs" "github.com/ipfs/go-ipfs/cmd/ipfs"
# github.com/libp2p/go-nat
/root/go/pkg/mod/github.com/libp2p/go-nat@v0.0.5/gateway.go:10:17: undefined: netroute.New
# github.com/libp2p/go-reuseport-transport
/root/go/pkg/mod/github.com/libp2p/go-reuseport-transport@v0.0.3/multidialer.go:46:20: undefined: netroute.New
# github.com/libp2p/go-libp2p-quic-transport
/root/go/pkg/mod/github.com/libp2p/go-libp2p-quic-transport@v0.6.0/reuse.go:123:20: undefined: netroute.New
# github.com/libp2p/go-libp2p-kad-dht
/root/go/pkg/mod/github.com/libp2p/go-libp2p-kad-dht@v0.8.2/dht_filters.go:133:26: undefined: netroute.New
make: *** [cmd/ipfs/Rules.mk:22: cmd/ipfs/ipfs] Error 2
```
I can not program "go", so I can not do futher progress by myself.
Help!.
Thanks
Contributor guide
Assessment
This issue has not been assessed yet.