Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
03-28-2013, 08:17 PM
|
#106
|
Member
Registered: Jan 2007
Distribution: Slackware64 Current
Posts: 37
Rep:
|
Quote:
Originally Posted by fskmh
|
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.
|
|
|
03-28-2013, 09:08 PM
|
#107
|
Member
Registered: Jan 2007
Distribution: Slackware64 Current
Posts: 37
Rep:
|
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 09:35 PM.
Reason: Update comments
|
|
|
03-28-2013, 10:22 PM
|
#108
|
Member
Registered: Jun 2002
Location: South Africa
Distribution: Custom slackware64-current
Posts: 308
Rep:
|
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
..
..
|
|
|
03-28-2013, 11:43 PM
|
#109
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,791
|
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
|
|
|
03-29-2013, 12:10 AM
|
#110
|
Member
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware and OpenBSD
Posts: 740
Original Poster
Rep:
|
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.
|
|
|
03-29-2013, 12:11 AM
|
#111
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,791
|
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
|
|
|
03-29-2013, 12:16 AM
|
#112
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,791
|
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-29-2013 at 12:17 AM.
|
|
|
03-29-2013, 01:54 AM
|
#113
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,791
|
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
|
|
|
03-29-2013, 09:07 AM
|
#114
|
Member
Registered: Jun 2002
Location: South Africa
Distribution: Custom slackware64-current
Posts: 308
Rep:
|
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 09:08 AM.
|
|
|
03-29-2013, 09:27 AM
|
#115
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,791
|
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
|
|
|
04-01-2013, 04:55 PM
|
#116
|
Member
Registered: Jan 2007
Distribution: Slackware64 Current
Posts: 37
Rep:
|
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 05:20 PM.
Reason: to correct some info
|
|
|
04-01-2013, 08:29 PM
|
#117
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,791
|
use --disable-maintainer-flags and it will compile
|
|
|
04-01-2013, 11:10 PM
|
#118
|
Member
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware and OpenBSD
Posts: 740
Original Poster
Rep:
|
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.
|
|
|
04-02-2013, 08:23 PM
|
#119
|
Member
Registered: Jan 2007
Distribution: Slackware64 Current
Posts: 37
Rep:
|
Quote:
Originally Posted by chess
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?
|
|
|
04-02-2013, 08:27 PM
|
#120
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,791
|
In Chess' git repo
The MATE source code will be downloaded via the script in the MSB git repo
|
|
|
All times are GMT -5. The time now is 12:09 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|