zillani
zillani

Reputation: 1090

unrecognized syntax identifier "proto3". This parser only recognizes "proto2" on Linkerd

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

Upvotes: 5

Views: 12135

Answers (1)

Kenton Varda
Kenton Varda

Reputation: 45191

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

Upvotes: 5

Related Questions