[ardour-dev] build error with g_atomic_int_set

Paul Davis paul at linuxaudiosystems.com
Thu Jun 8 13:49:19 PDT 2006


On Thu, 2006-06-08 at 18:30 +0200, John Anderson wrote:
> 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.

as now documented at http://ardour.org/building, ardour 2.0 now requires
glib 2.10.3 (you do not need to upgrade gtk but you might be advised
to). this change was made yesterday. we are using glib to aid in the
windows port.




More information about the Ardour-Dev mailing list