gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/libxml2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I.. -DGST_DISABLE_DEPRECATED -g -I../libs -I../include -DG_LOG_DOMAIN=g_log_domain_gstreamer -DGST_CACHE_DIR=\"/var/lib/cache/gstreamer-0.6\" -mcpu=v8 -O2 -pipe -c gstatomic.c -MT libgstreamer_0.6_la-gstatomic.lo -MD -MP -MF .deps/libgstreamer_0.6_la-gstatomic.TPlo -fPIC -DPIC -o .libs/libgstreamer_0.6_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.6_la-gstatomic.lo] Error 1 make[4]: Leaving directory `/var/tmp/portage/gstreamer-0.6.0-r2/work/gstreamer-0.6.0/gst' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/gstreamer-0.6.0-r2/work/gstreamer-0.6.0/gst' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/gstreamer-0.6.0-r2/work/gstreamer-0.6.0/gst' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gstreamer-0.6.0-r2/work/gstreamer-0.6.0' make: *** [all] Error 2 !!! ERROR: media-libs/gstreamer-0.6.0-r2 failed. !!! Function src_compile, Line 72, Exitcode 2 !!! compile failed At that .h, gst_atomic_int_dec_and_test is defined several times, one for earch arch. At the sparc definition, val is incremented, but not defined. I don't have a clue if it needs to be initialized, so I'm gonna leave it like that. (BTW, a CVS for this file can be found at http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstatomic_impl.h, and works from where I'm standing)
*** This bug has been marked as a duplicate of 15502 ***
Closing