ipfs / ipfs/kubo

Compiling from source: "undefined: netroute.New"

Open
#7,687 4 comments 0 reactions 0 assignees View on GitHub
kind/bug need/triage
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.