GNOME Bugzilla – Bug 108477
Compile fails in gst/autoplug
Last modified: 2004-12-22 21:47:04 UTC
Compile on Solaris fails at this step: /home/poshea/usr/bin/gcc -O3 -mcpu=ultrasparc -I/home/poshea/usr/include -I/home/poshea/usr/gnome2/include -o .libs/autoplugtest autoplugtest-autoplugtest.o -threads -L/home/poshea/usr/gnome2/lib -L/home/poshea/usr/lib -L/usr/ucblib ../../gst/.libs/libgstreamer-0.6.so /home/poshea/usr/lib/libxml2.so -lz -lm -lsocket -lnsl /home/poshea/usr/gnome2/lib/libgobject-2.0.so /home/poshea/usr/gnome2/lib/libgthread-2.0.so /home/poshea/usr/gnome2/lib/libgmodule-2.0.so -ldl /home/poshea/usr/gnome2/lib/libglib-2.0.so /home/poshea/usr/lib/libintl.so -lc /home/poshea/usr/lib/libiconv.so /home/poshea/usr/lib/libpopt.so -R/home/poshea/usr/gnome2/lib -R/home/poshea/usr/lib -R/usr/ucblib Undefined first referenced symbol in file ___atomic_add ../../gst/.libs/libgstreamer-0.6.so ___atomic_sub ../../gst/.libs/libgstreamer-0.6.so ld: fatal: Symbol referencing errors. No output written to .libs/autoplugtest collect2: ld returned 1 exit status gmake[4]: *** [autoplugtest] Error 1 gmake[4]: Leaving directory `/home/poshea/usr/source/gnome2/gstreamer-0.6.0/gst/autoplug'
This is a known bug and will be fixed in 0.6.1 if we we don't screw up our Solaris testing. I'm currently not finding the bug it's a duplicate of but that should be in here. If you want to get around it, disable the sparc optimizations in gst/gstatomic_impl.h
sparc optimizations have been marked with #if 0, so this bug shouldn't appear in 0.6.1.