LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-28-2013, 07:17 PM   #106
JohnB316
Member
 
Registered: Jan 2007
Distribution: Slackware64 Current
Posts: 37

Rep: Reputation: 22

Quote:
Originally Posted by fskmh View Post
I was just looking at http://ftp.gnome.org/pub/GNOME/sources/glib/2.36/ and thinking that would just screw things up even more. Let me give that a shot then.
I don't think it could screw up things too much, since the major version level is the same, even though the minor level is different. I suspect that glib2-2.36.0 was updated to be able to be built against gcc-4.8.0, since it was released only a couple of days ago.
 
Old 03-28-2013, 08:08 PM   #107
JohnB316
Member
 
Registered: Jan 2007
Distribution: Slackware64 Current
Posts: 37

Rep: Reputation: 22
Quote:
I don't think it could screw up things too much, since the major version level is the same, even though the minor level is different. I suspect that glib2-2.36.0 was updated to be able to be built against gcc-4.8.0, since it was released only a couple of days ago.
I may have spoken a bit too soon. After I was able to build the MATE base packages successfully using gcc-4.8.0 with glib2-2.36.0, I ran the script to build the "extras." I got the following error output when the mixer was being built:

Code:
Making all in src
make[3]: Entering directory `/tmp/msb/mate-media-1.5.2/gst-mixer/src'
  CC     element.o
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 /usr/include/gstreamer-0.10/gst/interfaces/mixer.h:25,
                 from element.h:28,
                 from element.c:30:
/usr/include/gstreamer-0.10/gst/gstobject.h:283:3: error: unknown type name 'GStaticRecMutex'
   GStaticRecMutex *lock;
   ^
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 /usr/include/gstreamer-0.10/gst/interfaces/mixer.h:25,
                 from element.h:28,
                 from element.c:30:
/usr/include/gstreamer-0.10/gst/gsttask.h:149:3: error: unknown type name 'GStaticRecMutex'
   GStaticRecMutex *lock;
   ^
/usr/include/gstreamer-0.10/gst/gsttask.h:183:57: error: unknown type name 'GStaticRecMutex'
 void            gst_task_set_lock       (GstTask *task, GStaticRecMutex *mutex);
                                                         ^
/usr/include/gstreamer-0.10/gst/gsttask.h:184:57: error: unknown type name 'GThreadPriority'
 void            gst_task_set_priority   (GstTask *task, GThreadPriority priority);
                                                         ^
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 /usr/include/gstreamer-0.10/gst/interfaces/mixer.h:25,
                 from element.h:28,
                 from element.c:30:
/usr/include/gstreamer-0.10/gst/gstpad.h:671:3: error: unknown type name 'GStaticRecMutex'
   GStaticRecMutex  *stream_rec_lock;
   ^
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 /usr/include/gstreamer-0.10/gst/interfaces/mixer.h:25,
                 from element.h:28,
                 from element.c:30:
/usr/include/gstreamer-0.10/gst/gstelement.h:545:3: error: unknown type name 'GStaticRecMutex'
   GStaticRecMutex      *state_lock;
   ^
In file included from /usr/include/gstreamer-0.10/gst/gst.h:71:0,
                 from /usr/include/gstreamer-0.10/gst/interfaces/mixer.h:25,
                 from element.h:28,
                 from element.c:30:
/usr/include/gstreamer-0.10/gst/gsttrace.h:127:1: error: unknown type name 'GStaticMutex'
 extern GStaticMutex     _gst_trace_mutex;
 ^
make[3]: *** [element.o] Error 1
make[3]: Leaving directory `/tmp/msb/mate-media-1.5.2/gst-mixer/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/msb/mate-media-1.5.2/gst-mixer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/msb/mate-media-1.5.2'
make: *** [all] Error 2
I download the same version of the gstreamer source code that is used in slack-current (0.10.36) and rebuilt it against gcc-4.8.0 and glib2-2.36.0. I then re-ran the mate-build-extras.sh script. It choked on the mixer again. Here is the error output:
Code:
Making all in src
make[3]: Entering directory `/tmp/msb/mate-media-1.5.2/gst-mixer/src'
  CC     button.o
  CC     main.o
  CC     preferences.o
  CC     track.o
  CC     window.o
  CC     volume.o
  CC     element.o
  CC     misc.o
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 /usr/include/gstreamer-0.10/gst/interfaces/mixer.h:25,
                 from misc.c:22:
/usr/include/gstreamer-0.10/gst/gstobject.h:283:3: error: unknown type name 'GStaticRecMutex'
   GStaticRecMutex *lock;
   ^
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 /usr/include/gstreamer-0.10/gst/interfaces/mixer.h:25,
                 from misc.c:22:
/usr/include/gstreamer-0.10/gst/gsttask.h:149:3: error: unknown type name 'GStaticRecMutex'
   GStaticRecMutex *lock;
   ^
/usr/include/gstreamer-0.10/gst/gsttask.h:183:57: error: unknown type name 'GStaticRecMutex'
 void            gst_task_set_lock       (GstTask *task, GStaticRecMutex *mutex);
                                                         ^
/usr/include/gstreamer-0.10/gst/gsttask.h:184:57: error: unknown type name 'GThreadPriority'
 void            gst_task_set_priority   (GstTask *task, GThreadPriority priority);
                                                         ^
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 /usr/include/gstreamer-0.10/gst/interfaces/mixer.h:25,
                 from misc.c:22:
/usr/include/gstreamer-0.10/gst/gstpad.h:671:3: error: unknown type name 'GStaticRecMutex'
   GStaticRecMutex  *stream_rec_lock;
   ^
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 /usr/include/gstreamer-0.10/gst/interfaces/mixer.h:25,
                 from misc.c:22:
/usr/include/gstreamer-0.10/gst/gstelement.h:545:3: error: unknown type name 'GStaticRecMutex'
   GStaticRecMutex      *state_lock;
   ^
In file included from /usr/include/gstreamer-0.10/gst/gst.h:71:0,
                 from /usr/include/gstreamer-0.10/gst/interfaces/mixer.h:25,
                 from misc.c:22:
/usr/include/gstreamer-0.10/gst/gsttrace.h:127:1: error: unknown type name 'GStaticMutex'
 extern GStaticMutex     _gst_trace_mutex;
 ^
make[3]: *** [misc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
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 /usr/include/gstreamer-0.10/gst/interfaces/mixer.h:25,
                 from element.h:28,
                 from element.c:30:
/usr/include/gstreamer-0.10/gst/gstobject.h:283:3: error: unknown type name 'GStaticRecMutex'
   GStaticRecMutex *lock;
   ^
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 /usr/include/gstreamer-0.10/gst/interfaces/mixer.h:25,
                 from element.h:28,
                 from element.c:30:
/usr/include/gstreamer-0.10/gst/gsttask.h:149:3: error: unknown type name 'GStaticRecMutex'
   GStaticRecMutex *lock;
   ^
/usr/include/gstreamer-0.10/gst/gsttask.h:183:57: error: unknown type name 'GStaticRecMutex'
 void            gst_task_set_lock       (GstTask *task, GStaticRecMutex *mutex);
                                                         ^
/usr/include/gstreamer-0.10/gst/gsttask.h:184:57: error: unknown type name 'GThreadPriority'
 void            gst_task_set_priority   (GstTask *task, GThreadPriority priority);
                                                         ^
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 /usr/include/gstreamer-0.10/gst/interfaces/mixer.h:25,
                 from element.h:28,
                 from element.c:30:
/usr/include/gstreamer-0.10/gst/gstpad.h:671:3: error: unknown type name 'GStaticRecMutex'
   GStaticRecMutex  *stream_rec_lock;
   ^
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 /usr/include/gstreamer-0.10/gst/interfaces/mixer.h:25,
                 from element.h:28,
                 from element.c:30:
/usr/include/gstreamer-0.10/gst/gstelement.h:545:3: error: unknown type name 'GStaticRecMutex'
   GStaticRecMutex      *state_lock;
   ^
In file included from /usr/include/gstreamer-0.10/gst/gst.h:71:0,
                 from /usr/include/gstreamer-0.10/gst/interfaces/mixer.h:25,
                 from element.h:28,
                 from element.c:30:
/usr/include/gstreamer-0.10/gst/gsttrace.h:127:1: error: unknown type name 'GStaticMutex'
 extern GStaticMutex     _gst_trace_mutex;
 ^
make[3]: *** [element.o] Error 1
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 main.c:31:
/usr/include/gstreamer-0.10/gst/gstobject.h:283:3: error: unknown type name 'GStaticRecMutex'
   GStaticRecMutex *lock;
   ^
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 main.c:31:
/usr/include/gstreamer-0.10/gst/gsttask.h:149:3: error: unknown type name 'GStaticRecMutex'
   GStaticRecMutex *lock;
   ^
/usr/include/gstreamer-0.10/gst/gsttask.h:183:57: error: unknown type name 'GStaticRecMutex'
 void            gst_task_set_lock       (GstTask *task, GStaticRecMutex *mutex);
                                                         ^
/usr/include/gstreamer-0.10/gst/gsttask.h:184:57: error: unknown type name 'GThreadPriority'
 void            gst_task_set_priority   (GstTask *task, GThreadPriority priority);
                                                         ^
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 main.c:31:
/usr/include/gstreamer-0.10/gst/gstpad.h:671:3: error: unknown type name 'GStaticRecMutex'
   GStaticRecMutex  *stream_rec_lock;
   ^
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 main.c:31:
/usr/include/gstreamer-0.10/gst/gstelement.h:545:3: error: unknown type name 'GStaticRecMutex'
   GStaticRecMutex      *state_lock;
   ^
In file included from /usr/include/gstreamer-0.10/gst/gst.h:71:0,
                 from main.c:31:
/usr/include/gstreamer-0.10/gst/gsttrace.h:127:1: error: unknown type name 'GStaticMutex'
 extern GStaticMutex     _gst_trace_mutex;
 ^
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 track.h:27,
                 from track.c:31:
/usr/include/gstreamer-0.10/gst/gstobject.h:283:3: error: unknown type name 'GStaticRecMutex'
   GStaticRecMutex *lock;
   ^
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 track.h:27,
                 from track.c:31:
/usr/include/gstreamer-0.10/gst/gsttask.h:149:3: error: unknown type name 'GStaticRecMutex'
   GStaticRecMutex *lock;
   ^
/usr/include/gstreamer-0.10/gst/gsttask.h:183:57: error: unknown type name 'GStaticRecMutex'
 void            gst_task_set_lock       (GstTask *task, GStaticRecMutex *mutex);
                                                         ^
/usr/include/gstreamer-0.10/gst/gsttask.h:184:57: error: unknown type name 'GThreadPriority'
 void            gst_task_set_priority   (GstTask *task, GThreadPriority priority);
                                                         ^
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 track.h:27,
                 from track.c:31:
/usr/include/gstreamer-0.10/gst/gstpad.h:671:3: error: unknown type name 'GStaticRecMutex'
   GStaticRecMutex  *stream_rec_lock;
   ^
make[3]: *** [main.o] Error 1
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 /usr/include/gstreamer-0.10/gst/interfaces/mixer.h:25,
                 from element.h:28,
                 from preferences.c:31:
/usr/include/gstreamer-0.10/gst/gstobject.h:283:3: error: unknown type name 'GStaticRecMutex'
   GStaticRecMutex *lock;
   ^
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 track.h:27,
                 from track.c:31:
/usr/include/gstreamer-0.10/gst/gstelement.h:545:3: error: unknown type name 'GStaticRecMutex'
   GStaticRecMutex      *state_lock;
   ^
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 /usr/include/gstreamer-0.10/gst/interfaces/mixer.h:25,
                 from element.h:28,
                 from preferences.c:31:
/usr/include/gstreamer-0.10/gst/gsttask.h:149:3: error: unknown type name 'GStaticRecMutex'
   GStaticRecMutex *lock;
   ^
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 /usr/include/gstreamer-0.10/gst/interfaces/mixer.h:25,
                 from preferences.h:28,
                 from window.c:32:
/usr/include/gstreamer-0.10/gst/gstobject.h:283:3: error: unknown type name 'GStaticRecMutex'
   GStaticRecMutex *lock;
   ^
/usr/include/gstreamer-0.10/gst/gsttask.h:183:57: error: unknown type name 'GStaticRecMutex'
 void            gst_task_set_lock       (GstTask *task, GStaticRecMutex *mutex);
                                                         ^
/usr/include/gstreamer-0.10/gst/gsttask.h:184:57: error: unknown type name 'GThreadPriority'
 void            gst_task_set_priority   (GstTask *task, GThreadPriority priority);
                                                         ^
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 /usr/include/gstreamer-0.10/gst/interfaces/mixer.h:25,
                 from element.h:28,
                 from preferences.c:31:
/usr/include/gstreamer-0.10/gst/gstpad.h:671:3: error: unknown type name 'GStaticRecMutex'
   GStaticRecMutex  *stream_rec_lock;
   ^
In file included from /usr/include/gstreamer-0.10/gst/gst.h:71:0,
                 from track.h:27,
                 from track.c:31:
/usr/include/gstreamer-0.10/gst/gsttrace.h:127:1: error: unknown type name 'GStaticMutex'
 extern GStaticMutex     _gst_trace_mutex;
 ^
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 /usr/include/gstreamer-0.10/gst/interfaces/mixer.h:25,
                 from volume.h:27,
                 from volume.c:33:
/usr/include/gstreamer-0.10/gst/gstobject.h:283:3: error: unknown type name 'GStaticRecMutex'
   GStaticRecMutex *lock;
   ^
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 /usr/include/gstreamer-0.10/gst/interfaces/mixer.h:25,
                 from preferences.h:28,
                 from window.c:32:
/usr/include/gstreamer-0.10/gst/gsttask.h:149:3: error: unknown type name 'GStaticRecMutex'
   GStaticRecMutex *lock;
   ^
/usr/include/gstreamer-0.10/gst/gsttask.h:183:57: error: unknown type name 'GStaticRecMutex'
 void            gst_task_set_lock       (GstTask *task, GStaticRecMutex *mutex);
                                                         ^
/usr/include/gstreamer-0.10/gst/gsttask.h:184:57: error: unknown type name 'GThreadPriority'
 void            gst_task_set_priority   (GstTask *task, GThreadPriority priority);
                                                         ^
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 /usr/include/gstreamer-0.10/gst/interfaces/mixer.h:25,
                 from element.h:28,
                 from preferences.c:31:
/usr/include/gstreamer-0.10/gst/gstelement.h:545:3: error: unknown type name 'GStaticRecMutex'
   GStaticRecMutex      *state_lock;
   ^
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 /usr/include/gstreamer-0.10/gst/interfaces/mixer.h:25,
                 from preferences.h:28,
                 from window.c:32:
/usr/include/gstreamer-0.10/gst/gstpad.h:671:3: error: unknown type name 'GStaticRecMutex'
   GStaticRecMutex  *stream_rec_lock;
   ^
track.c: In function 'cb_option_changed':
track.c:119:7: warning: assignment makes pointer from integer without a cast [enabled by default]
   opt = gtk_combo_box_get_active_text (box);
       ^
track.c: In function 'mate_volume_control_track_add_option':
track.c:545:19: warning: assignment makes pointer from integer without a cast [enabled by default]
     ctrl->options = gtk_combo_box_new_text ();
                   ^
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 /usr/include/gstreamer-0.10/gst/interfaces/mixer.h:25,
                 from volume.h:27,
                 from volume.c:33:
/usr/include/gstreamer-0.10/gst/gsttask.h:149:3: error: unknown type name 'GStaticRecMutex'
   GStaticRecMutex *lock;
   ^
/usr/include/gstreamer-0.10/gst/gsttask.h:183:57: error: unknown type name 'GStaticRecMutex'
 void            gst_task_set_lock       (GstTask *task, GStaticRecMutex *mutex);
                                                         ^
/usr/include/gstreamer-0.10/gst/gsttask.h:184:57: error: unknown type name 'GThreadPriority'
 void            gst_task_set_priority   (GstTask *task, GThreadPriority priority);
                                                         ^
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 /usr/include/gstreamer-0.10/gst/interfaces/mixer.h:25,
                 from volume.h:27,
                 from volume.c:33:
/usr/include/gstreamer-0.10/gst/gstpad.h:671:3: error: unknown type name 'GStaticRecMutex'
   GStaticRecMutex  *stream_rec_lock;
   ^
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 /usr/include/gstreamer-0.10/gst/interfaces/mixer.h:25,
                 from preferences.h:28,
                 from window.c:32:
/usr/include/gstreamer-0.10/gst/gstelement.h:545:3: error: unknown type name 'GStaticRecMutex'
   GStaticRecMutex      *state_lock;
   ^
In file included from /usr/include/gstreamer-0.10/gst/gst.h:71:0,
                 from /usr/include/gstreamer-0.10/gst/interfaces/mixer.h:25,
                 from element.h:28,
                 from preferences.c:31:
/usr/include/gstreamer-0.10/gst/gsttrace.h:127:1: error: unknown type name 'GStaticMutex'
 extern GStaticMutex     _gst_trace_mutex;
 ^
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 /usr/include/gstreamer-0.10/gst/interfaces/mixer.h:25,
                 from volume.h:27,
                 from volume.c:33:
/usr/include/gstreamer-0.10/gst/gstelement.h:545:3: error: unknown type name 'GStaticRecMutex'
   GStaticRecMutex      *state_lock;
   ^
In file included from /usr/include/gstreamer-0.10/gst/gst.h:71:0,
                 from /usr/include/gstreamer-0.10/gst/interfaces/mixer.h:25,
                 from preferences.h:28,
                 from window.c:32:
/usr/include/gstreamer-0.10/gst/gsttrace.h:127:1: error: unknown type name 'GStaticMutex'
 extern GStaticMutex     _gst_trace_mutex;
 ^
window.c: In function 'cb_change':
window.c:64:15: warning: assignment makes pointer from integer without a cast [enabled by default]
   device_name = gtk_combo_box_get_active_text (widget);
               ^
In file included from /usr/include/gstreamer-0.10/gst/gst.h:71:0,
                 from /usr/include/gstreamer-0.10/gst/interfaces/mixer.h:25,
                 from volume.h:27,
                 from volume.c:33:
/usr/include/gstreamer-0.10/gst/gsttrace.h:127:1: error: unknown type name 'GStaticMutex'
 extern GStaticMutex     _gst_trace_mutex;
 ^
make[3]: *** [track.o] Error 1
window.c: In function 'mate_volume_control_window_new':
window.c:343:13: warning: assignment makes pointer from integer without a cast [enabled by default]
   combo_box = gtk_combo_box_new_text ();
             ^
make[3]: *** [preferences.o] Error 1
make[3]: *** [volume.o] Error 1
make[3]: *** [window.o] Error 1
make[3]: Leaving directory `/tmp/msb/mate-media-1.5.2/gst-mixer/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/msb/mate-media-1.5.2/gst-mixer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/msb/mate-media-1.5.2'
make: *** [all] Error 2
make  all-recursive
make[1]: Entering directory `/tmp/msb/mate-media-1.5.2'
Making all in po
make[2]: Entering directory `/tmp/msb/mate-media-1.5.2/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/msb/mate-media-1.5.2/po'
Making all in sound-theme
make[2]: Entering directory `/tmp/msb/mate-media-1.5.2/sound-theme'
make  all-recursive
make[3]: Entering directory `/tmp/msb/mate-media-1.5.2/sound-theme'
Making all in sounds
make[4]: Entering directory `/tmp/msb/mate-media-1.5.2/sound-theme/sounds'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/tmp/msb/mate-media-1.5.2/sound-theme/sounds'
make[4]: Entering directory `/tmp/msb/mate-media-1.5.2/sound-theme'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/tmp/msb/mate-media-1.5.2/sound-theme'
make[3]: Leaving directory `/tmp/msb/mate-media-1.5.2/sound-theme'
make[2]: Leaving directory `/tmp/msb/mate-media-1.5.2/sound-theme'
Making all in gst-mixer
make[2]: Entering directory `/tmp/msb/mate-media-1.5.2/gst-mixer'
Making all in doc
make[3]: Entering directory `/tmp/msb/mate-media-1.5.2/gst-mixer/doc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/msb/mate-media-1.5.2/gst-mixer/doc'
Making all in icons
make[3]: Entering directory `/tmp/msb/mate-media-1.5.2/gst-mixer/icons'
Making all in 16x16
make[4]: Entering directory `/tmp/msb/mate-media-1.5.2/gst-mixer/icons/16x16'
Making all in devices
make[5]: Entering directory `/tmp/msb/mate-media-1.5.2/gst-mixer/icons/16x16/devices'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/tmp/msb/mate-media-1.5.2/gst-mixer/icons/16x16/devices'
Making all in status
make[5]: Entering directory `/tmp/msb/mate-media-1.5.2/gst-mixer/icons/16x16/status'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/tmp/msb/mate-media-1.5.2/gst-mixer/icons/16x16/status'
make[5]: Entering directory `/tmp/msb/mate-media-1.5.2/gst-mixer/icons/16x16'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/tmp/msb/mate-media-1.5.2/gst-mixer/icons/16x16'
make[4]: Leaving directory `/tmp/msb/mate-media-1.5.2/gst-mixer/icons/16x16'
make[4]: Entering directory `/tmp/msb/mate-media-1.5.2/gst-mixer/icons'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/tmp/msb/mate-media-1.5.2/gst-mixer/icons'
make[3]: Leaving directory `/tmp/msb/mate-media-1.5.2/gst-mixer/icons'
Making all in pixmaps
make[3]: Entering directory `/tmp/msb/mate-media-1.5.2/gst-mixer/pixmaps'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/msb/mate-media-1.5.2/gst-mixer/pixmaps'
Making all in src
make[3]: Entering directory `/tmp/msb/mate-media-1.5.2/gst-mixer/src'
  CC     element.o
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 /usr/include/gstreamer-0.10/gst/interfaces/mixer.h:25,
                 from element.h:28,
                 from element.c:30:
