[ardour-dev] build error with g_atomic_int_set

John Anderson ardour at semiosix.com
Thu Jun 8 09:30:07 PDT 2006


I'm using latest svn version, build fails with this error:

g++ -O3 -fomit-frame-pointer -ffast-math -fstrength-reduce -DARCH_X86
-mmmx -m3d now -march=i686 -msse -mfpmath=sse -DBUILD_SSE_OPTIMIZATIONS
-Wall -DHAVE_LIBLO -DENABLE_NLS -DHAVE_GETMNTENT -DPACKAGE=\"libpbd\"
-D_REENTRANT -D_LARGEFILE_SOU RCE -D_LARGEFILE64_SOURCE
-DLIBSIGC_DISABLE_DEPRECATED -DHAVE_EXECINFO -fPIC -I/
usr/include/glib-2.0 -Ilibs/sigc++2 -Ilibs/glibmm2
-I/usr/lib/glib-2.0/include - Ilibs/pbd3 -I/usr/include/libxml2 -c -o
libs/pbd3/pool.os libs/pbd3/pool.cc
In file included from libs/pbd3/pbd/pool.h:29,
                 from libs/pbd3/pool.cc:24:
libs/pbd3/pbd/ringbuffer.h: In member function `void
RingBuffer<T>::reset()':
libs/pbd3/pbd/ringbuffer.h:51: error: there are no arguments to
`g_atomic_int_set' that depend on a template parameter, so a declaration
of `g_atomic_int_set' m ust be available

There isn't a declaration of g_atomic_int_set in the header files - I'm
using glib-2.8.5. Looks like it was only added in glib-2.9.2. FWIW,
anything newer than glib-2.8.6 is masked in gentoo.

bye
John





More information about the Ardour-Dev mailing list