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
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to