On 14/01/2015 08:04 a.m., Bram Moolenaar wrote:
>
> Patch 7.4.570
> Problem:    Building with dynamic library does not work for Ruby 2.2.0
> Solution:   Change #ifdefs and #defines. (Ken Takata)
> Files:         src/if_ruby.c
>
>
> *** ../vim-7.4.569/src/if_ruby.c   2014-11-27 17:44:05.376820913 +0100
> --- src/if_ruby.c  2015-01-14 14:02:59.680115042 +0100
> [...]

I get:

--------------------
[...]
gobjZi386/if_ruby.o:if_ruby.c:(.text+0xb6c): undefined reference to `rb_gc_writebarrier_unprotect_promoted' gobjZi386/if_ruby.o:if_ruby.c:(.text+0xb7c): undefined reference to `rb_gc_writebarrier_unprotect_promoted' gobjZi386/if_ruby.o:if_ruby.c:(.text+0xba8): undefined reference to `rb_gc_writebarrier_unprotect_promoted' gobjZi386/if_ruby.o:if_ruby.c:(.text+0xbb8): undefined reference to `rb_gc_writebarrier_unprotect_promoted' gobjZi386/if_ruby.o:if_ruby.c:(.text+0xbc8): undefined reference to `rb_gc_writebarrier_unprotect_promoted' gobjZi386/if_ruby.o:if_ruby.c:(.text+0xbd8): more undefined references to `rb_gc_writebarrier_unprotect_promoted' follow)

collect2: ld returned 1 exit status
make: *** [gvim.exe] Error 1
--------------------

I'm building on Windows 7 with MinGW and ruby 2.1.5

Many thanks in advance,

--
Cesar

--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui