On 22/05/2010 02:57 p.m., Bram Moolenaar wrote:
>
> 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.

With the latest vim 7.3 I get the following:
--------------------
netbeans.c: In function `netbeans_connect':
netbeans.c:369: error: invalid lvalue in assignment
make: *** [gobjZ/netbeans.o] Error 1
--------------------

Best regards,

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

Raspunde prin e-mail lui