Hi Peter, I think this patch could be of interest to you. For rationale, see my comments in the diff. Basically, the external_runtime.swg file included in the ruby bindings already includes rubyhead.swg so the definition of _mSWIG from that file is now repeated.
Greetings, Torsten
# For some reason, rubyhead.swg is included without being needed (at least # for the current swig 1.3.33 version). This leads to a redefinition of # _mSWIG. The documentation of SWIG only talks about including just # the external_runtime file, not any additional includes. Also, the other # bindings do not include anything from SWIG apart from the external # runtime. So I think this patch should suffice. # # -- Torsten Landschoff Index: subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c =================================================================== --- subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c (revision 28125) +++ subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c (working copy) @@ -1,4 +1,3 @@ -#include "rubyhead.swg" #include "swig_ruby_external_runtime.swg" #include "swigutil_rb.h" #include <st.h>