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.

Thanks, I'll include the patch.

-- 
How To Keep A Healthy Level Of Insanity:
1. At lunch time, sit in your parked car with sunglasses on and point
   a hair dryer at passing cars. See if they slow down.

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