Steve Hall wrote:

> From: Bram Moolenaar, Wed, February 24, 2010 9:48 am
> > 
> > Patch 7.2.374
> > Problem:  Ruby eval() doesn't understand Vim types.
> > Solution: Add the vim_to_ruby() function.  (George Gensure)
> > Files:      src/eval.c, src/if_ruby.c
> 
> I'm still seeing build errors with Windows/Cygwin related to Ruby,
> hope this helps:
> 
> gobj/if_ruby.o:if_ruby.c:(.text+0x9b5): undefined reference to
> `_rb_string_value_ptr'
> gobj/if_ruby.o:if_ruby.c:(.text+0xae3): undefined reference to
> `_rb_string_value_ptr'
> gobj/if_ruby.o:if_ruby.c:(.text+0xb0d): undefined reference to
> `_rb_string_value_ptr'
> gobj/if_ruby.o:if_ruby.c:(.text+0xbee): undefined reference to
> `_rb_float_new'
> gobj/if_ruby.o:if_ruby.c:(.text+0xbfd): undefined reference to
> `_rb_ary_new'
> gobj/if_ruby.o:if_ruby.c:(.text+0xc1c): undefined reference to
> `_rb_ary_push'
> gobj/if_ruby.o:if_ruby.c:(.text+0xc3d): undefined reference to
> `_rb_string_value_ptr'
> gobj/if_ruby.o:if_ruby.c:(.text+0xf38): undefined reference to
> `_rb_string_value_ptr'
> gobj/if_ruby.o:if_ruby.c:(.text+0x1157): undefined reference to
> `_rb_string_value_ptr'
> collect2: ld returned 1 exit status
> make: *** [gvim.exe] Error 1

Sorry, I still have no clue how to fix this without reverting that whole
patch.  It builds fine on Linux, must be something MS-Windows or Cygwin
related.  Did you try a MingW build?

-- 
The software said it requires Windows 95 or better, so I installed Linux.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui