Closed manno closed 5 years ago
Try this. Edit the Makefile, and modify the protoc section as follows:
protoc:
go get -u github.com/golang/protobuf/protoc-gen-go
git -C ${GOPATH}/src/github.com/golang/protobuf checkout v1.2.0
go install github.com/golang/protobuf/protoc-gen-go
protoc -I rpc rpc/rpc.proto --go_out=plugins=grpc:rpc
Thanks, with 1.2.0 I can build again!
Try this. Edit the Makefile, and modify the protoc section as follows:
protoc: [snip]
I had to change the spaces in it to tabs.
Also the make target didn't work for me the second time, because go get -u
didn't like the checkout.
The provided solution doesn't seem to have fixed my build. I still get a number of errors like this:
rpc.proto:65:5: "google.protobuf.Timestamp" is not defined.
I'm trying to build mirrorbits, but run into an error. Doesn't matter if I do it on Ubuntu or in Docker: