Hi, I am attempting "scons build/ALPHA_SE/gem5.opt" and running into this error:
build/ALPHA_SE/python/m5/internal/vptype_FUDesc_wrap.cc: In function 'std::vector<FUDesc*, std::allocator<FUDesc*> >* std_vector_Sl_FUDesc_Sm__Sg____getitem____SWIG_0(std::vector<FUDesc*, std::allocator<FUDesc*> >*, PySliceObject*)': build/ALPHA_SE/python/m5/internal/vptype_FUDesc_wrap.cc:4398:48: error: 'SWIGPY_SLICE_ARG' was not declared in this scope build/ALPHA_SE/python/m5/internal/vptype_FUDesc_wrap.cc: In function 'void std_vector_Sl_FUDesc_Sm__Sg____setitem____SWIG_0(std::vector<FUDesc*, std::allocator<FUDesc*> >*, PySliceObject*, const std::vector<FUDesc*, std::allocator<FUDesc*> >&)': build/ALPHA_SE/python/m5/internal/vptype_FUDesc_wrap.cc:4407:48: error: 'SWIGPY_SLICE_ARG' was not declared in this scope build/ALPHA_SE/python/m5/internal/vptype_FUDesc_wrap.cc: In function 'void std_vector_Sl_FUDesc_Sm__Sg____setitem____SWIG_1(std::vector<FUDesc*, std::allocator<FUDesc*> >*, PySliceObject*)': build/ALPHA_SE/python/m5/internal/vptype_FUDesc_wrap.cc:4416:48: error: 'SWIGPY_SLICE_ARG' was not declared in this scope build/ALPHA_SE/python/m5/internal/vptype_FUDesc_wrap.cc: In function 'void std_vector_Sl_FUDesc_Sm__Sg____delitem____SWIG_1(std::vector<FUDesc*, std::allocator<FUDesc*> >*, PySliceObject*)': build/ALPHA_SE/python/m5/internal/vptype_FUDesc_wrap.cc:4425:48: error: 'SWIGPY_SLICE_ARG' was not declared in this scope I'm using gcc 4.5.3, python2.6.8 and swig 2.0.4 on 64bit ubuntu 12.04. I see that SWIGPY_SLICE_ARG is defined in a number of generated *_wrap.cc files but don't know how that relates or how to make sure FUDesc picks it up. Any thoughts? Thanks, Christine
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
