Help talk:Contents

From M5

Jump to: navigation, search

I'm getting a silly little error trying to build this thing for the first time: scons: Reading SConscript files ... Checking for C header file fenv.h... yes scons: done reading SConscript files. scons: Building targets ... g++ -pipe -fno-strict-aliasing -Wall -Wno-sign-compare -Werror -Wundef g++ -g -gstabs+ -O0 -DDEBUG -Iext/dnet -IALPHA_SE -Im5 -c -o g++ ALPHA_SE/arch/alpha/decoder.do ALPHA_SE/arch/alpha/decoder.cc cc1plus: warnings being treated as errors m5/arch/alpha/isa_traits.hh:296: warning: overflow in implicit constant conversion ALPHA_SE/arch/alpha/decoder.cc:5619: error: definition of 'StaticInstPtr<AlphaISA> AlphaISA::decodeInst(uint32_t)' is not in namespace enclosing 'AlphaISA' scons: *** [ALPHA_SE/arch/alpha/decoder.do] Error 1 scons: building terminated because of errors.


Now I'm getting this under SuSE 10.1 with g++ 4.1.0 but not under Cygwin with g++ 3.4.4.

Should I roll back to the earlier C++ compiler, or is there something else that can be made to work? Thanks.

chris

Personal tools