Hi, All, I developed some code based on gem5 and ran it on ubuntu16 before. Recently I have installed a newer version of ubuntu18 and tried to re-run my code. I pulled the cold to my private github repo on ubuntu16 and clone it again to the ubuntu18, but I suffered the error as shown in the following:
[libprotobuf WARNING google/protobuf/compiler/parser.cc:547] No syntax specified for the proto file: packet.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.) [ CXX] X86/mem/abstract_mem.cc -> .o [ CXX] X86/mem/comm_monitor.cc -> .o In file included from build/X86/mem/comm_monitor.cc:46:0: build/X86/proto/packet.pb.h:314:6: error: "PROTOBUF_INLINE_NOT_IN_HEADERS" is not defined [-Werror=undef] #if !PROTOBUF_INLINE_NOT_IN_HEADERS I tried some methods from gem5 user lists and did not make it work again. I am wondering if someone else faced the same issues, and if there is a known fix for this. Thanks for your help. Best regards. Shougang
_______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s