Hi Nishant,

I would suggest to try swig 2.0.4 if you've got that possibility. Swig is
not the most stable piece of software and the inter workings of swig +
python + gcc change quite a bit between versions (in a non-monotonic
fashion).

Andreas

On 19/06/2013 02:40, "Nishant Sankhala" <[email protected]> wrote:

>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
>


-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium.  Thank you.

_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to