yea, turns out that swig 1.3.28 doesn't work with python 2.5 (even though those are the default versions for cygwin). you can get a little farther by downloading a more recent version of cygwin manually, but basically cygwin sucks (signals don't work, gdb doesn't really work, etc.) so I think if you have to work on a windows machine you're far better off getting the free vmware server (or something equivalent) and putting a minimal ubuntu server install on it and then using that "remotely" (i.e. log in over ssh/X). The cygwin X server works OK under XP.
Steve On Mon, Mar 17, 2008 at 7:06 PM, Korey Sewell <[EMAIL PROTECTED]> wrote: > I cloned a fresh M5 out the repo and I'm trying to build > ALPHA_SE/AtomicSimpleCPU M5 in Cygwin and I get the following error: > > g++ -o build/ALPHA_SE/python/swig/core_wrap.do -c -pipe > -fno-strict-aliasing -Wall -Wno-sign-compare -Werror -Wundef > -Wno-uninitialized -ggdb3 -DTHE_ISA=ALPHA_ISA -DDEBUG -DTRACING_ON=1 > -Iext/dnet -I/usr/include/python2.5 -Ibuild/libelf -Ibuild/ALPHA_SE > build/ALPHA_SE/python/swig/core_wrap.cc > build/ALPHA_SE/python/swig/core_wrap.cc: In function `int > SWIG_Python_ConvertFunctionPtr(PyObject*, void**, swig_type_info*)': > build/ALPHA_SE/python/swig/core_wrap.cc:2000: error: invalid > conversion from `const char*' to `char*' > build/ALPHA_SE/python/swig/core_wrap.cc: In function `void > SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*, > swig_type_info**, swig_type_info**)': > build/ALPHA_SE/python/swig/core_wrap.cc:3520: error: invalid > conversion from `const char*' to `char*' > scons: *** [build/ALPHA_SE/python/swig/core_wrap.do] Error 1 > scons: building terminated because of errors. > > Anyone notice something similar to this? > > My g++ is 3.4.4, my swig is 1.3.28, and python is 2.5.... > > > -- > ---------- > Korey L Sewell > Graduate Student - PhD Candidate > Computer Science & Engineering > University of Michigan > _______________________________________________ > m5-dev mailing list > [email protected] > http://m5sim.org/mailman/listinfo/m5-dev >
_______________________________________________ m5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/m5-dev
