I'm running into a compile error when building a SWIG-generated file: build/ALPHA_SE/python/swig/event_wrap.cc: In function 'void EventQueue_schedule(EventQueue*, Event*, Tick)': build/ALPHA_SE/python/swig/event_wrap.cc:2892: error: '$self' was not declared in this scope build/ALPHA_SE/python/swig/event_wrap.cc: In function 'void EventQueue_deschedule(EventQueue*, Event*)': build/ALPHA_SE/python/swig/event_wrap.cc:2895: error: '$self' was not declared in this scope
I'm a SWIG-noob -- is this something very simple? m5-stable builds just fine with my environment. Here are my various versions: gcc version 4.1.2 20071124 (Red Hat 4.1.2-42) Python 2.4.3 scons 0.97.D001 SWIG Version 1.3.29 Manually removing the $ fixes the problem, but I wonder if this is not a sign of a bigger problem (and the file is swig-generated anyway...). Any thoughts? Others in the same build environment see the same behavior. Regards, Dan -- http://www.cs.wisc.edu/~gibson [esc]:wq!
_______________________________________________ m5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/m5-dev
