After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 104715 - [Solaris] Can't build it!
[Solaris] Can't build it!
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.5.2
Other Solaris
: Normal normal
: 0.4.0
Assigned To: Brian Cameron
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-01-29 11:17 UTC by Jonas Jonsson
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.1/2.2


Attachments
The config log (64.71 KB, text/plain)
2003-01-29 11:20 UTC, Jonas Jonsson
Details

Description Jonas Jonsson 2003-01-29 11:17:05 UTC
Configured with: ../gcc-3.0.4/configure --prefix=/appl/gnu/gcc-3.0.4_sol2.8
--with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld
Thread model: posix
gcc version 3.0.4

/usr/ccs/bin/as -V
/usr/ccs/bin/as: Sun WorkShop 6 99/08/18

/usr/ccs/bin/ld -V
ld: Software Generation Utilities - Solaris-ELF (4.0)


make[4]: Entering directory
`/var/tmp/garnome-0.20.0/gstreamer/gstreamer/work/gstreamer-0.5.2/gst'
source='gstatomic.c' object='libgstreamer_0.5_la-gstatomic.lo' libtool=yes \
depfile='.deps/libgstreamer_0.5_la-gstatomic.Plo'
tmpdepfile='.deps/libgstreamer_0.5_la-gstatomic.TPlo' \
depmode=gcc3 /bin/bash ../depcomp \
/bin/bash ../libtool --mode=compile /appl/gnu/gcc-3.0.4_sol2.8/bin/gcc
-DHAVE_CONFIG_H -I. -I. -I..   -I/home/konjojo/Solaris/gnome-2.2/include
-I/usr/openwin/include -I/home/konjojo/Solaris/include
-I/home/konjojo/Solaris/gnome-2.2/include -I/usr/openwin/include
-I/home/konjojo/Solaris/include -I/home/konjojo/Solaris/gnome-2.2/include
-I/usr/openwin/include -I/home/konjojo/Solaris/include
-I/home/konjojo/Solaris/gnome-2.2/include -I/usr/openwin/include
-I/home/konjojo/Solaris/include -D_GNU_SOURCE -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64   -I/home/konjojo/Solaris/gnome-2.2/include/libxml2
  -pthreads -I/home/konjojo/Solaris/gnome-2.2/include/glib-2.0
-I/home/konjojo/Solaris/gnome-2.2/lib/glib-2.0/include   -I.. 
-DGST_DISABLE_DEPRECATED -g -I../libs -I../include
-DG_LOG_DOMAIN=g_log_domain_gstreamer
-DGST_CACHE_DIR=\""/home/konjojo/Solaris/gnome-2.2/var/cache/gstreamer-0.5"\"
 -O2 -g -c -o libgstreamer_0.5_la-gstatomic.lo `test -f 'gstatomic.c' ||
echo './'`gstatomic.c
/appl/gnu/gcc-3.0.4_sol2.8/bin/gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/home/konjojo/Solaris/gnome-2.2/include -I/usr/openwin/include
-I/home/konjojo/Solaris/include -I/home/konjojo/Solaris/gnome-2.2/include
-I/usr/openwin/include -I/home/konjojo/Solaris/include
-I/home/konjojo/Solaris/gnome-2.2/include -I/usr/openwin/include
-I/home/konjojo/Solaris/include -I/home/konjojo/Solaris/gnome-2.2/include
-I/usr/openwin/include -I/home/konjojo/Solaris/include -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/home/konjojo/Solaris/gnome-2.2/include/libxml2 -pthreads
-I/home/konjojo/Solaris/gnome-2.2/include/glib-2.0
-I/home/konjojo/Solaris/gnome-2.2/lib/glib-2.0/include -I..
-DGST_DISABLE_DEPRECATED -g -I../libs -I../include
-DG_LOG_DOMAIN=g_log_domain_gstreamer
-DGST_CACHE_DIR=\"/home/konjojo/Solaris/gnome-2.2/var/cache/gstreamer-0.5\"
-O2 -g -c gstatomic.c -MT libgstreamer_0.5_la-gstatomic.lo -MD -MP -MF
.deps/libgstreamer_0.5_la-gstatomic.TPlo  -fPIC -DPIC -o
libgstreamer_0.5_la-gstatomic.lo
In file included from gstatomic.c:24:
gstatomic_impl.h: In function `gst_atomic_int_dec_and_test':
gstatomic_impl.h:274: `val' undeclared (first use in this function)
gstatomic_impl.h:274: (Each undeclared identifier is reported only once
gstatomic_impl.h:274: for each function it appears in.)
make[4]: *** [libgstreamer_0.5_la-gstatomic.lo] Error 1
make[4]: Leaving directory
`/var/tmp/garnome-0.20.0/gstreamer/gstreamer/work/gstreamer-0.5.2/gst'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/garnome-0.20.0/gstreamer/gstreamer/work/gstreamer-0.5.2/gst'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/var/tmp/garnome-0.20.0/gstreamer/gstreamer/work/gstreamer-0.5.2/gst'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/garnome-0.20.0/gstreamer/gstreamer/work/gstreamer-0.5.2'
make: *** [all] Error 2
Comment 1 Jonas Jonsson 2003-01-29 11:20:33 UTC
Created attachment 13910 [details]
The config log
Comment 2 Peter O'Shea 2003-03-15 17:20:59 UTC
I ran into this also.  It's pretty simple, in the Sparc Solaris
version of the  gst_atomic_int_dec_and_test (GstAtomicInt *aint)
function, someone neglected to define val.  Obviously this hasn't been
successfully compiled on Sparc before!

Looking at other versions of that function written for different
architectures, it looks like the decrement value is one, so I just put
in an "int val=1" line, and it compiles.  Whether it works or not I
have no idea, there are other Solaris compile problems.
Comment 3 Brian Cameron 2003-03-18 11:38:29 UTC
Note that in HEAD, that this code is surrounded by 

#elif defined(HAVE_CPU_SPARC) && defined(__GNUC__) && 0

Note the "&& 0".  Therefore this code should not be used if you
are compiling with the HEAD version of gstreamer.  This code is
broken, and until it is fixed, it should not be used.  The
generic implementations of these functions are appropriate for
Solaris, at this time.
Comment 4 Ronald Bultje 2003-04-07 17:22:18 UTC
Fixed in 0.6.1 since it's now surrounded by #if 0 there too. Optimized
implementation will come later and doesn't need a bugzilla entry.