[ardour-dev] Compilation error

Olivier Doaré nolv at free.fr
Thu Jun 22 09:40:17 PDT 2006


Hello,

I get this error since approximately one week. Ardour2 used to compile 
very well before.

$ gcc -v gives :
gcc version 4.0.1 (4.0.1-5mdk for Mandriva Linux release 2006.0)

Here is the output of scons :

g++ -O3 -fomit-frame-pointer -ffast-math -fstrength-reduce -DARCH_X86 
-mmmx -m3dnow -march=i686 -msse -mfpmath=sse -DBUILD_SSE_OPTIMIZATIONS 
-Wall -DHAVE_LIBLO -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/pbd3 -I/usr/include/libxml2 -c -o 
libs/pbd3/pool.os libs/pbd3/pool.cc
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' must be available
libs/pbd3/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/pbd3/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/pbd3/pbd/ringbuffer.h: In member function 'void 
RingBuffer<T>::set(size_t, size_t)':
libs/pbd3/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/pbd3/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/pbd3/pbd/ringbuffer.h: In member function 'void 
RingBuffer<T>::decrement_read_ptr(size_t)':
libs/pbd3/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/pbd3/pbd/ringbuffer.h: In member function 'void 
RingBuffer<T>::increment_read_ptr(size_t)':
libs/pbd3/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/pbd3/pbd/ringbuffer.h: In member function 'void 
RingBuffer<T>::increment_write_ptr(size_t)':
libs/pbd3/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/pbd3/pbd/ringbuffer.h: In member function 'size_t 
RingBuffer<T>::read(T*, size_t)':
libs/pbd3/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/pbd3/pbd/ringbuffer.h: In member function 'size_t 
RingBuffer<T>::write(T*, size_t)':
libs/pbd3/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/pbd3/pbd/ringbuffer.h: In member function 'size_t 
RingBuffer<T>::write(T*, size_t) [with T = void*]':
libs/pbd3/pool.cc:49:   instantiated from here
libs/pbd3/pbd/ringbuffer.h:200: error: 'g_atomic_int_set' was not 
declared in this scope
libs/pbd3/pbd/ringbuffer.h: In member function 'size_t 
RingBuffer<T>::read(T*, size_t) [with T = void*]':
libs/pbd3/pool.cc:66:   instantiated from here
libs/pbd3/pbd/ringbuffer.h:160: error: 'g_atomic_int_set' was not 
declared in this scope
libs/pbd3/pbd/ringbuffer.h: In member function 'void 
RingBuffer<T>::reset() [with T = void*]':
libs/pbd3/pbd/ringbuffer.h:41:   instantiated from 
'RingBuffer<T>::RingBuffer(size_t) [with T = void*]'
libs/pbd3/pool.cc:34:   instantiated from here
libs/pbd3/pbd/ringbuffer.h:51: error: 'g_atomic_int_set' was not 
declared in this scope
scons: *** [libs/pbd3/pool.os] Error 1
scons: building terminated because of errors.



Bye
--
Olivier




More information about the Ardour-Dev mailing list