View Revisions: Issue #1872
[ Back to Issue ]
| Summary | 0001872: Build with glib>=2.30.0 is broken | ||
|---|---|---|---|
| Revision | 2013-04-09 03:30 by ojab | ||
| Description | Threading support was overhauled in glib-2.30.0 and GStaticRecMutex, GThreadPriority, etc was deprecated. So build with glib>=2.30.0 fails with COMPILE: image/video.c In file included from /usr/include/gstreamer-0.10/gst/gstelement.h:56:0, from /usr/include/gstreamer-0.10/gst/gstbin.h:27, from /usr/include/gstreamer-0.10/gst/gst.h:35, from image/video.c:19: /usr/include/gstreamer-0.10/gst/gstobject.h:283:3: error: unknown type name 'GStaticRecMutex' In file included from /usr/include/gstreamer-0.10/gst/gstpad.h:35:0, from /usr/include/gstreamer-0.10/gst/gstelement.h:57, from /usr/include/gstreamer-0.10/gst/gstbin.h:27, from /usr/include/gstreamer-0.10/gst/gst.h:35, from image/video.c:19: /usr/include/gstreamer-0.10/gst/gsttask.h:149:3: error: unknown type name 'GStaticRecMutex' /usr/include/gstreamer-0.10/gst/gsttask.h:183:57: error: unknown type name 'GStaticRecMutex' /usr/include/gstreamer-0.10/gst/gsttask.h:184:57: error: unknown type name 'GThreadPriority' In file included from /usr/include/gstreamer-0.10/gst/gstelement.h:57:0, from /usr/include/gstreamer-0.10/gst/gstbin.h:27, from /usr/include/gstreamer-0.10/gst/gst.h:35, from image/video.c:19: /usr/include/gstreamer-0.10/gst/gstpad.h:671:3: error: unknown type name 'GStaticRecMutex' In file included from /usr/include/gstreamer-0.10/gst/gstbin.h:27:0, from /usr/include/gstreamer-0.10/gst/gst.h:35, from image/video.c:19: /usr/include/gstreamer-0.10/gst/gstelement.h:545:3: error: unknown type name 'GStaticRecMutex' In file included from /usr/include/gstreamer-0.10/gst/gst.h:71:0, from image/video.c:19: /usr/include/gstreamer-0.10/gst/gsttrace.h:127:1: error: unknown type name 'GStaticMutex' make: *** [build-Linux-gtk/image_video.o] Error 1 make: Leaving directory `/builddir/netsurf-2.9/netsurf-2.9' |
||
| Revision | 2013-12-17 14:42 by Vincent Sanders | ||
| Description | Threading support was overhauled in glib-2.30.0 and GStaticRecMutex, GThreadPriority, etc was deprecated. So build with glib>=2.30.0 fails with COMPILE: image/video.c In file included from /usr/include/gstreamer-0.10/gst/gstelement.h:56:0, from /usr/include/gstreamer-0.10/gst/gstbin.h:27, from /usr/include/gstreamer-0.10/gst/gst.h:35, from image/video.c:19: /usr/include/gstreamer-0.10/gst/gstobject.h:283:3: error: unknown type name 'GStaticRecMutex' In file included from /usr/include/gstreamer-0.10/gst/gstpad.h:35:0, from /usr/include/gstreamer-0.10/gst/gstelement.h:57, from /usr/include/gstreamer-0.10/gst/gstbin.h:27, from /usr/include/gstreamer-0.10/gst/gst.h:35, from image/video.c:19: /usr/include/gstreamer-0.10/gst/gsttask.h:149:3: error: unknown type name 'GStaticRecMutex' /usr/include/gstreamer-0.10/gst/gsttask.h:183:57: error: unknown type name 'GStaticRecMutex' /usr/include/gstreamer-0.10/gst/gsttask.h:184:57: error: unknown type name 'GThreadPriority' In file included from /usr/include/gstreamer-0.10/gst/gstelement.h:57:0, from /usr/include/gstreamer-0.10/gst/gstbin.h:27, from /usr/include/gstreamer-0.10/gst/gst.h:35, from image/video.c:19: /usr/include/gstreamer-0.10/gst/gstpad.h:671:3: error: unknown type name 'GStaticRecMutex' In file included from /usr/include/gstreamer-0.10/gst/gstbin.h:27:0, from /usr/include/gstreamer-0.10/gst/gst.h:35, from image/video.c:19: /usr/include/gstreamer-0.10/gst/gstelement.h:545:3: error: unknown type name 'GStaticRecMutex' In file included from /usr/include/gstreamer-0.10/gst/gst.h:71:0, from image/video.c:19: /usr/include/gstreamer-0.10/gst/gsttrace.h:127:1: error: unknown type name 'GStaticMutex' make: *** [build-Linux-gtk/image_video.o] Error 1 make: Leaving directory `/builddir/netsurf-2.9/netsurf-2.9' |
||
| Revision | 2013-04-09 03:30 by ojab | ||
| Additional Information | ojab added a note on Tue Apr 9 04:41:23 2013 And it doesn't help :/ Looks like gstreamer-0.10 cannot be used with GStaticRecMutex and friends anymore. ojab added a note on Tue Apr 9 04:37:36 2013 AFAIU it can be fixed by adding -UDISABLE_GLIB_DEPRECATIONS to CFLAGS/CPPFLAGS when compiling gstreamer-0.10-related files (i. e. image/video.c) Imported from sourceforge bug http://sourceforge.net/support/tracker.php?aid=3610354 on Tue Dec 10 17:34:13 2013 |
||
| Revision | 2013-12-17 14:42 by Vincent Sanders | ||
| Additional Information | ojab added a note on Tue Apr 9 04:41:23 2013 And it doesn't help :/ Looks like gstreamer-0.10 cannot be used with GStaticRecMutex and friends anymore. ojab added a note on Tue Apr 9 04:37:36 2013 AFAIU it can be fixed by adding -UDISABLE_GLIB_DEPRECATIONS to CFLAGS/CPPFLAGS when compiling gstreamer-0.10-related files (i. e. image/video.c) Imported from sourceforge bug http://sourceforge.net/support/tracker.php?aid=3610354 on Tue Dec 10 17:34:13 2013 |
||
