Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[error] build cluster-smi-router.go config.go #23

Open
andrewssobral opened this issue Mar 8, 2021 · 2 comments
Open

[error] build cluster-smi-router.go config.go #23

andrewssobral opened this issue Mar 8, 2021 · 2 comments

Comments

@andrewssobral
Copy link

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
@andrewssobral
Copy link
Author

my go version is:

go version go1.13 linux/amd64

@dk-hong
Copy link

dk-hong commented Nov 24, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants