Hi all,

When I build gem5, I got a error that g++ couldn't fild cassert.

 [     CXX] X86/kern/linux/printk.cc -> .o
In file included from build/X86/kern/linux/printk.cc:38:0:
build/X86/sim/arguments.hh: In instantiation of 'Arguments::operator T*() [with T = const char]':
build/X86/kern/linux/printk.cc:172:51:   required from here
build/X86/sim/arguments.hh:140:9: error: 'CopyData' was not declared in this scope
In file included from build/X86/arch/isa_traits.hh:1:0,
                 from build/X86/mem/port_proxy.hh:64,
                 from build/X86/mem/fs_translating_port_proxy.hh:63,
                 from build/X86/sim/arguments.hh:39,
                 from build/X86/kern/linux/printk.cc:38:
build/X86/arch/x86/isa_traits.hh:74:23: error: 'X86ISA::NoopMachInst' defined but not used [-Werror=unused-variable]
cc1plus: all warnings being treated as errors
scons: *** [build/X86/kern/linux/printk.o] Error 1
scons: building terminated because of errors.


I use gcc 4.7.0 and I can find casser file in /usr/include/c++/4.7.0/

Any one know solution for that?

Thans in advance.




_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to