rtop icon indicating copy to clipboard operation
rtop copied to clipboard

src/golang.org/x/crypto/ssh/cipher.go:245: undefined: cipher.AEAD

Open tommics opened this issue 10 years ago • 5 comments
trafficstars

when trying to compile on debian wheezy:

make
GOPATH=`pwd` go build -o rtop src/*.go
# golang.org/x/crypto/ssh
src/golang.org/x/crypto/ssh/cipher.go:245: undefined: cipher.AEAD
make: *** [rtop] Error 2

tommics avatar May 11 '15 08:05 tommics

What's the version of go you're using? (output of "go version")

mdevan avatar May 11 '15 10:05 mdevan

go version go1.0.2

tommics avatar May 11 '15 10:05 tommics

You'll need at least go1.2 where crypto/cipher#AEAD was introduced.

You should try wheezy-backports (go1.3.3), or even better just build go from source and use.

mdevan avatar May 11 '15 13:05 mdevan

tommics—did you get this resolved? I'm having the same issue.

ghost avatar May 12 '15 13:05 ghost

does not work too

davetoxa@workandplay:~/rtop$ go version
go version go1.1.2 linux/386
davetoxa@workandplay:~/rtop$ make
GOPATH=`pwd` go build -o rtop src/*.go
# golang.org/x/crypto/ssh
src/golang.org/x/crypto/ssh/cipher.go:245: undefined: cipher.AEAD
src/golang.org/x/crypto/ssh/cipher.go:257: undefined: cipher.NewGCM
make: *** [rtop] Error 2

davetoxa avatar May 18 '15 22:05 davetoxa