gdkdisplay-wayland.c: In function ‘gdk_display_handle_global’: gdkdisplay-wayland.c:149:5: error: too few arguments to function ‘wl_compositor_create’ /opt/wayland/include/wayland-client-protocol.h:166:1: note: declared here gdkdisplay-wayland.c:151:5: error: too few arguments to function ‘wl_shm_create’ /opt/wayland/include/wayland-client-protocol.h:220:1: note: declared here gdkdisplay-wayland.c:153:5: error: too few arguments to function ‘wl_shell_create’ /opt/wayland/include/wayland-client-protocol.h:341:1: note: declared here gdkdisplay-wayland.c:157:5: error: too few arguments to function ‘wl_output_create’ /opt/wayland/include/wayland-client-protocol.h:848:1: note: declared here gdkdisplay-wayland.c:161:5: error: too few arguments to function ‘wl_input_device_create’ /opt/wayland/include/wayland-client-protocol.h:797:1: note: declared here gdkdisplay-wayland.c: In function ‘gdk_display_init_egl’: gdkdisplay-wayland.c:182:5: warning: passing argument 1 of ‘eglGetDisplay’ from incompatible pointer type /opt/wayland/include/EGL/egl.h:251:31: note: expected ‘EGLNativeDisplayType’ but argument is of type ‘struct wl_egl_display *’ gdkdisplay-wayland.c: In function ‘_gdk_wayland_display_open’: gdkdisplay-wayland.c:239:3: warning: implicit declaration of function ‘wl_egl_display_create’ gdkdisplay-wayland.c:239:35: warning: assignment makes pointer from integer without a cast gdkdisplay-wayland.c: In function ‘gdk_wayland_display_dispose’: gdkdisplay-wayland.c:285:3: warning: implicit declaration of function ‘wl_egl_display_destroy’ make[4]: *** [gdkdisplay-wayland.lo] Error 1