[ardour-users] compiling fails

Taybin Rutkin taybin at earthlink.net
Fri May 20 05:24:21 PDT 2005


Run scons as "scons KSI=no".  That'll disable compiling ksi on your  
computer.

Taybin

On May 20, 2005, at 7:09 AM, aTTi wrote:

> on my system compiling ardour from sources fails. these are the  
> last lines:
>
> g++ -O3 -fomit-frame-pointer -ffast-math -fstrength-reduce -Wall - 
> DENABLE_NLS -D_REENTRANT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE - 
> DPACKAGE=\"ksiardour\" -DDATA_DIR=\"\" -DLOCALEDIR=\"/locale\" - 
> DVERSIONSTRING=\"0.9beta25\" -Iksi_ardour -Ilibs -Ilibs -I/usr/ 
> include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/libxml2 - 
> Ilibs/sigc++ -Ilibs/sigc++/sigc++/config -Ilibs/soundtouch -Ilibs/ 
> ardour -Ilibs/midi++ -Ilibs/pbd -c -o ksi_ardour/ksi.o ksi_ardour/ 
> ksi.cc
> In file included from /usr/include/asm/system.h:7,
>                from /usr/include/asm/../asm-x86_64/processor.h:19,
>                from /usr/include/asm/processor.h:7,
>                from /usr/include/linux/prefetch.h:15,
>                from /usr/include/linux/list.h:5,
>                from /usr/include/linux/wait.h:12,
>                from /usr/include/linux/keyboard.h:4,
>                from ksi_ardour/physical_keyboard.h:27,
>                from ksi_ardour/ksi.cc:55:
> /usr/include/asm/../asm-x86_64/system.h:245: error: expected `,' or  
> `...' before "new"
> /usr/include/asm/../asm-x86_64/system.h: In function `long unsigned  
> int __cmpxchg(volatile void*, long unsigned int, long unsigned int)':
> /usr/include/asm/../asm-x86_64/system.h:248: error: `size'  
> undeclared (first use this function)
> /usr/include/asm/../asm-x86_64/system.h:248: error: (Each  
> undeclared identifier is reported only once for each function it  
> appears in.)
> /usr/include/asm/../asm-x86_64/system.h:252: error: expected  
> identifier before ')' token
> /usr/include/asm/../asm-x86_64/system.h:258: error: expected  
> identifier before ')' token
> /usr/include/asm/../asm-x86_64/system.h:264: error: expected  
> identifier before ')' token
> /usr/include/asm/../asm-x86_64/system.h:270: error: expected  
> identifier before ')' token
> In file included from /usr/include/asm/atomic.h:7,
>                from /usr/include/linux/pid.h:4,
>                from /usr/include/linux/wait.h:13,
>                from /usr/include/linux/keyboard.h:4,
>                from ksi_ardour/physical_keyboard.h:27,
>                from ksi_ardour/ksi.cc:55:
> /usr/include/asm/../asm-x86_64/atomic.h: At global scope:
> /usr/include/asm/../asm-x86_64/atomic.h:24: error: conflicting  
> declaration 'typedef struct atomic_t atomic_t'
> libs/pbd/pbd/atomic.h:241: error: 'atomic_t' has a previous  
> declaration as `typedef struct atomic_t atomic_t'
> /usr/include/asm/../asm-x86_64/atomic.h:24: error: declaration of  
> `typedef struct atomic_t atomic_t'
> libs/pbd/pbd/atomic.h:241: error: conflicts with previous  
> declaration `typedef struct atomic_t atomic_t'
> /usr/include/asm/../asm-x86_64/atomic.h:24: error: declaration of  
> `typedef struct atomic_t atomic_t'
> libs/pbd/pbd/atomic.h:241: error: conflicts with previous  
> declaration `typedef struct atomic_t atomic_t'
> /usr/include/asm/../asm-x86_64/atomic.h:24: error: declaration of  
> `typedef struct atomic_t atomic_t'
> libs/pbd/pbd/atomic.h:241: error: conflicts with previous  
> declaration `typedef struct atomic_t atomic_t'
> /usr/include/asm/../asm-x86_64/atomic.h: In function `void  
> atomic_add(int, atomic_t*)':
> /usr/include/asm/../asm-x86_64/atomic.h:53: error: redefinition of  
> `void atomic_add(int, atomic_t*)'
> libs/pbd/pbd/atomic.h:273: error: `void atomic_add(int, atomic_t*)'  
> previously defined here
> /usr/include/asm/../asm-x86_64/atomic.h: In function `void  
> atomic_sub(int, atomic_t*)':
> /usr/include/asm/../asm-x86_64/atomic.h:68: error: redefinition of  
> `void atomic_sub(int, atomic_t*)'
> libs/pbd/pbd/atomic.h:289: error: `void atomic_sub(int, atomic_t*)'  
> previously defined here
> /usr/include/asm/../asm-x86_64/atomic.h: In function `int  
> atomic_sub_and_test(int, atomic_t*)':
> /usr/include/asm/../asm-x86_64/atomic.h:85: error: redefinition of  
> `int atomic_sub_and_test(int, atomic_t*)'
> libs/pbd/pbd/atomic.h:307: error: `int atomic_sub_and_test(int,  
> atomic_t*)' previously defined here
> /usr/include/asm/../asm-x86_64/atomic.h: In function `void  
> atomic_inc(atomic_t*)':
> /usr/include/asm/../asm-x86_64/atomic.h:102: error: redefinition of  
> `void atomic_inc(atomic_t*)'
> libs/pbd/pbd/atomic.h:325: error: `void atomic_inc(atomic_t*)'  
> previously defined here
> /usr/include/asm/../asm-x86_64/atomic.h: In function `void  
> atomic_dec(atomic_t*)':
> /usr/include/asm/../asm-x86_64/atomic.h:116: error: redefinition of  
> `void atomic_dec(atomic_t*)'
> libs/pbd/pbd/atomic.h:340: error: `void atomic_dec(atomic_t*)'  
> previously defined here
> /usr/include/asm/../asm-x86_64/atomic.h: In function `int  
> atomic_dec_and_test(atomic_t*)':
> /usr/include/asm/../asm-x86_64/atomic.h:132: error: redefinition of  
> `int atomic_dec_and_test(atomic_t*)'
> libs/pbd/pbd/atomic.h:357: error: `int atomic_dec_and_test 
> (atomic_t*)' previously defined here
> /usr/include/asm/../asm-x86_64/atomic.h: In function `int  
> atomic_inc_and_test(atomic_t*)':
> /usr/include/asm/../asm-x86_64/atomic.h:151: error: redefinition of  
> `int atomic_inc_and_test(atomic_t*)'
> libs/pbd/pbd/atomic.h:377: error: `int atomic_inc_and_test 
> (atomic_t*)' previously defined here
> /usr/include/asm/../asm-x86_64/atomic.h: In function `int  
> atomic_add_negative(int, atomic_t*)':
> /usr/include/asm/../asm-x86_64/atomic.h:171: error: redefinition of  
> `int atomic_add_negative(int, atomic_t*)'
> libs/pbd/pbd/atomic.h:398: error: `int atomic_add_negative(int,  
> atomic_t*)' previously defined here
> ksi_ardour/ksi.cc: In member function `void KSI::remove_location()':
> ksi_ardour/ksi.cc:602: error: 'class ARDOUR::Locations' has no  
> member named 'get_current'
> ksi_ardour/ksi.cc: In member function `int  
> KSI::update_current_location_display()':
> ksi_ardour/ksi.cc:741: error: 'class ARDOUR::Locations' has no  
> member named 'get_current'
> scons: *** [ksi_ardour/ksi.o] Error 1
> scons: building terminated because of errors.
>
> my system is a gentoo 2005.0:
> Linux amd 2.6.11-gentoo-r7 #4 Fri May 13 01:13:16 MEST 2005 x86_64  
> AMD Athlon(tm) 64 Processor 3200+ AuthenticAMD GNU/Linux
>
> i tried to emerge it before, but this also failed.
> anybody got an idea what's wrong
> _______________________________________________
> ardour-users-ardour.org mailing list
> ardour-users at lists.ardour.org
> http://lists.ardour.org/listinfo.cgi/ardour-users-ardour.org
>




More information about the Ardour-Users mailing list