GNOME Bugzilla – Bug 662566
[regression] build failure in git/master: ../gst/gstobject.h:264:3: error: unknown type name 'GStaticRecMutex'
Last modified: 2011-10-24 12:41:24 UTC
I'm building in a gnome -3.2.[01] environment. In particular I have glib-2.31.0 installed. The build worked on Oct. 18, 2011. Here's the log: CC libgstreamer_0.10_la-gstbuffer.lo In file included from ../gst/gstplugin.h:33:0, from gstregistry.h:28, from gst_private.h:42, from gst.c:101: ../gst/gstobject.h:264:3: error: unknown type name 'GStaticRecMutex' In file included from ../gst/gstplugin.h:33:0, from gstregistry.h:28, from gst_private.h:42, from gstobject.c:86: ../gst/gstobject.h:264:3: error: unknown type name 'GStaticRecMutex' In file included from gstpad.h:35:0, from gst_private.h:52, from gst.c:101: ../gst/gsttask.h:149:3: error: unknown type name 'GStaticRecMutex' ../gst/gsttask.h:183:57: error: unknown type name 'GStaticRecMutex' ../gst/gsttask.h:184:57: error: unknown type name 'GThreadPriority' In file included from gst_private.h:52:0, from gst.c:101: gstpad.h:671:3: error: unknown type name 'GStaticRecMutex' In file included from gst_private.h:55:0, from gst.c:101: gstelement.h:545:3: error: unknown type name 'GStaticRecMutex' In file included from gstpad.h:35:0, from gst_private.h:52, from gstobject.c:86: ../gst/gsttask.h:149:3: error: unknown type name 'GStaticRecMutex' ../gst/gsttask.h:183:57: error: unknown type name 'GStaticRecMutex' ../gst/gsttask.h:184:57: error: unknown type name 'GThreadPriority' In file included from gst_private.h:52:0, from gstobject.c:86: gstpad.h:671:3: error: unknown type name 'GStaticRecMutex' In file included from ../gst/gstplugin.h:33:0, from gstregistry.h:28, from gst_private.h:42, from gstbin.c:160: ../gst/gstobject.h:264:3: error: unknown type name 'GStaticRecMutex' In file included from ../gst/gstplugin.h:33:0, from gstregistry.h:28, from gst_private.h:42, from gstbuffer.c:116: ../gst/gstobject.h:264:3: error: unknown type name 'GStaticRecMutex' In file included from gst_private.h:55:0, from gstobject.c:86: gstelement.h:545:3: error: unknown type name 'GStaticRecMutex' In file included from gstpad.h:35:0, from gst_private.h:52, from gstbin.c:160: ../gst/gsttask.h:149:3: error: unknown type name 'GStaticRecMutex' ../gst/gsttask.h:183:57: error: unknown type name 'GStaticRecMutex' ../gst/gsttask.h:184:57: error: unknown type name 'GThreadPriority' In file included from gst_private.h:52:0, from gstbin.c:160: gstpad.h:671:3: error: unknown type name 'GStaticRecMutex' In file included from gstobject.c:95:0: gsttrace.h:127:1: error: unknown type name 'GStaticMutex' In file included from gstpad.h:35:0, from gst_private.h:52, from gstbuffer.c:116: ../gst/gsttask.h:149:3: error: unknown type name 'GStaticRecMutex' ../gst/gsttask.h:183:57: error: unknown type name 'GStaticRecMutex' ../gst/gsttask.h:184:57: error: unknown type name 'GThreadPriority' In file included from gst_private.h:52:0, from gstbuffer.c:116: gstpad.h:671:3: error: unknown type name 'GStaticRecMutex' In file included from gst.h:71:0, from gst.c:120: ../gst/gsttrace.h:127:1: error: unknown type name 'GStaticMutex' In file included from gst_private.h:55:0, from gstbin.c:160: gstelement.h:545:3: error: unknown type name 'GStaticRecMutex' In file included from gst_private.h:55:0, from gstbuffer.c:116: gstelement.h:545:3: error: unknown type name 'GStaticRecMutex' gst.c: In function 'gst_init_get_option_group': gst.c:371:5: error: implicit declaration of function 'g_thread_get_initialized' [-Werror=implicit-function-declaration] gst.c:371:5: error: nested extern declaration of 'g_thread_get_initialized' [-Werror=nested-externs] gst.c:379:7: error: implicit declaration of function 'g_thread_init' [-Werror=implicit-function-declaration] gst.c:379:7: error: nested extern declaration of 'g_thread_init' [-Werror=nested-externs] In file included from ../gst/gst.h:71:0, from gstchildproxy.h:26, from gstbin.c:172: ../gst/gsttrace.h:127:1: error: unknown type name 'GStaticMutex' gstobject.c: In function 'gst_object_class_init': gstobject.c:261:17: error: 'GStaticRecMutex' undeclared (first use in this function) gstobject.c:261:17: note: each undeclared identifier is reported only once for each function it appears in gstobject.c:261:17: error: expected expression before ')' token gstobject.c:262:3: error: implicit declaration of function 'g_static_rec_mutex_init' [-Werror=implicit-function-declaration] gstobject.c:262:3: error: nested extern declaration of 'g_static_rec_mutex_init' [-Werror=nested-externs] gstobject.c: In function 'gst_object_init': gstobject.c:277:3: error: implicit declaration of function 'g_mutex_new' [-Werror=implicit-function-declaration] gstobject.c:277:3: error: nested extern declaration of 'g_mutex_new' [-Werror=nested-externs] gstobject.c:277:16: error: assignment makes pointer from integer without a cast [-Werror] gstobject.c:283:3: error: implicit declaration of function 'g_static_mutex_lock' [-Werror=implicit-function-declaration] gstobject.c:283:3: error: nested extern declaration of 'g_static_mutex_lock' [-Werror=nested-externs] gstobject.c:283:3: error: implicit declaration of function 'g_static_mutex_unlock' [-Werror=implicit-function-declaration] gstobject.c:283:3: error: nested extern declaration of 'g_static_mutex_unlock' [-Werror=nested-externs] make[6]: *** [libgstreamer_0.10_la-gst.lo] Error 1 make[6]: *** Waiting for unfinished jobs.... gstobject.c: In function 'gst_object_finalize': gstobject.c:498:3: error: implicit declaration of function 'g_mutex_free' [-Werror=implicit-function-declaration] gstobject.c:498:3: error: nested extern declaration of 'g_mutex_free' [-Werror=nested-externs] make[6]: *** [libgstreamer_0.10_la-gstbuffer.lo] Error 1 cc1: all warnings being treated as errors make[6]: *** [libgstreamer_0.10_la-gstobject.lo] Error 1 gstbin.c: In function 'gst_bin_element_set_state': gstbin.c:2136:3: error: implicit declaration of function 'g_static_rec_mutex_lock' [-Werror=implicit-function-declaration] gstbin.c:2136:3: error: nested extern declaration of 'g_static_rec_mutex_lock' [-Werror=nested-externs] gstbin.c:2211:3: error: implicit declaration of function 'g_static_rec_mutex_unlock' [-Werror=implicit-function-declaration] gstbin.c:2211:3: error: nested extern declaration of 'g_static_rec_mutex_unlock' [-Werror=nested-externs] cc1: all warnings being treated as errors make[6]: *** [libgstreamer_0.10_la-gstbin.lo] Error 1
*** This bug has been marked as a duplicate of bug 662207 ***