[blfs-support] Problem when building WebkitGTK with GTK+-2.34.16

901 STT 901stt at gmail.com
Wed Mar 6 17:47:21 PST 2013


Hi,

I have some problems when building WebkitGTK with GTK+-2.34.16. It appears
compiling GTKVersioning.c error that requires GdkDevice, with not exist in
GTK+2, it only exists in GTK+3. I added the line "*--with-gtk=2.0
--disable-webkit2*" in configure to make sure but still got that error. Log:

 CC     Source/WebCore/platform/gtk/libWebCoreGtk_la-GtkVersioning.lo
In file included from Source/WebCore/platform/gtk/GtkVersioning.c:27:0:
/usr/include/gtk-2.0/gdk/gdkx.h:114:0: warning: "GDK_WINDOW_XWINDOW"
redefined [enabled by default]
In file included from Source/WebCore/platform/gtk/GtkVersioning.c:21:0:
Source/WebCore/platform/gtk/GtkVersioning.h:34:0: note: this is the
location of the previous definition
Source/WebCore/platform/gtk/GtkVersioning.c: In function
‘getDefaultGDKPointerDevice’:
Source/WebCore/platform/gtk/GtkVersioning.c:60:5: error: unknown type name
‘GdkDeviceManager’
Source/WebCore/platform/gtk/GtkVersioning.c:60:5: warning: implicit
declaration of function ‘gdk_display_get_device_manager’
[-Wimplicit-function-declaration]
Source/WebCore/platform/gtk/GtkVersioning.c:60:34: warning: initialization
makes pointer from integer without a cast [enabled by default]
Source/WebCore/platform/gtk/GtkVersioning.c:61:5: warning: implicit
declaration of function ‘gdk_device_manager_get_client_pointer’
[-Wimplicit-function-declaration]
Source/WebCore/platform/gtk/GtkVersioning.c:61:5: warning: return makes
pointer from integer without a cast [enabled by default]
make[1]: ***
[Source/WebCore/platform/gtk/libWebCoreGtk_la-GtkVersioning.lo] Error 1

Thanks for your feedback,

Regards

Duc Tran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/blfs-support/attachments/20130307/45642c66/attachment.html>


More information about the blfs-support mailing list