I started getting this error all of a sudden on building:

error: "PROTOBUF_MIN_PROTOC_VERSION" is not defined, evaluates to 0
[-Werror=undef]
 #if 3007000 < PROTOBUF_MIN_PROTOC_VERSION

I found some gem5 users posting about it online on stack overflow.

It is due to a bug in the newest version of protobuf.
https://github.com/protocolbuffers/protobuf/pull/5881

Simply apply the patch and you should be good to go! :)

Ryan Gambord
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to