Hi
I'm having a hard time due to scons building errors.
Thanks in advance for your help!
I am using CentOS 6.9, gcc 4.9.2, python 2.7.12, scons 2.4.1 and swig 3.0.12.
When I install and build the gem5, the following errors occurred: 
(I was typed "scons build/ARM/gem5.opt")
ext/pybind11/include/pybind11/pytypes.h: In member function 'bool 
pybind11::capsule::check() const':
ext/pybind11/include/pybind11/pytypes.h:681:78: error: 'PyCapsule_CheckExact' 
was not declared in this scope
         bool check() const { return m_ptr != nullptr && (bool) 
CheckFun(m_ptr); } \
                                                                              ^
ext/pybind11/include/pybind11/pytypes.h:690:5: note: in expansion of macro 
'PYBIND11_OBJECT_COMMON'
     PYBIND11_OBJECT_COMMON(Name, Parent, CheckFun) \
     ^
ext/pybind11/include/pybind11/pytypes.h:696:5: note: in expansion of macro 
'PYBIND11_OBJECT'
     PYBIND11_OBJECT(Name, Parent, CheckFun) \
     ^
ext/pybind11/include/pybind11/pytypes.h:1004:5: note: in expansion of macro 
'PYBIND11_OBJECT_DEFAULT'
     PYBIND11_OBJECT_DEFAULT(capsule, object, PyCapsule_CheckExact)
     ^
There are a lot of errors similar to this one.
I captured the whole screen with errors and attached it in three segments in 
sequence.
I will be waiting for your answer.
Thank you. 
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to