Thank you Kassan for replying.
Actually I use the swig version 2.0
I installed the latest version of swig (3.0.5) at /usr/share/swig3.0.5
and executed again "scons build/ARM/gem5.opt"
The build process was interrupted again. This is because scons continued
to use the version 2.0 of swig.
I then updated the PATH variable (in .profile) with : export
PATH=/usr/share/swig3.0.5/bin:$PATH
In the terminal window by executing bash -l and then scons
build/ARM/gem5.opt the build process completed succesfully.
Thank you Kassan for your hint!
Roman
On 2015-05-28 02:37, kassan unda wrote:
What is the version of swig and python that you are using?
_Regards,_
_Kassan Unda_
Doctoral Candidate
_Computer Engineering__Missouri S&T (Formerly University of Missouri
Rolla)_
_WebPage: http://web.mst.edu/~kutx9 [2]_
"DO NOT GO WHERE THE PATH MAY LEAD, GO INSTEAD WHERE THERE IS NO
PATH AND LEAVE A TRAIL." Ralph Waldo Emerson
On Wed, May 27, 2015 at 8:50 AM, ursu <[email protected]> wrote:
Dear gem5 users,
After downloading gem5, I executed the following commands and
everything went well:
scons build/ARM/gem5.opt
scons build/ALPHA/gem5.opt
When I try to execute the command "scons build/X86/gem5.opt" the
build process is interrupted:
---------------------------------------------------------------------------------------
scons build/X86/gem5.opt
.
.
.
[ CXX] X86/dev/x86/pc.cc -> .do
[ CXX] X86/dev/x86/south_bridge.cc -> .do
[ CXX] X86/dev/x86/cmos.cc -> .do
[ CXX] X86/dev/x86/i8259.cc -> .do
[ CXX] X86/dev/x86/i8254.cc -> .do
[ CXX] X86/dev/x86/i8237.cc -> .do
[ CXX] X86/dev/x86/i8042.cc -> .do
[ CXX] X86/dev/x86/speaker.cc -> .do
[ CXX] X86/dev/x86/i82094aa.cc -> .do
[ CXX] X86/dev/x86/intdev.cc -> .do
[ CXX] X86/python/m5/internal/NetworkLink_vector_wrap.cc ->
.do
[ CXX] X86/python/m5/internal/Clock_vector_wrap.cc -> .do
[ CXX] X86/python/m5/internal/ExtCharacteristic_vector_wrap.cc
-> .do
build/X86/python/m5/internal/ExtCharacteristic_vector_wrap.cc: In
function 'PyObject*
_wrap_vector_ExtCharacteristic_erase__SWIG_0(PyObject*, PyObject*)':
build/X86/python/m5/internal/ExtCharacteristic_vector_wrap.cc:6789:30:
error: no matching function for call to
'std::vector<Enums::ExtCharacteristic,
std::allocator<Enums::ExtCharacteristic>
::erase(SwigValueWrapper<__gnu_cxx::__normal_iterator<Enums::ExtCharacteristic*,
std::vector<Enums::ExtCharacteristic,
std::allocator<Enums::ExtCharacteristic> > > >&)'
result = (arg1)->erase(arg2);
^
build/X86/python/m5/internal/ExtCharacteristic_vector_wrap.cc:6789:30:
note: candidates are:
In file included from /usr/include/c++/4.9/vector:64:0,
from /usr/include/c++/4.9/bits/random.h:34,
from /usr/include/c++/4.9/random:49,
from /usr/include/c++/4.9/bits/stl_algo.h:66,
from /usr/include/c++/4.9/algorithm:62,
from
build/X86/python/m5/internal/ExtCharacteristic_vector_wrap.cc:3430:
.
.
.
.
scons: ***
[build/X86/python/m5/internal/ExtCharacteristic_vector_wrap.do]
Error 1
scons: building terminated because of errors.
------------------------------------------------------------------------------------------
The same happens if I execute "scons build/X86/gem5.debug" or
"scons build/X86_MESI_Two_Level/gem5.opt".
The file "ExtCharacteristic_vector_wrap.cc" is automatically
generated by SWIG so I hesitate to modify it.
Does anyone have an idea what the problem could be or where should
I look at?
Best regards,
Roman
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [1]
Links:
------
[1] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
[2] http://web.mst.edu/~kutx9
_______________________________________________
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