Hello, I have already compiled M5. but I confronted with this error when I tried to compile MV5. I would really appreciate if somebody help me. I really need this software.\
build/ALPHA_SE/base/statistics.hh: In member function 'void Stats::DistStor::update(Stats::DistDataData*, const Stats::DistStor::Params&)':
build/ALPHA_SE/base/statistics.hh:1457: error: 'INT_MAX' was not declared in this scope
build/ALPHA_SE/base/statistics.hh:1458: error: 'INT_MIN' was not declared in this scope
build/ALPHA_SE/base/statistics.hh: In member function 'void Stats::DistStor::reset()':
build/ALPHA_SE/base/statistics.hh:1475: error: 'INT_MAX' was not declared in this scope
build/ALPHA_SE/base/statistics.hh:1476: error: 'INT_MIN' was not declared in this scope
In file included from build/ALPHA_SE/cpu/thread_context.hh:44,
from build/ALPHA_SE/arch/alpha/utility.hh:40,
from build/ALPHA_SE/arch/alpha/pagetable.hh:36,
from build/ALPHA_SE/arch/alpha/faults.hh:38,
from build/ALPHA_SE/arch/alpha/ev5.cc:32:
build/ALPHA_SE/sim/byteswap.hh: At global scope:
build/ALPHA_SE/sim/byteswap.hh:130: error: explicit template specialization cannot have a storage class
build/ALPHA_SE/sim/byteswap.hh:138: error: explicit template specialization cannot have a storage class
In file included from build/ALPHA_SE/arch/alpha/pagetable.hh:36,
from build/ALPHA_SE/arch/alpha/faults.hh:38,
from build/ALPHA_SE/arch/alpha/ev5.cc:32:
build/ALPHA_SE/arch/alpha/utility.hh: In function 'bool AlphaISA::isCallerSaveIntegerRegister(unsigned int)':
build/ALPHA_SE/arch/alpha/utility.hh:55: error: suggest parentheses around '&&' within '||'
In file included from build/ALPHA_SE/arch/alpha/faults.hh:38,
from build/ALPHA_SE/arch/alpha/ev5.cc:32:
build/ALPHA_SE/arch/alpha/pagetable.hh: In member function 'Addr AlphaISA::VAddr::level2() const':
build/ALPHA_SE/arch/alpha/pagetable.hh:59: error: suggest parentheses around '+' inside '>>'
build/ALPHA_SE/arch/alpha/pagetable.hh: In member function 'Addr AlphaISA::VAddr::level1() const':
build/ALPHA_SE/arch/alpha/pagetable.hh:61: error: suggest parentheses around '+' inside '>>'
In file included from build/ALPHA_SE/arch/alpha/tlb.hh:37,
from build/ALPHA_SE/arch/alpha/ev5.cc:36:
build/ALPHA_SE/arch/alpha/ev5.hh: In function 'Addr EV5::DTB_PTE_PPN(uint64_t)':
build/ALPHA_SE/arch/alpha/ev5.hh:84: error: suggest parentheses around '-' inside '<<'
build/ALPHA_SE/arch/alpha/ev5.hh:84: error: suggest parentheses around '-' in operand of '&'
build/ALPHA_SE/arch/alpha/ev5.hh: In function 'Addr EV5::ITB_PTE_PPN(uint64_t)':
build/ALPHA_SE/arch/alpha/ev5.hh:94: error: suggest parentheses around '-' inside '<<'
build/ALPHA_SE/arch/alpha/ev5.hh:94: error: suggest parentheses around '-' in operand of '&'
In file included from build/ALPHA_SE/cpu/simple_thread.hh:68,
from build/ALPHA_SE/arch/alpha/ev5.cc:42:
build/ALPHA_SE/mem/page_table.hh: In member function 'void PageTable::invalidateCache(Addr)':
build/ALPHA_SE/mem/page_table.hh:124: error: 'ULONG_MAX' was not declared in this scope
build/ALPHA_SE/sim/host.hh: At global scope:
build/ALPHA_SE/sim/host.hh:61: error: 'MaxTick' defined but not used
build/ALPHA_SE/arch/alpha/isa_traits.hh:164: error: 'AlphaISA::SyscallPseudoReturnReg' defined but not used
scons: *** [build/ALPHA_SE/arch/alpha/ev5.do] Error 1
scons: building terminated because of errors.
make: *** [compile] Error 2
thank you