Skip to content

gvim with gtk4 won't build #20488

@chdiza

Description

@chdiza

Steps to reproduce

Vim 9.2.0620.

./configure --enable-gui=gtk4 --without-wayland  --with-x
  --x-includes=/usr/include/x86_64-linux-gnu
  --x-libraries=/lib/x86_64-linux-gnu

make -j14

Observe the make process proceed, until this happens:

/usr/bin/ld: objects/gui_gtk4.o: in function `clip_read_cb':
/opt/bld/vim/src/gui_gtk4.c:3600:(.text+0xcac): undefined reference to `clip_convert_data'
collect2: error: ld returned 1 exit status
link.sh: Linking failed
make[1]: *** [Makefile:2113: vim] Error 1
make[1]: Leaving directory '/opt/bld/vim/src'
make: *** [Makefile:29: first] Error 2

Expected behaviour

Vim should build with gtk-4 support. It had been doing this correctly over the last couple of weeks once gtk4 support landed. It even worked a few days ago, but not today.

Version of Vim

9.2.0620

Environment

Linux Mint 22
Kitty 0.47.2
bash 5.2.21

Logs and stack traces

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions