Hello,

I just got gem5 source codes over the weekend and trying to build it, and i
get the following errors; could anyone take a look & let me know if there's
any workaround, what it might be? The source code is the latest.

Thanks,
Shigeki

--Error messages- below--
Command: scons build/RISCV/gem5.opt
<...>
build/RISCV/arch/riscv/interrupts.hh:128:5: error: 'MiscReg' does not name
a type
     MiscReg readIP() const { return (MiscReg)ip.to_ulong(); }
     ^
build/RISCV/arch/riscv/interrupts.hh:129:5: error: 'MiscReg' does not name
a type
     MiscReg readIE() const { return (MiscReg)ie.to_ulong(); }
     ^
build/RISCV/arch/riscv/interrupts.hh:130:22: error: 'MiscReg' does not name
a type
     void setIP(const MiscReg& val) { ip = val; }
                      ^
build/RISCV/arch/riscv/interrupts.hh:131:22: error: 'MiscReg' does not name
a type
     void setIE(const MiscReg& val) { ie = val; }
                      ^
scons: *** [build/RISCV/python/_m5/param_AtomicSimpleCPU.o] Error 1
scons: building terminated because of errors.
%
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to