Discussion:
[gem5-users] When building gem5 has some problem
Ciro Santilli
2018-09-12 11:07:41 UTC
Permalink
I cannot find the revision E3de640bf071ab9f64f4e96763a5c75c9cc50350.

Building master at 1379e30a4d3f6089838679a49d2364ea7817668f works for
me, same GCC and Python, Ubuntu 16.04.
Hey Yoxian, please always post messages on the mailing list and CC me
if relevant.
I will try to reproduce it tomorrow.
My latest build ist at: 200281b as shown at
https://github.com/cirosantilli/linux-kernel-module-cheat/tree/83b36867cf06ffdca3ce04296a8568d4f37ea13b/gem5
Hello
I have read the wed which in your message, and upgrade mygcc version.
Now, my gem5 git SHA version is E3de640bf071ab9f64f4e96763a5c75c9cc50350, gcc version 6.4.0 ,and python version 2.7.12 .
Although the gcc version have upgrade, but there are some error when I build gem5.
Sure, nuke the entire folder and do a clean build.
The error is
[ CXX] X86/proto/packet.pb.cc -> .o
build/X86/proto/packet.pb.cc:61:6: error: no previous declaration for 'void InitDefaults_packet_2eproto()' [-Werror=missing-declarations]
void InitDefaults_packet_2eproto() {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
scons: *** [build/X86/proto/packet.pb.o] Error 1
scons: building terminated because of errors.
If you have any idea for this problem, or another gem5 which can simulate the system with Scratch Pad Memory, please tell me.
Thanks.
Best regards
Yo-Xian,Wang
Loading...