I am not sure, but it can be due to your linux distribution is too old or C++ version is different. Please share your linux distribution and version along with C/C++ version..
-Hassan On Thu, May 18, 2017 at 4:32 PM, Mukherjee, Somnath <[email protected]> wrote: > Hi, > > I am getting the following error after a fresh installation following the > http://www.gem5.org/Dependencies > > Can someone provide some pointers to the problem? > > > > [ PROTOC] ARM/proto/packet.proto -> ARM/proto/packet.pb.cc, > ARM/proto/packet.pb.h > > [libprotobuf WARNING google/protobuf/compiler/parser.cc:546] 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] ARM/mem/probes/mem_trace.cc -> .fo > > [ CXX] ARM/mem/ruby/profiler/AccessTraceForAddress.cc -> .fo > > In file included from build/ARM/mem/probes/mem_trace.cc:46:0: > > build/ARM/proto/packet.pb.h:341:6: error: "PROTOBUF_INLINE_NOT_IN_HEADERS" > is not defined [-Werror=undef] > > #if !PROTOBUF_INLINE_NOT_IN_HEADERS > > ^ > > [MAKE INC] ARM/mem/ruby/slicc_interface/RubyRequest.hh -> > protocol/RubyRequest.hh > > [MAKE INC] ARM/mem/ruby/slicc_interface/Message.hh -> protocol/Message.hh > > [ CXX] ARM/mem/ruby/profiler/AddressProfiler.cc -> .fo > > [ CXX] ARM/mem/ruby/profiler/MemCntrlProfiler.cc -> .fo > > cc1plus: all warnings being treated as errors > > scons: *** [build/ARM/mem/probes/mem_trace.fo] Error 1 > > scons: building terminated because of errors. > > > > Regards, > > Somnath Mukherjee > > > > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
