[webkit-gtk] Problem building webkitgtk 2.4.5

David Ronis David.Ronis at McGill.CA
Tue Apr 21 14:07:31 PDT 2015


I'm trying to build gnome-3.16.1 on a laptop running Slackware Linux; I
have already built and installed 2.8.1 (relatively painlessly it turns 
out).  Unfortunately, the gnome folks haven't updated many things to 
use this API (e.g., yelp or evolution) and I have to build/install an 
earlier version of webkitgtk.

I'm currently trying to build 2.4.5. The build fails because 
apparently GMutexLocker is ambiguous (the log follows below).

Thanks in advance


David
  CXX      
Source/WebCore/platform/graphics/gstreamer/libPlatformGtk_la-
VideoSinkGStreamer.lo
Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp: In 
function ‘gboolean webkitVideoSinkTimeoutCallback(gpointer)’:
Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp:121:5: 
error: reference to 
‘GMutexLocker’ is ambiguous
     GMutexLocker lock(priv->bufferMutex);
     ^
In file included from /opt/garnome-3.16/include/glib-
2.0/glib/gasyncqueue.h:32:0,
                 from /opt/garnome-3.16/include/glib-2.0/glib.h:32,
                 from /opt/garnome-3.16/include/glib-
2.0/gobject/gbinding.h:28,
                 from /opt/garnome-3.16/include/glib-2.0/glib-
object.h:23,
                 from 
Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.h:25,
                 from 
Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp:29:
/opt/garnome-3.16/include/glib-2.0/glib/gthread.h:276:14: note: 
candidates are: typedef void GMutexLocker
 typedef void GMutexLocker;
              ^
In file included from 
Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp:39:0:
./Source/WTF/wtf/gobject/GMutexLocker.h:32:7: note:                 
class WebCore::GMutexLocker
 class GMutexLocker {
       ^
Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp: In 
function ‘GstFlowReturn webkitVideoSinkRender(GstBaseSink*, 
GstBuffer*)’:
Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp:143:5: 
error: reference to 
‘GMutexLocker’ is ambiguous
     GMutexLocker lock(priv->bufferMutex);
     ^
In file included from /opt/garnome-3.16/include/glib-
2.0/glib/gasyncqueue.h:32:0,
                 from /opt/garnome-3.16/include/glib-2.0/glib.h:32,
                 from /opt/garnome-3.16/include/glib-
2.0/gobject/gbinding.h:28,
                 from /opt/garnome-3.16/include/glib-2.0/glib-
object.h:23,
                 from 
Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.h:25,
                 from 
Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp:29:
/opt/garnome-3.16/include/glib-2.0/glib/gthread.h:276:14: note: 
candidates are: typedef void GMutexLocker
 typedef void GMutexLocker;
              ^
In file included from 
Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp:39:0:
./Source/WTF/wtf/gobject/GMutexLocker.h:32:7: note:                 
class WebCore::GMutexLocker
 class GMutexLocker {
       ^
Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp: In 
function ‘void unlockBufferMutex(WebKitVideoSinkPrivate*)’:
Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp:282:5: 
error: reference to 
‘GMutexLocker’ is ambiguous
     GMutexLocker lock(priv->bufferMutex);
     ^
In file included from /opt/garnome-3.16/include/glib-
2.0/glib/gasyncqueue.h:32:0,
                 from /opt/garnome-3.16/include/glib-2.0/glib.h:32,
                 from /opt/garnome-3.16/include/glib-
2.0/gobject/gbinding.h:28,
                 from /opt/garnome-3.16/include/glib-2.0/glib-
object.h:23,
                 from 
Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.h:25,
                 from 
Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp:29:
/opt/garnome-3.16/include/glib-2.0/glib/gthread.h:276:14: note: 
candidates are: typedef void GMutexLocker
 typedef void GMutexLocker;
              ^
In file included from 
Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp:39:0:
./Source/WTF/wtf/gobject/GMutexLocker.h:32:7: note:                 
class WebCore::GMutexLocker
 class GMutexLocker {
       ^
Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp: In 
function ‘gboolean webkitVideoSinkUnlockStop(GstBaseSink*)’:
Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp:308:9: 
error: reference to 
‘GMutexLocker’ is ambiguous
         GMutexLocker lock(priv->bufferMutex);
         ^
In file included from /opt/garnome-3.16/include/glib-
2.0/glib/gasyncqueue.h:32:0,
                 from /opt/garnome-3.16/include/glib-2.0/glib.h:32,
                 from /opt/garnome-3.16/include/glib-
2.0/gobject/gbinding.h:28,
                 from /opt/garnome-3.16/include/glib-2.0/glib-
object.h:23,
                 from 
Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.h:25,
                 from 
Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp:29:
/opt/garnome-3.16/include/glib-2.0/glib/gthread.h:276:14: note: 
candidates are: typedef void GMutexLocker
 typedef void GMutexLocker;
              ^
In file included from 
Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp:39:0:
./Source/WTF/wtf/gobject/GMutexLocker.h:32:7: note:                 
class WebCore::GMutexLocker
 class GMutexLocker {
       ^
Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp: In 
function ‘gboolean webkitVideoSinkStart(GstBaseSink*)’:
Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp:333:5: 
error: reference to 
‘GMutexLocker’ is ambiguous
     GMutexLocker lock(priv->bufferMutex);
     ^
In file included from /opt/garnome-3.16/include/glib-
2.0/glib/gasyncqueue.h:32:0,
                 from /opt/garnome-3.16/include/glib-2.0/glib.h:32,
                 from /opt/garnome-3.16/include/glib-
2.0/gobject/gbinding.h:28,
                 from /opt/garnome-3.16/include/glib-2.0/glib-
object.h:23,
                 from 
Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.h:25,
                 from 
Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp:29:
/opt/garnome-3.16/include/glib-2.0/glib/gthread.h:276:14: note: 
candidates are: typedef void GMutexLocker
 typedef void GMutexLocker;
              ^
In file included from 
Source/WebCore/platform/graphics/gstreamer/VideoSinkGStreamer.cpp:39:0:
./Source/WTF/wtf/gobject/GMutexLocker.h:32:7: note:                 
class WebCore::GMutexLocker
 class GMutexLocker {


More information about the webkit-gtk mailing list