/usr/include/gstreamer-0.10/gst/gstobject.h:283:3: error: unknown type name 'GStaticRecMutex'
   GStaticRecMutex *lock;
   ^
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 /usr/include/gstreamer-0.10/gst/interfaces/mixer.h:25,
                 from element.h:28,
                 from element.c:30:
/usr/include/gstreamer-0.10/gst/gsttask.h:149:3: error: unknown type name 'GStaticRecMutex'
   GStaticRecMutex *lock;
   ^
/usr/include/gstreamer-0.10/gst/gsttask.h:183:57: error: unknown type name 'GStaticRecMutex'
 void            gst_task_set_lock       (GstTask *task, GStaticRecMutex *mutex);
                                                         ^
/usr/include/gstreamer-0.10/gst/gsttask.h:184:57: error: unknown type name 'GThreadPriority'
 void            gst_task_set_priority   (GstTask *task, GThreadPriority priority);
                                                         ^
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 /usr/include/gstreamer-0.10/gst/interfaces/mixer.h:25,
                 from element.h:28,
                 from element.c:30:
/usr/include/gstreamer-0.10/gst/gstpad.h:671:3: error: unknown type name 'GStaticRecMutex'
   GStaticRecMutex  *stream_rec_lock;
   ^
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 /usr/include/gstreamer-0.10/gst/interfaces/mixer.h:25,
                 from element.h:28,
                 from element.c:30:
