[error] build cluster-smi-router.go config.go
andrewssobral opened this issue · comments
Andrews Cordolino Sobral commented
Hi again,
Do you know why it happens?
# go build cluster-smi-router.go config.go
# command-line-arguments
./cluster-smi-router.go:81:48: cannot use router_socket (type *"github.com/pebbe/zmq4".Socket) as type *"github.com/patwie/cluster-smi/vendor/github.com/pebbe/zmq4".Socket in argument to messaging.ReceiveMultipartMessage
./cluster-smi-router.go:97:33: cannot use router_socket (type *"github.com/pebbe/zmq4".Socket) as type *"github.com/patwie/cluster-smi/vendor/github.com/pebbe/zmq4".Socket in argument to messaging.SendMultipartMessage
Andrews Cordolino Sobral commented
my go version is:
go version go1.13 linux/amd64
dk-hong commented
I fix the same problem by removing go/src/github.com/patwie/cluster-smi/vendor
.
You may resolve this, but if not, I hope it helps.