Compiling xserver for newest wayland

darxus at chaosreigns.com darxus at chaosreigns.com
Wed Oct 24 15:45:03 PDT 2012


Last I heard, there is no branch compatible with wayland 1.0 yet, and
Daniel Stone is working on it.

GTK's upstream master was recently updated.  Qt hasn't been updated.

On 10/24, Bill Spitzak wrote:
> I get a lot of errors from xwayland.c when compiling the xserver. It
> appears to not be updated to the new wayland 1.0 api. I suspect the
> reason is that I am using the origin/xwayland-1.12 branch. What
> branch should be used? The master?
> 
> In case the branch is not the problem, here are the errors I am getting:
> 
> In file included from xwayland.c:48:0:
> xserver-client-protocol.h: In function 'xserver_add_listener':
> xserver-client-protocol.h:41:10: warning: cast discards
> '__attribute__((const))' qualifier from pointer target type
> [-Wcast-qual]
> xwayland.c: In function 'xwl_input_delayed_init':
> xwayland.c:87:5: warning: implicit declaration of function
> 'wl_display_get_global' [-Wimplicit-function-declaration]
> xwayland.c:87:5: warning: nested extern declaration of
> 'wl_display_get_global' [-Wnested-externs]
> xwayland.c:89:9: warning: implicit declaration of function
> 'wl_display_bind' [-Wimplicit-function-declaration]
> xwayland.c:89:9: warning: nested extern declaration of
> 'wl_display_bind' [-Wnested-externs]
> xwayland.c:89:33: warning: assignment makes pointer from integer
> without a cast [enabled by default]
> xwayland.c: In function 'global_handler':
> xwayland.c:110:25: warning: assignment makes pointer from integer
> without a cast [enabled by default]
> xwayland.c:114:25: warning: assignment makes pointer from integer
> without a cast [enabled by default]
> xwayland.c: In function 'wakeup_handler':
> xwayland.c:135:2: warning: implicit declaration of function
> 'wl_display_iterate' [-Wimplicit-function-declaration]
> xwayland.c:135:2: warning: nested extern declaration of
> 'wl_display_iterate' [-Wnested-externs]
> xwayland.c:135:42: error: 'WL_DISPLAY_READABLE' undeclared (first
> use in this function)
> xwayland.c:135:42: note: each undeclared identifier is reported only
> once for each function it appears in
> xwayland.c: In function 'block_handler':
> xwayland.c:146:31: error: 'WL_DISPLAY_WRITABLE' undeclared (first
> use in this function)
> xwayland.c: In function 'xwl_screen_pre_init':
> xwayland.c:234:5: warning: format '%d' expects argument of type
> 'int', but argument 2 has type 'Atom' [-Wformat]
> xwayland.c:252:6: warning: implicit declaration of function
> 'wl_display_add_global_listener' [-Wimplicit-function-declaration]
> xwayland.c:252:6: warning: nested extern declaration of
> 'wl_display_add_global_listener' [-Wnested-externs]
> xwayland.c:251:33: warning: assignment makes pointer from integer
> without a cast [enabled by default]
> xwayland.c:258:2: error: too many arguments to function 'wl_display_get_fd'
> /home/spitzak/install/include/wayland-client.h:144:5: note: declared here
> xwayland.c: In function 'xwl_screen_close':
> xwayland.c:297:2: warning: implicit declaration of function
> 'wl_display_remove_global_listener'
> [-Wimplicit-function-declaration]
> xwayland.c:297:2: warning: nested extern declaration of
> 'wl_display_remove_global_listener' [-Wnested-externs]
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
> 

-- 
"The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself.  Therefore all progress
depends on the unreasonable man." - George Bernard Shaw
http://www.ChaosReigns.com


More information about the wayland-devel mailing list