[ardour-users] Error compiling with scons

Brett McCoy idragosani at chapelperilous.net
Thu Jul 28 20:36:39 PDT 2005

Matt Carr wrote:
> When I try to compile Ardour with scons I get this error.
> Anyone know what this means?
> g++ -O3 -fomit-frame-pointer -ffast-math -fstrength-reduce -mmmx -msse -mfpm
> ath=sse -m3dnow -march=i686 -Wall -DENABLE_NLS -D_REENTRANT -D_LARGEFILE_SOU
> R=\"/locale\" -DVERSIONSTRING=\"0.9beta25\" -Iksi_ardour -Ilibs -Ilibs -I/us
> r/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/libxml2 -Ilibs/sig
> c++ -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/linux/spinlock.h:39,
>                        from /usr/include/linux/wait.h:15,
>                        from /usr/include/linux/keyboard.h:4,
>                        from ksi_ardour/physical_keyboard.h:27,
>                        from ksi_ardour/ksi.cc:55:
> /usr/include/asm/spinlock.h: In function `void _raw_read_lock(rwlock_t*)':
> /usr/include/asm/spinlock.h:207: error: parse error before string constant
> /usr/include/asm/spinlock.h: In function `void _raw_write_lock(rwlock_t*)':
> /usr/include/asm/spinlock.h:215: error: parse error before string constant
> scons: *** [ksi_ardour/ksi.o] Error 1
> scons: building terminated because of errors.
> bash-2.05b#

Compiling ksi breaks the build on my machine also... unless you need it, 
you should disable building ksi (scons -h will tell you how, I think 
it's KSI=0)

-- Brett
Programmer by Day, Guitarist by Night

More information about the Ardour-Users mailing list