Hi,

Thanks for the response!

Please see the version information below:



gcc --version

gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4

Copyright (C) 2013 Free Software Foundation, Inc.

This is free software; see the source for copying conditions.  There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



Regards,

Somnath



-----Original Message-----
From: gem5-users [mailto:[email protected]] On Behalf Of hassan yamin
Sent: Thursday, May 18, 2017 1:32 PM
To: gem5 users mailing list
Subject: Re: [gem5-users] problem compiling gem5



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]<mailto:[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]<mailto:[email protected]>

> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

_______________________________________________

gem5-users mailing list

[email protected]<mailto:[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

Reply via email to