Cesar Romani wrote:

> It compiled fine until May 18. with ruby 1.9.1 on Win XP with MinGW.
> Now I'm getting this:
> 
> --------------------
> gobjZ/if_ruby.o:if_ruby.c:(.text+0x916): undefined reference to 
> `rb_str_new_cstr'
> gobjZ/if_ruby.o:if_ruby.c:(.text+0xaf1): undefined reference to 
> `rb_str_new_cstr'
> gobjZ/if_ruby.o:if_ruby.c:(.text+0xcd5): undefined reference to 
> `rb_str_new_cstr'
> gobjZ/if_ruby.o:if_ruby.c:(.text+0xd94): undefined reference to 
> `rb_str_new_cstr'
> gobjZ/if_ruby.o:if_ruby.c:(.text+0xf75): undefined reference to 
> `rb_str_new_cstr'
> gobjZ/if_ruby.o:if_ruby.c:(.text+0x1145): more undefined references to 
> `rb_str_new_cstr' follow
> collect2: ld returned 1 exit status
> make: *** [gvim.exe] Error 1
> --------------------
> 
> Many thanks in advance

It looks like rb_str_new2 is sometimes defined to call rb_str_new_cstr.
It then fails to pick up this function from the DLL.

I'll make a guessed solution, please try the latest Vim 7.3.

-- 
>From "know your smileys":
 :q     vi user saying, "How do I get out of this damn emacs editor?"

 /// 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.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui