Ruby_1_8_5 undefined reference to `_RSTRING_PTR'

e$B=uED$G$9!#e(B

cygwine$B$N4D6-$Ge(Bruby_1_8_5e$B$r%3%s%Q%$%k$7$h$&$H$7$?$ie(B
_RSTRING_PTRe$B$,8+$D$+$i$J$/$F%j%s%/$,<:GT$7$^$7$?!#e(B
revision 13307e$B$G$9!#e(B

libruby-static.a(ruby.o): In function rubylib_mangled_path': /home/suke/work/ruby/bin-cygwin_1_8_5/../../../../svn/ruby/branches/ ruby_1_8_5/ruby.c:165: undefined reference to_RSTRING_PTR’
libruby-static.a(ruby.o): In function ruby_incpush': /home/suke/work/ruby/bin-cygwin_1_8_5/../../../../svn/ruby/branches/ ruby_1_8_5/ruby.c:221: undefined reference to_RSTRING_PTR’
/home/suke/work/ruby/bin-cygwin_1_8_5/…/…/…/…/svn/ruby/branches/
ruby_1_8_5/ruby.c:225: undefined reference to `_RSTRING_PTR’
collect2: ld returned 1 exit status
make: *** [miniruby.exe] Error 1

ruby_1_8_6e$B$r;29M$K$7$F<!$N$h$&$K$7$?$i%j%s%/$G$-$^$7$?!#e(B

Index: ruby.h

— ruby.h (revision 13307)
+++ ruby.h (working copy)
@@ -340,6 +340,7 @@
VALUE shared;
} aux;
};
+#define RSTRING_PTR(s) (RSTRING(s)->ptr)

struct RArray {
struct RBasic basic;

e$B=uEDe(B e$B2m5*e(B

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs