Hi Amanda,
In addition, I think you better use ARM and not ARM_FS, which is by now 
deprecated.
Regards,
Uri

From: [email protected] [mailto:[email protected]] On 
Behalf Of Steve Reinhardt
Sent: 18 April 2012 19:52
To: gem5 users mailing list
Subject: Re: [gem5-users] Build Error

What version of gcc/g++ are you using?
On Wed, Apr 18, 2012 at 11:48 AM, Thomas, Amanda J 
<[email protected]<mailto:[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<http://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]<mailto:[email protected]>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users


-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to