On Sun, Sep 29, 2019 at 7:03 PM Bram Moolenaar <
Br...@moolenaar.net> wrote:
> Patch 8.1.2101
> Problem: write_session_file() often defined but not used.
> Solution: Adjust the #ifdef. (Yegappan Lakshmanan, closes #4998)
> Files: src/session.c
Link error in Huge build (only):
gui_gtk_x11.c:(.text+0x1062): undefined reference to `write_session_file'
collect2: error: ld returned 1 exit status
link.sh: Linking failed
make: *** [Makefile:2081: vim-huge] Error 1
FWIW, here are my "Huge" config arguments:
export CONF_OPT_GUI='--enable-gui=gnome2'
export CONF_OPT_PERL='--enable-perlinterp'
export CONF_OPT_PYTHON='--enable-pythoninterp'
export CONF_OPT_PYTHON3='--disable-python3interp'
export CONF_OPT_TCL='--enable-tclinterp'
# /usr/bin/tclsh (softlink) is correctly set
export CONF_OPT_RUBY='--enable-rubyinterp'
export CONF_OPT_LUA='--enable-luainterp'
export CONF_OPT_MZSCHEME='--disable-mzschemeinterp'
#export CONF_OPT_PLTHOME='--with-plthome=/usr/local/plt'
export CONF_OPT_CSCOPE='--enable-cscope'
export CONF_OPT_MULTIBYTE='--enable-multibyte'
export CONF_OPT_TERMINAL='--enable-terminal'
export CONF_OPT_AUTOSERVE='--enable-autoservername'
export CONF_OPT_FEAT='--with-features=huge'
export CONF_ARGS2='--with-vim-name=vim-huge'
export CONF_OPT_COMPBY='"--with-compiledby=
antoine.m...@gmail.com"'
Best regards,
Tony.