Dominique Pellé wrote: > I tried to build vim-8.0.747 on xubuntu-16.04 x86_64 > but it failed to link and also gave a warning: > > $ CC=clang-4.0 ./configure --with-features=huge --enable-gui=none > $ make -j8 > ...snip... > clang-4.0 -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -U_FORTIFY_SOURCE > -D_FORTIFY_SOURCE=1 -o objects/pathdef.o auto/pathdef.c > os_unix.c:4107:22: warning: implicit declaration of function 'OpenPTY' > is invalid in C99 [-Wimplicit-function-declaration] > *pty_master_fd = OpenPTY(&tty_name); /* open pty */ > ^ > ...snip... > objects/os_unix.o: In function `open_pty': > /home/pel/sb/vim/vim/src/os_unix.c:4107: undefined reference to `OpenPTY' > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > link.sh: Linking failed
It builds fine if I configure with --enable-gui=gtk3 instead of --enable-gui=none. So there is a workaround, but still, I would expect to be able to build vim without the GUI. Regards 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 --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
