[patch] fixed build error with -with-features=tiny --enable-workshop

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[patch] fixed build error with -with-features=tiny --enable-workshop

Dominique Pellé
Hi

I wrote a script to try building various configuration of Vim and
it found that this configuration does not build successfully:

$ ./configure --with-features=tiny --enable-gui=motif --enable-workshop
...
$ make
...
objects/fileio.o: In function `read_string_decrypt':
/home/pel/sb/vim/src/fileio.c:3062: undefined reference to `read_string'

objects/workshop.o: In function `load_window':
/home/pel/sb/vim/src/workshop.c:1310: undefined reference to `win_enter'

Attached patch fixes it.

-- Dominique

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

fixed-build-tiny.7.3a.patch (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [patch] fixed build error with -with-features=tiny --enable-workshop

Bram Moolenaar

Dominique Pelle wrote:

> I wrote a script to try building various configuration of Vim and
> it found that this configuration does not build successfully:
>
> $ ./configure --with-features=tiny --enable-gui=motif --enable-workshop
> ...
> $ make
> ...
> objects/fileio.o: In function `read_string_decrypt':
> /home/pel/sb/vim/src/fileio.c:3062: undefined reference to `read_string'
>
> objects/workshop.o: In function `load_window':
> /home/pel/sb/vim/src/workshop.c:1310: undefined reference to `win_enter'
>
> Attached patch fixes it.

Thanks.  I'll include the second part.  I had already moved the
read_string() function elsewhere.  Still working on encrypting the swap
file, don't want to push half-finished code.

--
hundred-and-one symptoms of being an internet addict:
218. Your spouse hands you a gift wrapped magnet with your PC's name
     on it and you accuse him or her of genocide.

 /// Bram Moolenaar -- [hidden email] -- 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.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
Reply | Threaded
Open this post in threaded view
|

Re: [patch] fixed build error with -with-features=tiny --enable-workshop

Nazri Ramliy
In reply to this post by Dominique Pellé
2010/6/20 Dominique Pellé <[hidden email]>:
> Hi
>
> I wrote a script to try building various configuration of Vim and
> it found that this configuration does not build successfully:

Wouldn't it be useful if the script is included in vim source code?

Even more useful if it is included as part of the test suite.

nazri.

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