I am successfully able to build ARM system in my local machine using gem5 with following configurations:
OS: ubuntu 12.04, Swig: 2.0.7, Python: 2.7.3, gcc: 4.7 When I tried to do the same thing in my server with centos 5.9 (64-bit), swig version 2.0.7 ,Python 2.4.3 and gcc version 4.4.7, I am getting following error message. $scons build/ARM/gem5.opt build/ARM/python/swig/core_wrap.cc:916: warning: 'long int PyNumber_AsSsize_t(PyObject*, void*)' defined but not used build/ARM/python/swig/drain_wrap.cc: In function 'PyObject* SWIG_From_unsigned_SS_int(unsigned int)': build/ARM/python/swig/drain_wrap.cc:3067: error: 'PyInt_FromSize_t' was not declared in this scope build/ARM/python/swig/drain_wrap.cc: At global scope: build/ARM/python/swig/drain_wrap.cc:916: warning: 'long int PyNumber_AsSsize_t(PyObject*, void*)' defined but not used scons: *** [build/ARM/python/swig/drain_wrap.o] Error 1 build/ARM/python/swig/event_wrap.cc:916: warning: 'long int PyNumber_AsSsize_t(PyObject*, void*)' defined but not used build/ARM/python/swig/debug_wrap.cc:916: warning: 'long int PyNumber_AsSsize_t(PyObject*, void*)' defined but not used scons: building terminated because of errors. Since I am not an administrator, I cannot change the version of Python and gcc. But still it's meeting the dependencies mentioned in the gem5. Currently I don't have any idea to solve this issue. Any help would be appreciated. _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
