Bug 111861

Summary: WebKitWebViewBase.cpp:132:12: error: 'RedirectedXCompositeWindow' was not declared in this scope
Product: WebKit Reporter: Tobias Mueller <tobiasmue>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: berto, mario, mrobinson, pnormand, svillar
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Tobias Mueller 2013-03-08 08:44:06 PST
I tried to build webkitgtk and it failed: 

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -fno-strict-aliasing -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DBUILDING_CAIRO__ -DBUILDING_GTK__ -DBUILDING_WEBKIT2__ -include ./Source/WebKit2/WebKit2Prefix.h -I./Source/WebKit/gtk -I./Source/WebKit2 -I./Source/WebKit2/gtk -I./Source/WebKit2/Platform -I./Source/WebKit2/Platform/CoreIPC -I./Source/WebKit2/Platform/CoreIPC/gtk -I./Source/WebKit2/Platform/gtk -I./Source/WebKit2/PluginProcess -I./Source/WebKit2/Shared -I./Source/WebKit2/Shared/API -I./Source/WebKit2/Shared/API/c -I./Source/WebKit2/Shared/API/c/gtk -I./Source/WebKit2/Shared/API/c/soup -I./Source/WebKit2/Shared/Authentication -I./Source/WebKit2/Shared/CoreIPCSupport -I./Source/WebKit2/Shared/Downloads -I./Source/WebKit2/Shared/Downloads/soup -I./Source/WebKit2/Shared/gtk -I./Source/WebKit2/Shared/Network -I./Source/WebKit2/Shared/Plugins -I./Source/WebKit2/Shared/Plugins/Netscape -I./Source/WebKit2/Shared/Plugins/Netscape/x11 -I./Source/WebKit2/Shared/soup -I./Source/WebKit2/UIProcess -I./Source/WebKit2/UIProcess/API -I./Source/WebKit2/UIProcess/API/C -I./Source/WebKit2/UIProcess/API/C/gtk -I./Source/WebKit2/UIProcess/API/C/soup -I./Source/WebKit2/UIProcess/API/cpp -I./Source/WebKit2/UIProcess/API/gtk -I./Source/WebKit2/UIProcess/Authentication -I./Source/WebKit2/UIProcess/Downloads -I./Source/WebKit2/UIProcess/gtk -I./Source/WebKit2/UIProcess/Launcher -I./Source/WebKit2/UIProcess/Launcher/gtk -I./Source/WebKit2/UIProcess/Notifications -I./Source/WebKit2/UIProcess/Plugins -I./Source/WebKit2/UIProcess/Plugins/unix -I./Source/WebKit2/UIProcess/Storage -I./Source/WebKit2/UIProcess/soup -I./Source/WebKit2/UIProcess/InspectorServer -I./Source/WebKit2/WebProcess -I./Source/WebKit2/WebProcess/ApplicationCache -I./Source/WebKit2/WebProcess/Battery -I./Source/WebKit2/WebProcess/Cookies -I./Source/WebKit2/WebProcess/FullScreen -I./Source/WebKit2/WebProcess/Geolocation -I./Source/WebKit2/WebProcess/gtk -I./Source/WebKit2/WebProcess/IconDatabase -I./Source/WebKit2/WebProcess/InjectedBundle -I./Source/WebKit2/WebProcess/InjectedBundle/API -I./Source/WebKit2/WebProcess/InjectedBundle/API/c -I./Source/WebKit2/WebProcess/InjectedBundle/API/gtk -I./Source/WebKit2/WebProcess/InjectedBundle/DOM -I./Source/WebKit2/WebProcess/InjectedBundle/gtk -I./Source/WebKit2/WebProcess/KeyValueStorage -I./Source/WebKit2/WebProcess/Launching -I./Source/WebKit2/WebProcess/MediaCache -I./Source/WebKit2/WebProcess/NetworkInfo -I./Source/WebKit2/WebProcess/Notifications -I./Source/WebKit2/WebProcess/ResourceCache -I./Source/WebKit2/WebProcess/Storage -I./Source/WebKit2/WebProcess/soup -I./Source/WebKit2/WebProcess/Plugins -I./Source/WebKit2/WebProcess/Plugins/Netscape -I./Source/WebKit2/WebProcess/Plugins/Netscape/unix -I./Source/WebKit2/WebProcess/WebCoreSupport -I./Source/WebKit2/WebProcess/WebCoreSupport/gtk -I./Source/WebKit2/WebProcess/WebCoreSupport/soup -I./Source/WebKit2/WebProcess/WebPage -I./Source/WebKit2/WebProcess/WebPage/atk -I./Source/WebKit2/WebProcess/WebPage/gtk -I./DerivedSources/WebKit2 -I./DerivedSources/WebKit2/include -I./DerivedSources/WebKit2/webkit2gtk -I./DerivedSources/WebKit2/webkit2gtk/include -I./DerivedSources/WebKit2/webkit2gtk/webkit2 -I./DerivedSources/WebKit2/webkit2extension/include -I./DerivedSources/WebKit2/include/JavaScriptCore -I./DerivedSources/WebKit2/include/WebCore -I./DerivedSources/WebKit2/include/WebKit2 -I./DerivedSources/webkitdom -DLIBEXECDIR=\"/opt/gnome2/libexec\" -DLIBDIR=\"/opt/gnome2/lib64\" -DBUILDING_WEBKIT -DWEBKIT2_COMPILATION -DENABLE_PLUGIN_PROCESS=1 -I./Source/ThirdParty/ANGLE/src -I./Source/ThirdParty/ANGLE/include -I./Source/ThirdParty/ANGLE/include/GLSLANG -I./Source/ThirdParty/ANGLE/include/KHR -I./Source/WebCore -I./Source/WebCore/Modules/filesystem -I./Source/WebCore/Modules/gamepad -I./Source/WebCore/Modules/geolocation -I./Source/WebCore/Modules/indexeddb -I./Source/WebCore/Modules/mediasource -I./Source/We
Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp:132:12: error: 'RedirectedXCompositeWindow' was not declared in this scope
Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp:132:38: error: template argument 1 is invalid
Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp: In constructor '_WebKitWebViewBasePrivate::_WebKitWebViewBasePrivate()':
Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp:85:28: error: 'RedirectedXCompositeWindow' has not been declared
Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp:85:78: error: 'RedirectedXCompositeWindow' has not been declared
Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp: In function 'void webkitWebViewBaseConstructed(GObject*)':
Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp:385:31: error: base operand of '->' is not a pointer
Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp: In function 'bool webkitWebViewRenderAcceleratedCompositingResults(WebKitWebViewBase*, WebKit::DrawingAreaProxyImpl*, cairo_t*, GdkRectangle*)':
Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp:404:54: error: base operand of '->' is not a pointer
Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp: In function 'void resizeWebKitWebViewBaseFromAllocation(WebKitWebViewBase*, GtkAllocation*, bool)':
Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp:489:44: error: base operand of '->' is not a pointer
Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp: In function 'void webkitWebViewBaseCreateWebPage(WebKitWebViewBase*, WebKit::WebContext*, WebKit::WebPageGroup*)':
Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp:894:82: error: base operand of '->' is not a pointer
make[1]: *** [Source/WebKit2/UIProcess/API/gtk/libwebkit2gtk_3_0_la-WebKitWebViewBase.lo] Error 1
make[1]: Leaving directory `/home/muelli/svn/gnome2/webkitgtk-1.11.91'
make: *** [all] Error 2

[jhbuild] muelli@bigbox ~/svn/gnome2/webkitgtk-1.11.91 $ grep GLX autotoolsconfig.h #define HAVE_GL_GLX_H 1
/* #undef WTF_USE_GLX */
[jhbuild] muelli@bigbox ~/svn/gnome2/webkitgtk-1.11.91 $ head config.log 
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by WebKitGTK configure 1.11.91, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --prefix /opt/gnome2 --libdir /opt/gnome2/lib64 --enable-introspection --disable-silent-rules --with-gstreamer=1.0 --disable-static --disable-scrollkeeper --disable-gtk-doc --disable-docs --enable-gtk-doc=no --enable-gtk-doc-html=no --enable-gtk-doc-pdf=no --disable-webkit1 --disable-spellcheck --disable-glx --disable-egl --disable-gles2 --disable-gamepad --disable-video --disable-mediastream --disable-xslt --disable-geolocation --disable-svg --disable-svg-fonts --disable-web-audio --disable-coverage --disable-webgl --disable-gtk-doc-html

## --------- ##
## Platform. ##



[17:17:53] <philn> muelli: that code should be guarded with #if ENABLE(WEBGL) i suppose, can you file a bug?
Comment 1 Alberto Garcia 2013-07-02 07:26:18 PDT
I think this is already fixed:

http://trac.webkit.org/changeset/146196
Comment 2 Mario Sanchez Prada 2013-07-02 08:30:53 PDT
(In reply to comment #1)
> I think this is already fixed:
> 
> http://trac.webkit.org/changeset/146196

Looks like it.
Comment 3 Sergio Villar Senin 2013-07-03 10:40:59 PDT

*** This bug has been marked as a duplicate of bug 112600 ***