Steve Hall wrote:

> From: Bram Moolenaar, Thu, February 18, 2010 9:53 am
> > 
> > Patch 7.2.368 (after 7.2.361)
> > Problem: Ruby interface: Appending line doesn't work. (Michael Henry)
> > Solution: Reverse check for NULL line. (James Vega)
> > Files: src/if_ruby.c
> 
> Build fails for me on WinXP-32 via Cygwin:
> 
>  Warning: .drectve `-defaultlib:MSVCRT ' unrecognized
>  Warning: .drectve `-defaultlib:OLDNAMES ' unrecognized
>  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+0xb33): undefined reference to
> `_rb_string_value_ptr'
>  gobj/if_ruby.o:if_ruby.c:(.text+0xe30): undefined reference to
> `_rb_string_value_ptr'
>  gobj/if_ruby.o:if_ruby.c:(.text+0x104f): more undefined references to
> `_rb_string_value_ptr' follow
>  collect2: ld returned 1 exit status
>  make: *** [gvim.exe] Error 1

Strange, patches 7.2.361 and 7.2.368 don't include "string_value".

This did get added:

+ #ifndef StringValuePtr
+ # define StringValuePtr(s) STR2CSTR(s)
+ #endif

Does that give a hint?

-- 
Emacs is a nice OS - but it lacks a good text editor.
That's why I am using Vim.  --Anonymous

 /// 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