What version of gcc/g++ are you using? On Wed, Apr 18, 2012 at 11:48 AM, Thomas, Amanda J < [email protected]> wrote:
> I still can't seem to get Gem5 to build. I've tried different versions of > gem5, different versions of python and swig, and all have the same error > when I build gem5. > > Here is my output when I try to build gem5 with the following command: > > scons build/ARM_FS/m5.fast > > scons: Reading SConscript files ... > 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.4... (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 SConsopts > Building in /home/amanda/Downloads/gem5-stable-549b72de8f72/build/ARM_FS > Using saved variables file > /home/amanda/Downloads/gem5-stable-549b72de8f72/build/variables/ARM_FS > scons: done reading SConscript files. > scons: Building targets ... > [ CXX] ARM_FS/python/swig/core_wrap.cc -> .fo > cc1plus: warnings being treated as errors > build/ARM_FS/python/swig/core_wrap.cc: In function 'void > SWIG_Python_AddErrorMsg(const char*)': > build/ARM_FS/python/swig/core_wrap.cc:870: error: format not a string > literal and no format arguments > scons: *** [build/ARM_FS/python/swig/core_wrap.fo] Error 1 > scons: building terminated because of errors. > > > The only thing I can think of that may cause this would be the versions of > swig or Python, but I'm using Swig 1.3.35 and Python 2.4.5. > What is happening? > > -Amanda > _______________________________________________ > 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
