Hi,

I'm using instructions from http://wayland.freedesktop.org/clutter.html to 
build clutter for wayland. Using darxus's wayland build script modified to 
include the clutter build instructions. 

When building clutter (glib, atk and cogl all worked fine) I get the following 
errors.

  CC     clutter-xkb-utils.lo
In file included from ./evdev/clutter-xkb-utils.c:27:0:
./evdev/clutter-xkb-utils.h:40:54: warning: 'struct xkb_desc' declared inside 
parameter list [enabled by default]
./evdev/clutter-xkb-utils.h:40:54: warning: its scope is only this definition 
or declaration, which is probably not what you want [enabled by default]
./evdev/clutter-xkb-utils.c:98:1: error: conflicting types for 
'_clutter_key_event_new_from_evdev'
In file included from ./evdev/clutter-xkb-utils.c:27:0:
./evdev/clutter-xkb-utils.h:34:19: note: previous declaration of 
'_clutter_key_event_new_from_evdev' was here
./evdev/clutter-xkb-utils.c: In function '_clutter_key_event_new_from_evdev':
./evdev/clutter-xkb-utils.c:116:19: error: dereferencing pointer to incomplete 
type
./evdev/clutter-xkb-utils.c:120:7: warning: implicit declaration of function 
'XkbKeyGroupWidth' [-Wimplicit-function-declaration]
./evdev/clutter-xkb-utils.c:123:3: warning: implicit declaration of function 
'XkbKeySymEntry' [-Wimplicit-function-declaration]
./evdev/clutter-xkb-utils.c:125:27: error: dereferencing pointer to incomplete 
type
./evdev/clutter-xkb-utils.c:127:28: error: dereferencing pointer to incomplete 
type
./evdev/clutter-xkb-utils.c: In function '_clutter_xkb_desc_new':
./evdev/clutter-xkb-utils.c:179:3: warning: implicit declaration of function 
'xkb_compile_keymap_from_rules' [-Wimplicit-function-declaration]
./evdev/clutter-xkb-utils.c:179:3: warning: return makes pointer from integer 
without a cast [enabled by default]
make[2]: *** [clutter-xkb-utils.lo] Error 1
make[2]: Leaving directory `/home/karl/source/clutter/clutter'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/karl/source/clutter/clutter'
make: *** [all-recursive] Error 1

I've checked the declarations for '_clutter_key_event_new_from_evdev' and they 
are identical, the Darxus script pulls libxkbcommon from git before starting 
the build. 

Has anyone seen an issue like this? 

BR, 
 K
_______________________________________________
clutter-app-devel-list mailing list
clutter-app-devel-list@clutter-project.org
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to