5

I have cloned linkerd (https://github.com/linkerd) repo on my linux ubuntu, and installed protoc, version 2.5. When I try to compile the linkerd using the following command I get the error "unrecognized syntax identifier "proto3". This parser only recognizes "proto2".

command: ./sbt linkerd/compile

William Morgan
  • 476
  • 2
  • 7
zillani
  • 1,070
  • 3
  • 18
  • 26

1 Answers1

5

You need to install protoc version 3.x to compile proto3 files. Version 2.5 is over four years old.

Many distros have Protobuf packages available for easy installation, or you can install from source as described here: https://github.com/google/protobuf/blob/master/src/README.md

Kenton Varda
  • 41,353
  • 8
  • 121
  • 105