I downgrade SWIG to 2.0.3, but It doesn't work.
Now, I use the latest gem5 version(not the stable gem5).
SWIG is 2.0.3
Python is 2.4.6
gcc and g++ is 4.5.3
Scons is 2.1.0


I found there are two warning at the end of result when gem5 finish compile.
--------------------------------------------------------------

[  RANLIB]  -> gzstream/libgzstream.a
[    LINK]  -> ALPHA_FS/gem5.opt
/usr/local/lib/python2.4/config/libpython2.4.a(posixmodule.o): In function
`posix_tmpnam':
/home/shu/simulator/Python-2.4.6/./Modules/posixmodule.c:6240: warning: the
use of `tmpnam_r' is dangerous, better use `mkstemp'
/usr/local/lib/python2.4/config/libpython2.4.a(posixmodule.o): In function
`posix_tempnam':
/home/shu/simulator/Python-2.4.6/./Modules/posixmodule.c:6195: warning: the
use of `tempnam' is dangerous, better use `mkstemp'
scons: done building targets.

--------------------------------------------------------------

I think maybe these are the reason. I tried to install the python again but
it didn't work.


On Mon, Sep 26, 2011 at 8:08 PM, Gabriel Michael Black <
[email protected]> wrote:

> Try SWIG 2.0.3 if you can. It fixed a bug that was in 2.0.2, and then 2.0.4
> introduced a new bug that breaks things.
>
> Gabe
>
>
> Quoting Nilay Vaish <[email protected]>:
>
>  On Mon, 26 Sep 2011, shu wrote:
>>
>>  Hello Nilay,
>>>
>>> what do you mean you never go it working? It mean you couldn't compile it
>>> or
>>> you couldn't use the file after you compiled?
>>>
>>>
>> I think I used to get an error same as yours.
>>
>> --
>> Nilay
>> ______________________________**_________________
>> gem5-users mailing list
>> [email protected]
>> http://m5sim.org/cgi-bin/**mailman/listinfo/gem5-users<http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users>
>>
>>
>
>
> ______________________________**_________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/**mailman/listinfo/gem5-users<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