Yes. I used the SWIG2.0.2 too.
Now, I compile the gem5 successfully. But when I use gem5 "
build/ALPHA_FS/m5.opt configs/example/fs.py ".
there is a error:

--------------------------------------------------------------------
[shu@localhost gem5]$ build/ALPHA_FS/m5.opt configs/example/fs.py
Traceback (most recent call last):
  File "<string>", line 1, in <module>
AttributeError: 'module' object has no attribute 'main'

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

I install gcc4.5 on my system,and compile the gem5 with it. I named my
compiler to gcc45 and g++45.
I used command "  scons build/ALPHA_FS/m5.fast CXX=/usr/bin/g++45
CC=/usr/bin/gcc45  "

The OS default compiler is gcc4.1. My system is centOS5.6 . There is no gcc
update package for this OS. So I just install gcc4.5 on my own account which
is not the root account
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to