Hi,
I am trying to cross compile gtk with wayland backend enabled and without X. The process stops very soon with the following messages:
gdkwindow-wayland.c:58:34: error: redefinition of typedef 'GdkWaylandWindow'
../../gdk/wayland/gdkwaylandwindow.h:32:34: note: previous declaration of 'GdkWaylandWindow' was here
gdkwindow-wayland.c:59:39: error: redefinition of typedef 'GdkWaylandWindowClass'
../../gdk/wayland/gdkwaylandwindow.h:36:39: note: previous declaration of 'GdkWaylandWindowClass' was here
After I comment out the definitions from gdkwindow-wayland.c the process continues and stops again:
CCLD libgtk-3.la
CC queryimmodules.o
CCLD gtk-query-immodules-3.0
./.libs/libgtk-3.so: undefined reference to `gdk_wayland_device_request_selection_content_libgtk_only'
./.libs/libgtk-3.so: undefined reference to `gdk_wayland_device_get_selection_type_atoms_libgtk_only'
./.libs/libgtk-3.so: undefined reference to `gdk_wayland_device_offer_selection_content_libgtk_only'
./.libs/libgtk-3.so: undefined reference to `gdk_wayland_device_clear_selection_content_libgtk_only'
collect2: ld returned 1 exit status
make[4]: *** [gtk-query-immodules-3.0] Error 1
Does anybody know how to solve this?
Thanks.