On 16/07/08 22:11, 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? > > 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)? > > -- Dominique
I notice that all these errors are in source module if_perl.xs, for lack of the +windows feature, which normally requires at least a "small" build. Maybe adding #ifdef FEAT_WINDOWS where appropriate would be enough? Best regards, Tony. -- A recent study has found that concentrating on difficult off-screen objects, such as the faces of loved ones, causes eye strain in computer scientists. Researchers into the phenomenon cite the added concentration needed to "make sense" of such unnatural three dimensional objects ... --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
