Tariq Azmy
2018-06-19 17:44:47 UTC
Hi,
I got a fresh new gem5 from google repo (
https://gem5.googlesource.com/public/gem5) and built the X86 with scons.
But there's an error from xbar:
In file included from build/X86/mem/xbar.hh:57:0,
from build/X86/mem/noncoherent_xbar.hh:54,
from build/X86/mem/noncoherent_xbar.cc:50:
build/X86/base/addr_range_map.hh:221:35: error: 'std::function' has not
been declared
find(const AddrRange &r, std::function<bool(const AddrRange)> cond)
const
^~~~~~~~
build/X86/base/addr_range_map.hh:221:43: error: expected ',' or '...'
before '<' token
find(const AddrRange &r, std::function<bool(const AddrRange)> cond)
const
^
scons: *** [build/X86/mem/noncoherent_xbar.o] Error 1
scons: building terminated because of errors.
Hope it can get fixed.
Thanks
I got a fresh new gem5 from google repo (
https://gem5.googlesource.com/public/gem5) and built the X86 with scons.
But there's an error from xbar:
In file included from build/X86/mem/xbar.hh:57:0,
from build/X86/mem/noncoherent_xbar.hh:54,
from build/X86/mem/noncoherent_xbar.cc:50:
build/X86/base/addr_range_map.hh:221:35: error: 'std::function' has not
been declared
find(const AddrRange &r, std::function<bool(const AddrRange)> cond)
const
^~~~~~~~
build/X86/base/addr_range_map.hh:221:43: error: expected ',' or '...'
before '<' token
find(const AddrRange &r, std::function<bool(const AddrRange)> cond)
const
^
scons: *** [build/X86/mem/noncoherent_xbar.o] Error 1
scons: building terminated because of errors.
Hope it can get fixed.
Thanks