[Gems-users] build error


Date: Mon, 23 Apr 2012 21:53:01 +0800
From: mihai pricopi <mihai.pricopi@xxxxxxxxx>
Subject: [Gems-users] build error
Hi,

 I am trying to build gem5 on a 32-bit Ubuntu machine and I get this error:


scons: Building targets ...
 [     CXX] ARM/sim/main.cc -> .o
 [ TRACING]  -> ARM/debug/BusBridge.hh
 [SO PARAM] Bridge -> ARM/params/Bridge.hh
 [CONFIG H] FAST_ALLOC_STATS, 0 -> ARM/config/fast_alloc_stats.hh
 [CONFIG H] FORCE_FAST_ALLOC, 0 -> ARM/config/force_fast_alloc.hh
 [CONFIG H] NO_FAST_ALLOC, 0 -> ARM/config/no_fast_alloc.hh
 [SO PARAM] MemObject -> ARM/params/MemObject.hh
 [ TRACING]  -> ARM/debug/Event.hh
 [ENUMDECL] MemoryMode -> ARM/enums/MemoryMode.hh
 [SO PARAM] SimObject -> ARM/params/SimObject.hh
 [     CXX] ARM/mem/bridge.cc -> .o
 [ TRACING]  -> ARM/debug/Bus.hh
 [ TRACING]  -> ARM/debug/BusAddrRanges.hh
 [SO PARAM] Bus -> ARM/params/Bus.hh
 [     CXX] ARM/mem/bus.cc -> .o
 [     CXX] ARM/mem/mem_object.cc -> .o
 [     CXX] ARM/mem/mport.cc -> .o
 [     CXX] ARM/mem/packet.cc -> .o
 [     CXX] ARM/mem/port.cc -> .o
 [ TRACING]  -> ARM/debug/PacketQueue.hh
 [     CXX] ARM/mem/packet_queue.cc -> .o
 [     CXX] ARM/mem/tport.cc -> .o
 [GENERATE]  -> ARM/arch/isa_traits.hh
 [ CFG ISA]  -> ARM/config/the_isa.hh
 [ TRACING]  -> ARM/debug/Predecoder.hh
 [     CXX] ARM/mem/port_proxy.cc -> .o
In file included from build/ARM/arch/arm/types.hh:48,
                 from build/ARM/arch/arm/isa_traits.hh:48,
                 from build/ARM/arch/isa_traits.hh:1,
                 from build/ARM/mem/port_proxy.hh:64,
                 from build/ARM/mem/port_proxy.cc:41:
build/ARM/base/hashmap.hh:157: error: specialization of
'std::tr1::hash<long long unsigned int>' after instantiation
build/ARM/base/hashmap.hh:157: error: redefinition of 'struct
std::tr1::hash<long long unsigned int>'
/usr/include/c++/4.4/tr1_impl/functional_hash.h:39: error: previous
definition of 'struct std::tr1::hash<long long unsigned int>'
build/ARM/base/hashmap.hh:164: error: specialization of
'std::tr1::hash<long long int>' after instantiation
build/ARM/base/hashmap.hh:164: error: redefinition of 'struct
std::tr1::hash<long long int>'
/usr/include/c++/4.4/tr1_impl/functional_hash.h:39: error: previous
definition of 'struct std::tr1::hash<long long int>'
scons: *** [build/ARM/mem/port_proxy.o] Error 1


Any idea what is going on ?

Thanks
[← Prev in Thread] Current Thread [Next in Thread→]
  • [Gems-users] build error, mihai pricopi <=