[gnome-love] Undeclared identifiers when compilling gtk3



Hi,
I'm using jhbuild to build gnome-shell. I've got errors about undeclared identifiers while compilling gtk3. This happened after I've installed libxi-dev from the ubuntu repositories in order to get a missing file (Xinput.h) make needed to complete compilation.

make[4]: se ingresa al directorio «/home/adrian/codigo/gnome-shell/source/gtk3/gdk/x11»
  CC     gdkwindow-x11.lo
gdkwindow-x11.c: In function '_gdk_x11_moveresize_handle_event':
gdkwindow-x11.c:4365:9: error: unknown type name 'XIEvent'
gdkwindow-x11.c:4365:24: error: 'XIEvent' undeclared (first use in this function)
gdkwindow-x11.c:4365:24: note: each undeclared identifier is reported only once for each function it appears in
gdkwindow-x11.c:4365:33: error: expected _expression_ before ')' token
gdkwindow-x11.c:4366:9: error: unknown type name 'XIDeviceEvent'
gdkwindow-x11.c:4366:31: error: 'XIDeviceEvent' undeclared (first use in this function)
gdkwindow-x11.c:4366:46: error: expected _expression_ before ')' token
gdkwindow-x11.c:4368:19: error: request for member 'evtype' in something not a structure or union
gdkwindow-x11.c:4370:16: error: 'XI_Motion' undeclared (first use in this function)
gdkwindow-x11.c:4371:39: error: request for member 'root_x' in something not a structure or union
gdkwindow-x11.c:4371:52: error: request for member 'root_y' in something not a structure or union
gdkwindow-x11.c:4372:13: warning: implicit declaration of function '_gdk_x11_device_xi2_translate_state' [-Wimplicit-function-declaration]
gdkwindow-x11.c:4372:62: error: request for member 'mods' in something not a structure or union
gdkwindow-x11.c:4372:74: error: request for member 'buttons' in something not a structure or union
gdkwindow-x11.c:4372:89: error: request for member 'group' in something not a structure or union
gdkwindow-x11.c:4377:16: error: 'XI_ButtonRelease' undeclared (first use in this function)
gdkwindow-x11.c:4378:39: error: request for member 'root_x' in something not a structure or union
gdkwindow-x11.c:4378:52: error: request for member 'root_y' in something not a structure or union
gdkwindow-x11.c:4379:20: error: request for member 'detail' in something not a structure or union
make[4]: *** [gdkwindow-x11.lo] Error 1
make[4]: se sale del directorio «/home/adrian/codigo/gnome-shell/source/gtk3/gdk/x11»
make[3]: *** [all-recursive] Error 1
make[3]: se sale del directorio «/home/adrian/codigo/gnome-shell/source/gtk3/gdk»
make[2]: *** [all] Error 2
make[2]: se sale del directorio «/home/adrian/codigo/gnome-shell/source/gtk3/gdk»
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio «/home/adrian/codigo/gnome-shell/source/gtk3»
make: *** [all] Error 2
*** Error durante la fase build de gtk3: ########## Error de ejecución make   ***

 Compilling on Ubuntu 11.10.
 

Here is the output of dpkg for package versions:

$dpkg --list | grep libxi
ii  libxi-dev                              2:1.4.3-3ubuntu1                           
ii  libxi6                                 2:1.4.3-3ubuntu1

$dpkg --list | grep gdk
ii  gir1.2-gdkpixbuf-2.0                   2.24.0-1ubuntu1                                 GDK Pixbuf library - GObject-Introspection
ii  libgdk-pixbuf2.0-0                     2.24.0-1ubuntu1                                 GDK Pixbuf library
ii  libgdk-pixbuf2.0-0:i386                2.24.0-1ubuntu1

What have I done wrong?

Thanks.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]