I attempted to build M5 using Python 2.4.3 (the current stable release), but have run into problems suggesting that this version is not compatible with M5. First, the scons scripts auto-generated the wrong directory for linking to libpython2.4.a. That I was able to fix, but I also need to add dl, pthread and util to the libraries linked. After those changes I was able to build M5 but it fails to run correctly during the dynamic loading of Python modules. The build tests fail with this message:
Traceback (most recent call last): File "<string>", line 1, in ? File "build/ALPHA_SE/python/m5/__init__.py", line 79, in ? from main import options, arguments, main File "build/ALPHA_SE/python/m5/main.py", line 30, in ? import code, optparse, os, socket, sys File "/projects/mvanbies/m5_2.0_b1/tools//lib/python2.4/optparse.py", line 72, in ? from gettext import gettext as _ File "/projects/mvanbies/m5_2.0_b1/tools//lib/python2.4/gettext.py", line 49, in ? import locale, copy, os, re, struct, sys ImportError: /projects/mvanbies/m5_2.0_b1/tools/lib/python2.4/lib-dynload/struct.so: undefined symbol: PyString_Type Traceback (most recent call last): File "<string>", line 1, in ? NameError: name 'm5' is not defined Michael _______________________________________________ m5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
