You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
../../../golang.org/x/sys/unix/syscall_solaris.go:40: Pipe redeclared in this block
previous declaration at ../../../golang.org/x/sys/unix/syscall_linux_amd64.go:97
../../../golang.org/x/sys/unix/syscall_solaris.go:54: (*SockaddrInet4).sockaddr redeclared in this block
previous declaration at ../../../golang.org/x/sys/unix/syscall_linux.go:363
../../../golang.org/x/sys/unix/syscall_solaris.go:68: (*SockaddrInet6).sockaddr redeclared in this block
previous declaration at ../../../golang.org/x/sys/unix/syscall_linux.go:377
../../../golang.org/x/sys/unix/syscall_solaris.go:83: (*SockaddrUnix).sockaddr redeclared in this block
previous declaration at ../../../golang.org/x/sys/unix/syscall_linux.go:392
../../../golang.org/x/sys/unix/syscall_solaris.go:109: Getsockname redeclared in this block
previous declaration at ../../../golang.org/x/sys/unix/syscall_linux.go:776
../../../golang.org/x/sys/unix/syscall_solaris.go:120: GetsockoptString redeclared in this block
previous declaration at ../../../golang.org/x/sys/unix/syscall_linux.go:808
../../../golang.org/x/sys/unix/syscall_solaris.go:130: ImplementsGetwd redeclared in this block
previous declaration at ../../../golang.org/x/sys/unix/syscall_linux.go:232
../../../golang.org/x/sys/unix/syscall_solaris.go:134: Getwd redeclared in this block
previous declaration at ../../../golang.org/x/sys/unix/syscall_linux.go:236
../../../golang.org/x/sys/unix/syscall_solaris.go:155: Getgroups redeclared in this block
previous declaration at ../../../golang.org/x/sys/unix/syscall_linux.go:249
../../../golang.org/x/sys/unix/syscall_solaris.go:180: Setgroups redeclared in this block
previous declaration at ../../../golang.org/x/sys/unix/syscall_linux.go:275
../../../golang.org/x/sys/unix/syscall_solaris.go:180: too many errors
解决:
go version
go version go1.10.1 linux/amd64
The text was updated successfully, but these errors were encountered:
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty
echo $GOPATH
/root/go
pwd
/root/go/src/github.com/open-falcon/mymon
go get ./...
golang.org/x/sys/unix
../../../golang.org/x/sys/unix/syscall_solaris.go:40: Pipe redeclared in this block
previous declaration at ../../../golang.org/x/sys/unix/syscall_linux_amd64.go:97
../../../golang.org/x/sys/unix/syscall_solaris.go:54: (*SockaddrInet4).sockaddr redeclared in this block
previous declaration at ../../../golang.org/x/sys/unix/syscall_linux.go:363
../../../golang.org/x/sys/unix/syscall_solaris.go:68: (*SockaddrInet6).sockaddr redeclared in this block
previous declaration at ../../../golang.org/x/sys/unix/syscall_linux.go:377
../../../golang.org/x/sys/unix/syscall_solaris.go:83: (*SockaddrUnix).sockaddr redeclared in this block
previous declaration at ../../../golang.org/x/sys/unix/syscall_linux.go:392
../../../golang.org/x/sys/unix/syscall_solaris.go:109: Getsockname redeclared in this block
previous declaration at ../../../golang.org/x/sys/unix/syscall_linux.go:776
../../../golang.org/x/sys/unix/syscall_solaris.go:120: GetsockoptString redeclared in this block
previous declaration at ../../../golang.org/x/sys/unix/syscall_linux.go:808
../../../golang.org/x/sys/unix/syscall_solaris.go:130: ImplementsGetwd redeclared in this block
previous declaration at ../../../golang.org/x/sys/unix/syscall_linux.go:232
../../../golang.org/x/sys/unix/syscall_solaris.go:134: Getwd redeclared in this block
previous declaration at ../../../golang.org/x/sys/unix/syscall_linux.go:236
../../../golang.org/x/sys/unix/syscall_solaris.go:155: Getgroups redeclared in this block
previous declaration at ../../../golang.org/x/sys/unix/syscall_linux.go:249
../../../golang.org/x/sys/unix/syscall_solaris.go:180: Setgroups redeclared in this block
previous declaration at ../../../golang.org/x/sys/unix/syscall_linux.go:275
../../../golang.org/x/sys/unix/syscall_solaris.go:180: too many errors
解决:
go version
go version go1.10.1 linux/amd64
The text was updated successfully, but these errors were encountered: