Upgrade your gcc version to 4.3 or higher.
On Sep 20, 2011, at 6:09 PM, shu wrote: > Hi all, > > I tried to compile the gem5 in a cluster. However it didn't work. > > I got the following message: > --------------------------------------------- > > > Checking for leading underscore in global variables...(cached) no > Checking for C header file Python.h... (cached) yes > Checking for C library pthread... (cached) yes > Checking for C library dl... (cached) yes > Checking for C library util... (cached) yes > Checking for C library m... (cached) yes > Checking for C library python2.7... (cached) yes > Checking for accept(0,0,0) in C++ library None... (cached) yes > Checking for zlibVersion() in C++ library z... (cached) yes > Checking for clock_nanosleep(0,0,NULL,NULL) in C library None... (cached) no > Checking for clock_nanosleep(0,0,NULL,NULL) in C library rt... (cached) yes > Checking for C header file fenv.h... (cached) yes > Reading /home/shu/simulator/gem5/src/arch/arm/SConsopts > Reading /home/shu/simulator/gem5/src/arch/noisa/SConsopts > Reading /home/shu/simulator/gem5/src/arch/mips/SConsopts > Reading /home/shu/simulator/gem5/src/arch/power/SConsopts > Reading /home/shu/simulator/gem5/src/arch/x86/SConsopts > Reading /home/shu/simulator/gem5/src/arch/alpha/SConsopts > Reading /home/shu/simulator/gem5/src/arch/sparc/SConsopts > Reading /home/shu/simulator/gem5/src/mem/protocol/SConsopts > Reading /home/shu/simulator/gem5/src/mem/ruby/SConsopts > Reading /home/shu/simulator/gem5/src/cpu/simple/SConsopts > Reading /home/shu/simulator/gem5/src/cpu/checker/SConsopts > Reading /home/shu/simulator/gem5/src/cpu/inorder/SConsopts > Reading /home/shu/simulator/gem5/src/cpu/o3/SConsopts > Reading /home/shu/simulator/gem5/src/cpu/ozone/SConsopts > Reading /home/shu/simulator/gem5/src/cpu/nocpu/SConsopts > Building in /home/shu/simulator/gem5/build/ALPHA_FS > Using saved variables file /home/shu/simulator/gem5/build/variables/ALPHA_FS > scons: done reading SConscript files. > scons: Building targets ... > [ CXX] ALPHA_FS/python/swig/pyobject.cc -> .fo > cc1plus: warnings being treated as errors > build/ALPHA_FS/base/stats/output.hh:48: warning: 'struct Stats::Output' has > virtual functions but non-virtual destructor > scons: *** [build/ALPHA_FS/python/swig/pyobject.fo] Error 1 > scons: building terminated because of errors. > > > ------------------------------------------------------------- > the gem5 version is the latest stable version > > the cluster's OS is centOS. > my software version is: > gcc -4.1.2 > python -2.7.2 > scons -2.1.0 > swig -2.0.4 > zlib -1.2.5 > > Could you please tell me what I missed? > Thanks in advance. > > Regards, > Shu. > > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
