On 06/01/12 13:37, L'oiseau de mer wrote: > Because Solaris 10 hasn't any gstreamer version enabled , the system's > gstreamer is 0.8. > I try to build new gstreamer for AOO and install to a independant area, > the area include "glib-2.20.5 , libxml-2.7.8 , gstreamer-0.10.24 , > gstreamer-plugins-base-0.10.24, gst-plugins-good-0.10.16ćliboil-0.3.7" > And i use /usr/sfw/bin/gcc build them, and it is success. > > Then i build AOO and --enable-gstreamer is passed. > the compiler for building AOO is SolarisStudio 12.3
AFAIK in Hamburg we never built GStreamer support on Solaris; i have built it successfully with configure on Solaris 11 early in 2010, which required some fixes to avmediagst (the fixes are integrated in DEV300m106). so in the worst case, leaving out GStreamer on Solaris wouldn't be a feature regression. > But when building, it appear the error message: > > ============= > Building module avmedia > ============= > > Entering /UNIX-LAB/ooo/main/avmedia/source/quicktime > > Nothing to build for GUIBASE=unx > > Entering /UNIX-LAB/ooo/main/avmedia/source/gstreamer > > Compiling: avmediagst/source/gstreamer/gstplayer.cxx > "/UNIX-LAB/ooo/main/avmedia/source/gstreamer/gstplayer.hxx", line 164: > Error: Formal argument atomic of type int* in call to > g_atomic_int_get(int*) is being passed const int*. > "/UNIX-LAB/ooo/main/avmedia/source/gstreamer/gstplayer.cxx", line 196: > Error: Formal argument atomic of type void** in call to > g_atomic_pointer_get(void**) is being passed _GstElement**. > "/UNIX-LAB/ooo/main/avmedia/source/gstreamer/gstplayer.cxx", line 933: > Error: Formal argument atomic of type void** in call to > g_atomic_pointer_get(void**) is being passed avmedia::gst::Window**. > "/UNIX-LAB/ooo/main/avmedia/source/gstreamer/gstplayer.cxx", line 939: > Error: Formal argument atomic of type void** in call to > g_atomic_pointer_get(void**) is being passed avmedia::gst::Window**. > "/UNIX-LAB/ooo/main/avmedia/source/gstreamer/gstplayer.cxx", line 939: > Error: Formal argument atomic of type void** in call to > g_atomic_pointer_get(void**) is being passed avmedia::gst::Window**. > > ====================================================== > > So,is this compiler's problem or my build gstreamer lib has problem ? > Can anyone help me?Thanks. i didn't encounter the problems you have, guess you are using an older version of glib. in glib 2.30 the signature looks like this, which shouldn't cause this problem: gpointer g_atomic_pointer_get(volatile void *atomic);
