[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
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
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.


More information about the Ardour-Dev mailing list