Hey Yujiecui, Sorry to hear you're having trouble compiling. It doesn't sound like you're anything wrong based on what you described. One thing that's always worth trying when having compilation issues with gem5 is deleting the "build" directory and starting from scratch. Sometimes the build system gets confused if there is older compiled code still around when making a fresh compilation.
If this doesn't work, could you give me a little information?: - What compiler are you using? We support GCC and Clang. Of those, what version? - What OS are you using? - When you say the latest version, do you mean, the HEAD of the stable branch (v20.1.0.1 at the time of writing)? - What's the exact compilation command you are using? I assume `scons build/X86/gem5.opt` based on your email, though I'd like to make sure. Kind regards, Bobby -- Dr. Bobby R. Bruce Room 2235, Kemper Hall, UC Davis Davis, CA, 95616 web: https://www.bobbybruce.net On Thu, Nov 12, 2020 at 4:23 AM yujiecui--- via gem5-users < [email protected]> wrote: > I just downloaded the latest gem5. Then compiled it using the scons build > / x86 / gem5. Opt command. But there was an error > > build / x86 / SystemC / channel/ messages.cc:83 :1: error: 'sc_ gem5' does > not name a type > Sc_ gem5::DefaultReportMessages predefinedMessages{ > ^ > scons: *** [build/X86/systemc/channel/messages.o] Error 1 > scons: building terminated because of errors. > > The old version of gem5 can compile normally. The old version of gem5 I > used scons 2.4.1. I used scons 3.0.1 for the latest version. > > Does anyone know why? > _______________________________________________ > gem5-users mailing list -- [email protected] > To unsubscribe send an email to [email protected] > %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s >
_______________________________________________ gem5-users mailing list -- [email protected] To unsubscribe send an email to [email protected] %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
