I was able to compile the simulator with the following setup.

GCC/G++ 4.4.5
Swig 2.0.2
Scons 1.3.0

Hope this works for you as well.
Carole

On Mon, Jul 25, 2011 at 8:15 PM, Abbas BanaiyanMofrad <[email protected]>wrote:

> Hi,
>
> I try to compile gem5 stable version (gem5-stable-b9ba22cb23f2) on a linux
> server, but during compilation it returns the below error message:
>
> cc1plus: warnings being treated as errors
> build/ALPHA_SE/python/swig/core_wrap.cc: In function 'void
> SWIG_Python_SetSwigThis(PyObject*, PyObject*)':
> build/ALPHA_SE/python/swig/core_wrap.cc:2172: error: deprecated conversion
> from string constant to 'char*'
> scons: *** [build/ALPHA_SE/python/swig/core_wrap.do] Error 1
> scons: building terminated because of errors.
>
> My G++ version is 4.4.0.The SCONS version is 2.0.1The SWIG version is 2.0.4
>
> Thanks,
>
> --
>
> Abbas BanaiyanMofrad
> Computer Science Department
>  3069 Donald Bren Hall
> Irvine, CA 92697-3455
> +1 (949) 910 7307
> [email protected]
> http://www.ics.uci.edu/~abanaiya
>
>
>
>
> _______________________________________________
> 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

Reply via email to