Dominique Pelle wrote:

> On Mon, Jul 14, 2008 at 9:48 PM, Bram Moolenaar wrote:
> 
> > Kana Natsuno wrote:
> >
> >> I noticed that Vim 7.2b.001 still cannot be compiled with with multi-byte
> >> feature but without GUI or clipboard, because check_col() and check_row() 
> >> are
> >> missing.  The following is a patch to fix this problem:
> >
> > Darn, I thought my test covered most combinations of features.
> > Apparently building with +multi_byte but without +rightleft was missing.
> > I'll add it to my regular tests.
> >
> > Thanks for the patch.  But to avoid including the functions when not
> > needed FEAT_MBYTE should be added to the list, instead of deleting the
> > #if completely.
> 
> 
> Are all combinations of configure options supposed to build?

No.

> After trying some combinations, I see that Vim-7.2.b4 BETA fails
> to build with...
> 
> $ ./configure --with-features=tiny --enable-perlinterp
> $ make
> ...
> objects/if_perl.o: In function `XS_VIM_Windows':
> /home/pel/sb/vim7/src/if_perl.xs:1002: undefined reference to `win_count'
> /home/pel/sb/vim7/src/if_perl.xs:1014: undefined reference to `win_find_nr'
> objects/if_perl.o: In function `XS_VIWIN_DESTROY':
> /home/pel/sb/vim7/src/if_perl.xs:1027: undefined reference to `win_valid'
> objects/if_perl.o: In function `XS_VIWIN_Buffer':
> /home/pel/sb/vim7/src/if_perl.xs:1035: undefined reference to `win_valid'
> objects/if_perl.o: In function `XS_VIWIN_SetHeight':
> /home/pel/sb/vim7/src/if_perl.xs:1050: undefined reference to `win_valid'
> objects/if_perl.o: In function `XS_VIWIN_Cursor':
> /home/pel/sb/vim7/src/if_perl.xs:1065: undefined reference to `win_valid'
> /home/pel/sb/vim7/src/if_perl.xs:1074: undefined reference to `win_valid'
> collect2: ld returned 1 exit status
> 
> Is it worth fixing? Does anybody care about building Vim with such odd
> combination of features (tiny + perl)?

I think problems like this should be handled in the configure script
with an error, or by fixing the source code.  Whatever is simple.
In this case it's easy to add the missing functions to if_perl.xs.

-- 
hundred-and-one symptoms of being an internet addict:
269. You receive an e-mail from the wife of a deceased president, offering
     to send you twenty million dollar, and you are not even surprised.

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