[proaudio] ardour2 build error

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Hi, I'm getting the following error building ardour2:

g++ -O3 -fomit-frame-pointer -ffast-math -fstrength-reduce -DARCH_X86 -mmmx -march=i686 -msse -mfpmath=sse -DBUILD_SSE_OPTIMIZATIONS -Wall -DHAVE_LIBLO -DENABLE_NLS -DHAVE_GETMNTENT -Woverloaded-virtual -DPACKAGE=\"libpbd\" -D_REENTRANT -D_LARGEFILE_SOURCE -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/pbd -I/usr/include/libxml2 -c -o libs/pbd/pool.os libs/pbd/pool.cc
In file included from libs/pbd/pbd/pool.h:29,
                 from libs/pbd/pool.cc:24:
libs/pbd/pbd/ringbuffer.h: In member function `void RingBuffer<T>::reset()':
libs/pbd/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' must be available
libs/pbd/pbd/ringbuffer.h:51: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
libs/pbd/pbd/ringbuffer.h:52: error: there are no arguments to `g_atomic_int_set' that depend on a template parameter, so a declaration of `g_atomic_int_set' must be available
libs/pbd/pbd/ringbuffer.h: In member function `void RingBuffer<T>::set(size_t, size_t)':
libs/pbd/pbd/ringbuffer.h:57: error: there are no arguments to `g_atomic_int_set' that depend on a template parameter, so a declaration of `g_atomic_int_set' must be available
libs/pbd/pbd/ringbuffer.h:58: error: there are no arguments to `g_atomic_int_set' that depend on a template parameter, so a declaration of `g_atomic_int_set' must be available
libs/pbd/pbd/ringbuffer.h: In member function `void RingBuffer<T>::decrement_read_ptr(size_t)':
libs/pbd/pbd/ringbuffer.h:73: error: there are no arguments to `g_atomic_int_set' that depend on a template parameter, so a declaration of `g_atomic_int_set' must be available
libs/pbd/pbd/ringbuffer.h: In member function `void RingBuffer<T>::increment_read_ptr(size_t)':
libs/pbd/pbd/ringbuffer.h:77: error: there are no arguments to `g_atomic_int_set' that depend on a template parameter, so a declaration of `g_atomic_int_set' must be available
libs/pbd/pbd/ringbuffer.h: In member function `void RingBuffer<T>::increment_write_ptr(size_t)':
libs/pbd/pbd/ringbuffer.h:81: error: there are no arguments to `g_atomic_int_set' that depend on a template parameter, so a declaration of `g_atomic_int_set' must be available
libs/pbd/pbd/ringbuffer.h: In member function `size_t RingBuffer<T>::read(T*, size_t)':
libs/pbd/pbd/ringbuffer.h:160: error: there are no arguments to `g_atomic_int_set' that depend on a template parameter, so a declaration of `g_atomic_int_set' must be available
libs/pbd/pbd/ringbuffer.h: In member function `size_t RingBuffer<T>::write(T*, size_t)':
libs/pbd/pbd/ringbuffer.h:200: error: there are no arguments to `g_atomic_int_set' that depend on a template parameter, so a declaration of `g_atomic_int_set' must be available
libs/pbd/pbd/ringbuffer.h: In member function `size_t RingBuffer<T>::write(T*, size_t) [with T = void*]':
libs/pbd/pool.cc:49:   instantiated from here
libs/pbd/pbd/ringbuffer.h:200: error: `g_atomic_int_set' undeclared (first use this function)
libs/pbd/pbd/ringbuffer.h:200: error: (Each undeclared identifier is reported only once for each function it appears in.)
libs/pbd/pbd/ringbuffer.h: In member function `size_t RingBuffer<T>::read(T*, size_t) [with T = void*]':
libs/pbd/pool.cc:66:   instantiated from here
libs/pbd/pbd/ringbuffer.h:160: error: `g_atomic_int_set' undeclared (first use this function)
libs/pbd/pbd/ringbuffer.h: In member function `void RingBuffer<T>::reset() [with T = void*]':
libs/pbd/pbd/ringbuffer.h:41:   instantiated from `RingBuffer<T>::RingBuffer(size_t) [with T = void*]'
libs/pbd/pool.cc:34:   instantiated from here
libs/pbd/pbd/ringbuffer.h:51: error: `g_atomic_int_set' undeclared (first use this function)
scons: *** [libs/pbd/pool.os] Error 1
scons: building terminated because of errors.

!!! ERROR: media-sound/ardour2-9999 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  ardour2-9999.ebuild, line 106:   Called die

!!! compilation failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! This ebuild is from an overlay: '/usr/portage/local/layman/pro-audio'

Does this look like a regular bug or something wrong with my C++ environment?

Thanks for the help!
Mike


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/