Dan Sharp wrote:
 > Cesar Romani wrote:
 >> Dan Sharp wrote:
 >>  > Cesar Romani wrote:
 >>  >> I'm using the Ming compiler on Win XP Pro.
 >>  >> Compiling vim 7.2 with perl 5.8 works,
 >>  >> but when I try to compile vim 7.2 with perl 5.10 it fails:
 >>  >>
 >>
 >> Thanks a lot for your answer. I changed the order as you indicated but
 >> I'm getting the following error:
 >>
 >> ---------
 >> ...
 >> gobj/if_perl.o:if_perl.c:(.text+0x8ff): undefined reference to
 >> `Perl_sv_free2'
 >> gobj/if_perl.o:if_perl.c:(.text+0x1106): undefined reference to
 >> `Perl_sv_free2'
 >> collect2: ld returned 1 exit status
 >> make: *** [gvim.exe] Error 1
 >> ---------
 >>
 >> With Perl 5.8 I don't get any errors and the compiling is flawless.
 >> Many thanks in advance,
 >> Cesar
 >>   
 > I was able to reproduce your problem using ActiveState ActivePerl 5.10.
 > The attached patch adds Perl_sv_free2 to if_perl.xs and fixes the
 > problem for me.  See if it works for you.
 >
 > Dan

Thanks a lot, it also works for me. Apparently on Linux works without
the patch as Tony pointed out. Moreover I had the #if statements for
Perl 5.10 at lines 270, 457 and 485.

Best regards,
Cesar


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

Raspunde prin e-mail lui