/usr/include/gstreamer-0.10/gst/gstelement.h:545:3: error: unknown type name 'GStaticRecMutex'
   GStaticRecMutex      *state_lock;
   ^
In file included from /usr/include/gstreamer-0.10/gst/gst.h:71:0,
                 from /usr/include/gstreamer-0.10/gst/interfaces/mixer.h:25,
                 from element.h:28,
                 from element.c:30:
/usr/include/gstreamer-0.10/gst/gsttrace.h:127:1: error: unknown type name 'GStaticMutex'
 extern GStaticMutex     _gst_trace_mutex;
 ^
make[3]: *** [element.o] Error 1
make[3]: Leaving directory `/tmp/msb/mate-media-1.5.2/gst-mixer/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/msb/mate-media-1.5.2/gst-mixer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/msb/mate-media-1.5.2'
make: *** [all] Error 2
Until I can figure out why this error is being thrown, I'll just remove the mate-media package from the list to be built.

UPDATE: The mate-build-extra.sh build script completely successfully.

Last edited by JohnB316; 03-28-2013 at 08:35 PM. Reason: Update comments
 
Old 03-28-2013, 09:22 PM   #108
fskmh
Member
 
Registered: Jun 2002
Location: South Africa
Distribution: Custom slackware64-current
Posts: 307

Rep: Reputation: 92
I can confirm that I get the same error here.

Upgrading to GStreamer-1.0.x doesn't seem to be the way to go because it is not ABI or API compatible with GStreamer 0.10.x. Just for the hell of it, I gave it a go and compiled gstreamer-1.0.6, gst-plugins-base-1.0.6, gst-plugins-good-1.0.6, gst-plugins-bad-1.0.6 and gst-plugins-ugly-1.0.6, but then I realised none of the other plugins (gst-ffmpeg etc.) have caught up yet. Of course then Amarok etc. would have to be recompiled as well.

Then I changed NUMJOBS in the mate-media.SlackBuild to 1 so that I could read all the output sequentially and I saw that it expects to be compiled against GStreamer-0.10.x in any case:
Code:
..
..
configure: WARNING: No package 'gstreamer-0.10' found
No package 'gstreamer-plugins-base-0.10' found
..
..
 
Old 03-28-2013, 10:43 PM   #109
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,651

Rep: Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772
libunique problem is confirmed and it's a bug on glib itself, not from libunique
See this bug report which leads to commit 0ea7abaed5, so yes, upgrading glib to 2.36 should have solved this problem
 
Old 03-28-2013, 11:10 PM   #110
chess
Member
 
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware and OpenBSD
Posts: 740

Original Poster
Rep: Reputation: 190Reputation: 190
Thanks for all the feedback -- I'm still trying to get to the point where I can test this out too. Family commitments and Easter weekend are causing some havoc 'round the household. I really appreciate you all testing out the scripts and reporting any issues! Thanks Willy for confirming and investigating.
 
Old 03-28-2013, 11:11 PM   #111
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,651

Rep: Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772
Another solution:

recompile glib2 with this patch
Code:
commit 0ea7abaed5cff685f4d825f13588979e5dcb8e5b
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Jan 30 17:59:09 2013 +0100

    gmacros: add G_GNUC_UNUSED to G_STATIC_ASSERT
    
    Silence some warnings seen with GCC 4.8.

 glib/gmacros.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glib/gmacros.h b/glib/gmacros.h
index b07eba7..7c21717 100644
--- a/glib/gmacros.h
+++ b/glib/gmacros.h
@@ -159,9 +159,9 @@
 #define G_PASTE_ARGS(identifier1,identifier2) identifier1 ## identifier2
 #define G_PASTE(identifier1,identifier2)      G_PASTE_ARGS (identifier1, identifier2)
 #ifdef __COUNTER__
-#define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
+#define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1] G_GNUC_UNUSED
 #else
-#define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __LINE__)[(expr) ? 1 : -1]
+#define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __LINE__)[(expr) ? 1 : -1] G_GNUC_UNUSED
 #endif
 #define G_STATIC_ASSERT_EXPR(expr) ((void) sizeof (char[(expr) ? 1 : -1]))
 #endif
and libunique should work again

i have sent request to Pat to include this patch backported to glib2-2.34.3
 
Old 03-28-2013, 11:16 PM   #112
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,651

Rep: Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772
I don't have problem rebuilding mate-media here on -Current with GCC 4.8.0 and glib2-2.34.3
probably the glib2 patch does the work on mate-media as well or probably mate-media is not ready yet with newer glib2

Last edited by willysr; 03-28-2013 at 11:17 PM.
 
Old 03-29-2013, 12:54 AM   #113
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,651

Rep: Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772
OK, it seems that we don't need to use the glib patch
i have pushed another update on libunique and it should work with the current version of glib available on -Current

Thanks to Patrick for this trick
 
Old 03-29-2013, 08:07 AM   #114
fskmh
Member
 
Registered: Jun 2002
Location: South Africa
Distribution: Custom slackware64-current
Posts: 307

Rep: Reputation: 92
Thanks willysr. I'm going to stay with glib2-2.36.0 for now to see what breaks. (Compiling libunique was already broken for me before the upgrade to gcc 4.8.0 in any case.)

Just for interest's sake, when glib2 was upgraded to 2.34.3, I recompiled non-stock stuff like glibmm-2.34.1 etc. to make sure the programs that depend on it continued to work. After upgrading to 2.36.0 I did not, and everything using the glib2 bindings still seems to be working. (Not really relevant to the MATE-desktop efforts at the moment I know.)

Last edited by fskmh; 03-29-2013 at 08:08 AM.
 
Old 03-29-2013, 08:27 AM   #115
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,651

Rep: Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772
I tested the build with previous GCC and libunique build always worked until GCC 4.8.0 gets released alongside with other GTK libraries upgrade few days ago, but now it builts fine
 
Old 04-01-2013, 03:55 PM   #116
JohnB316
Member
 
Registered: Jan 2007
Distribution: Slackware64 Current
Posts: 37

Rep: Reputation: 22
To add to my previous error messages, I did a search on the term "GStaticRecMutex." It turns out that the GStaticRecMutex function was deprecated in glib-2.31 in favor of GRecMutex (see https://developer.gnome.org/glib/2.3...read-APIs.html and https://gist.github.com/shadeslayer/1607267). I haven't dug into the MATE mixer source code, but if the calls to GStaticRecMutex in that code were replaced with GRecMutex, I think the errors I had building the MATE mixer against gcc-4.8.0 and glib-2.36.0 will go away. I'll do a bit of digging later tonight when I'm at my slack-current box.

EDIT: I did some digging in the source code from the github repo... there were no instances of "GStaticRecMutex" in the mixer source code. Hopefully the Makefile for the mixer has the CPPFLAG of DISABLE_DEPRECATED in it. I will have to check for that when I'm back at the slack-current box.

Last edited by JohnB316; 04-01-2013 at 04:20 PM. Reason: to correct some info
 
Old 04-01-2013, 07:29 PM   #117
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,651

Rep: Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772
use --disable-maintainer-flags and it will compile
 
Old 04-01-2013, 10:10 PM   #118
chess
Member
 
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware and OpenBSD
Posts: 740

Original Poster
Rep: Reputation: 190Reputation: 190
Please make sure to pull from git before building as updates and bug fixes are being pushed fairly regularly. I just built and installed /base and /extra on clean install 14.0 and -current 64 bit systems and everything is working aside from the things mentioned in KNOWN_ISSUES.TXT and CURRENT.TXT.
 
Old 04-02-2013, 07:23 PM   #119
JohnB316
Member
 
Registered: Jan 2007
Distribution: Slackware64 Current
Posts: 37

Rep: Reputation: 22
Quote:
Originally Posted by chess View Post
Please make sure to pull from git before building as updates and bug fixes are being pushed fairly regularly. I just built and installed /base and /extra on clean install 14.0 and -current 64 bit systems and everything is working aside from the things mentioned in KNOWN_ISSUES.TXT and CURRENT.TXT.
Chess,

Are you talking about pulling the updated buildscripts from your git repo or pulling updated MATE source code from its git repo?
 
Old 04-02-2013, 07:27 PM   #120
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,651

Rep: Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772
In Chess' git repo
The MATE source code will be downloaded via the script in the MSB git repo
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Ubuntu Precise Call For Testing Unity File Lens LXer Syndicated Linux News 0 03-09-2012 07:11 AM
Call for Testing: Xorg Updates (20100830) rworkman Slackware 213 02-01-2011 07:50 PM
[Call for testing] ibus SlackBuild grissiom Slackware 6 05-19-2009 10:39 AM
Use SlackBuilds.org or my own hosting to offer up SlackBuilds? hollywoodb Slackware 6 11-30-2006 08:56 PM
LXer: Call for testing/battering: sysjail LXer Syndicated Linux News 0 08-15-2006 03:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration