Hi, I am totally new to M5 and I downloaded the m5-stable following the website.
$ hg clone http://repo.m5sim.org/m5-stable When I try to compile it, I've got this error output: mam...@jupiter:/home/mamute/m5-stable$ scons build/ALPHA_FS scons: Reading SConscript files ... Checking for leading underscore in global variables...(cached) no Checking for C header file Python.h... (cached) yes Checking for C library pthread... (cached) yes Checking for C library dl... (cached) yes Checking for C library util... (cached) yes Checking for C library m... (cached) yes Checking for C library python2.6... (cached) yes Checking for accept(0,0,0) in C++ library None... (cached) yes Checking for zlibVersion() in C++ library z... (cached) yes Checking for C header file fenv.h... (cached) yes Reading /home/mamute/m5-stable/src/mem/protocol/SConsopts Reading /home/mamute/m5-stable/src/mem/ruby/SConsopts Reading /home/mamute/m5-stable/src/arch/alpha/SConsopts Reading /home/mamute/m5-stable/src/arch/x86/SConsopts Reading /home/mamute/m5-stable/src/arch/mips/SConsopts Reading /home/mamute/m5-stable/src/arch/arm/SConsopts Reading /home/mamute/m5-stable/src/arch/sparc/SConsopts Reading /home/mamute/m5-stable/src/cpu/ozone/SConsopts Reading /home/mamute/m5-stable/src/cpu/o3/SConsopts Reading /home/mamute/m5-stable/src/cpu/simple/SConsopts Reading /home/mamute/m5-stable/src/cpu/inorder/SConsopts Building in /home/mamute/m5-stable/build/ALPHA_FS Using saved variables file /home/mamute/m5-stable/build/variables/ALPHA_FS scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead. File "/home/mamute/m5-stable/build/ALPHA_FS/SConscript", line 252, in <module> scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead. File "/home/mamute/m5-stable/build/ALPHA_FS/SConscript", line 252, in <module> [...] scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead. File "/home/mamute/m5-stable/build/ALPHA_FS/SConscript", line 252, in <module> scons: done reading SConscript files. scons: Building targets ... [...] g++ -o build/ALPHA_FS/base/bigint.do -c -Wno-deprecated -pipe -fno-strict-aliasing -Wall -Wno-sign-compare -Wundef -ggdb3 -Werror -DTHE_ISA=ALPHA_ISA -DDEBUG -DTRACING_ON=1 -Ibuild/gzstream -Ibuild/libelf -Iext -I/usr/include/python2.6 -Ibuild/ALPHA_FS build/ALPHA_FS/base/bigint.cc In file included from build/ALPHA_FS/base/bigint.cc:31: build/ALPHA_FS/base/bigint.hh:39: error: 'uint64_t' does not name a type build/ALPHA_FS/base/bigint.hh:40: error: 'uint64_t' does not name a type build/ALPHA_FS/base/bigint.hh:43: error: ISO C++ forbids declaration of 'uint64_t' with no type build/ALPHA_FS/base/bigint.hh:43: error: expected ',' or '...' before 'x' build/ALPHA_FS/base/bigint.hh:48: error: ISO C++ forbids declaration of 'uint64_t' with no type build/ALPHA_FS/base/bigint.hh:48: error: expected ',' or '...' before 'x' build/ALPHA_FS/base/bigint.hh:55: error: expected type-specifier before 'uint64_t' build/ALPHA_FS/base/bigint.hh: In constructor 'm5_twin64_t::m5_twin64_t(int)': build/ALPHA_FS/base/bigint.hh:45: error: 'a' was not declared in this scope build/ALPHA_FS/base/bigint.hh:45: error: 'x' was not declared in this scope build/ALPHA_FS/base/bigint.hh:46: error: 'b' was not declared in this scope build/ALPHA_FS/base/bigint.hh: In member function 'm5_twin64_t& m5_twin64_t::operator=(int)': build/ALPHA_FS/base/bigint.hh:50: error: 'a' was not declared in this scope build/ALPHA_FS/base/bigint.hh:50: error: 'x' was not declared in this scope build/ALPHA_FS/base/bigint.hh:51: error: 'b' was not declared in this scope build/ALPHA_FS/base/bigint.hh: At global scope: build/ALPHA_FS/base/bigint.hh:63: error: 'uint32_t' does not name a type build/ALPHA_FS/base/bigint.hh:64: error: 'uint32_t' does not name a type build/ALPHA_FS/base/bigint.hh:67: error: ISO C++ forbids declaration of 'uint32_t' with no type build/ALPHA_FS/base/bigint.hh:67: error: expected ',' or '...' before 'x' build/ALPHA_FS/base/bigint.hh:72: error: ISO C++ forbids declaration of 'uint32_t' with no type build/ALPHA_FS/base/bigint.hh:72: error: expected ',' or '...' before 'x' build/ALPHA_FS/base/bigint.hh:79: error: expected type-specifier before 'uint32_t' build/ALPHA_FS/base/bigint.hh: In constructor 'm5_twin32_t::m5_twin32_t(int)': build/ALPHA_FS/base/bigint.hh:69: error: 'a' was not declared in this scope build/ALPHA_FS/base/bigint.hh:69: error: 'x' was not declared in this scope build/ALPHA_FS/base/bigint.hh:70: error: 'b' was not declared in this scope build/ALPHA_FS/base/bigint.hh: In member function 'm5_twin32_t& m5_twin32_t::operator=(int)': build/ALPHA_FS/base/bigint.hh:74: error: 'a' was not declared in this scope build/ALPHA_FS/base/bigint.hh:74: error: 'x' was not declared in this scope build/ALPHA_FS/base/bigint.hh:75: error: 'b' was not declared in this scope build/ALPHA_FS/base/bigint.cc: In function 'std::ostream& operator<<(std::ostream&, const Twin64_t&)': build/ALPHA_FS/base/bigint.cc:39: error: 'conststruct m5_twin64_t' has no member named 'a' build/ALPHA_FS/base/bigint.cc:39: error: 'conststruct m5_twin64_t' has no member named 'b' build/ALPHA_FS/base/bigint.cc: In function 'std::ostream& operator<<(std::ostream&, const Twin32_t&)': build/ALPHA_FS/base/bigint.cc:45: error: 'conststruct m5_twin32_t' has no member named 'a' build/ALPHA_FS/base/bigint.cc:45: error: 'conststruct m5_twin32_t' has no member named 'b' scons: *** [build/ALPHA_FS/base/bigint.do] Error 1 scons: building terminated because of errors. mam...@jupiter:/home/mamute/m5-stable$ Is there anything wrong with my system, packages, versions of software (scons, Python, etc)?? Thanks for any help. Regards, Mamute _______________________________________________ m5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
