I needed to change #include<Python.h> to <Python/Python.h>, seems it can't find 
the right default dir for the Python.h? any fix?
 
On 6 Jun 2011, at 00:39, Amber Sami Kubesch wrote:

> I was getting errors when building Gem5 on my Mac (I am running Leopard 
> 10.5.8, Python 2.5, GCC 4.0.1, and latest the Swig, Scons, and stable Gem5 
> releases).  These were: illegal character '#', 'class ResourcePool' has 
> virtual functions but non-virtual destructor error, 'PAGE_SIZE' was not 
> declared in this scope, and some directory not found warnings.  After a 
> generous amount of help today from some of the Gem5 developers, all of these 
> problems were fixed directly on my machine.  I'm attaching the diff output 
> showing the changes that were made for anybody else who might run into these 
> same issues.  For the directory error, the problem was caused by a space in a 
> folder name that was part of the path; removing that cleared the error.
> 
> Thanks,
> Amber
> <gem5mods.out>_______________________________________________
> 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