​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 <http://web.mst.edu/~kutx9>*

*"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
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to