I got it. It is with the m5 stable build. Other builds are working fine.

Astha

On Wed, Jun 30, 2010 at 12:25 PM, Astha Jain <[email protected]> wrote:
> Hi,
>
> I am trying to compile M5 on a Fedora 64 bit machine. I am getting the
> following compilation error :
>
> bash-4.0$ scons build/ALPHA_FS/m5.debug
> scons: Reading SConscript files ...
> .hg directory not found
> 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 
> /nfs/div1/astha/Desktop/m5-stable-94c016415053/src/arch/alpha/SConsopts
> Reading /nfs/div1/astha/Desktop/m5-stable-94c016415053/src/arch/arm/SConsopts
> Reading /nfs/div1/astha/Desktop/m5-stable-94c016415053/src/arch/mips/SConsopts
> Reading 
> /nfs/div1/astha/Desktop/m5-stable-94c016415053/src/arch/sparc/SConsopts
> Reading /nfs/div1/astha/Desktop/m5-stable-94c016415053/src/arch/x86/SConsopts
> Reading 
> /nfs/div1/astha/Desktop/m5-stable-94c016415053/src/cpu/inorder/SConsopts
> Reading /nfs/div1/astha/Desktop/m5-stable-94c016415053/src/cpu/o3/SConsopts
> Reading /nfs/div1/astha/Desktop/m5-stable-94c016415053/src/cpu/ozone/SConsopts
> Reading 
> /nfs/div1/astha/Desktop/m5-stable-94c016415053/src/cpu/simple/SConsopts
> Reading 
> /nfs/div1/astha/Desktop/m5-stable-94c016415053/src/mem/protocol/SConsopt
> s
> Reading /nfs/div1/astha/Desktop/m5-stable-94c016415053/src/mem/ruby/SConsopts
> Building in /nfs/div1/astha/Desktop/m5-stable-94c016415053/build/ALPHA_FS
> Using saved variables file 
> /nfs/div1/astha/Desktop/m5-stable-94c016415053/build/
> variables/ALPHA_FS
> scons: done reading SConscript files.
> scons: Building targets ...
> g++ -o build/ALPHA_FS/base/bigint.do -c -Wno-deprecated -pipe 
> -fno-strict-aliasi
> ng -Wall -Wno-sign-compare -Wundef -ggdb3 -Werror -DTHE_ISA=ALPHA_ISA -DDEBUG 
> -D
> TRACING_ON=1 -Ibuild/gzstream -Ibuild/libelf -Iext -I/usr/include/python2.6 
> -Ibu
> ild/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::ope
> rator=(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::ope
> rator=(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::ostrea
> m&, const Twin64_t&)':
> build/ALPHA_FS/base/bigint.cc:39: error: 'const struct m5_twin64_t' has no 
> membe
> r named 'a'
> build/ALPHA_FS/base/bigint.cc:39: error: 'const struct m5_twin64_t' has no 
> membe
> r named 'b'
> build/ALPHA_FS/base/bigint.cc: In function 'std::ostream& 
> operator<<(std::ostrea
> m&, const Twin32_t&)':
> build/ALPHA_FS/base/bigint.cc:45: error: 'const struct m5_twin32_t' has no 
> membe
> r named 'a'
> build/ALPHA_FS/base/bigint.cc:45: error: 'const struct m5_twin32_t' has no 
> membe
> r named 'b'
> scons: *** [build/ALPHA_FS/base/bigint.do] Error 1
> scons: building terminated because of errors.
>
> Please help me on this.
>
> Thanks in advance for any help.
>
> Regards,
> Astha
>
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to