[gst-devel] atomic ops for Sparc

Holzrichter, Bruce bruce.holzrichter at monster.com
Thu Mar 13 08:51:06 CET 2003


I am trying to compile gstreamer, by way of installing garnome, on a Sparc
Linux box, and it's failing because of the following..

../../gst/.libs/libgstreamer-0.6.so: undefined reference to `___atomic_add'
../../gst/.libs/libgstreamer-0.6.so: undefined reference to `___atomic_sub'
collect2: ld returned 1 exit status
make[8]: *** [autoplugtest] Error 1
make[8]: Leaving directory
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory
make[6]: *** [all] Error 2
make[6]: Leaving directory
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory
make[4]: *** [all] Error 2
make[4]: Leaving directory
make[3]: *** [build-work/main.d/gstreamer-0.6.0/Makefile] Error 2
make[3]: Leaving directory
make[2]: *** [../../gstreamer/gstreamer/cookies/main.d/install] Error 2
make[2]: Leaving directory
make[1]: *** [../../gstreamer/gst-plugins/cookies/main.d/install] Error 2
make[1]: Leaving directory `/home/bholzric/garnome-0.21.2/gnome/gnome-media'
make: *** [../../gnome/gnome-media/cookies/main.d/install] Error 2

I looked at the source for this, and it looks like the atomic ops are pulled
directly from the kernel source for Linux, but the functions call assembly
routines that don't look to be included in gstreamer.  I was wondering if
there is any way to work around that, or if anyone had thoughts on it.  From
what I can see, the calls are defined in kernel source at
arch/sparc/lib/atomic.S.  Any thoughts on how to integrate or fix it?  I
think it's mostly over my ability...

I am not subscribed, so please CC if you have any thoughts..

Bruce H.

More information about the gstreamer-devel mailing list