Hello: I've been asked by Florent Berthaut, the developer of Tranches. I'm posting to both lists just in case this problem isn't exclusive to Ubuntu 8.04. I just tried building Tranches in UbuntuStudio 8.04, and came up with some errors, the first of which is below: src/base/tranches.o: In function `__exchange_and_add': /usr/include/c++/4.2/ext/atomicity.h:51: undefined reference to `__sync_fetch_and_add_4' /usr/include/c++/4.2/ext/atomicity.h:51: undefined reference to `__sync_fetch_and_add_4' /usr/include/c++/4.2/ext/atomicity.h:51: undefined reference to `__sync_fetch_and_add_4' /usr/include/c++/4.2/ext/atomicity.h:51: undefined reference to `__sync_fetch_and_add_4' /usr/include/c++/4.2/ext/atomicity.h:51: undefined reference to `__sync_fetch_and_add_4' src/base/tranches.o:/usr/include/c++/4.2/bits/basic_string.h:234: more undefined references to `__sync_fetch_and_add_4' follow collect2: ld returned 1 exit status scons: *** [tranches] Error 1 scons: building terminated because of errors. I contacted the developer, Florent Berthaut, and he provided this modification for the SConstruct script: env = Environment(CC = 'gcc',CCFLAGS ='-I/usr/include/libxml2/ -I/usr/include/lash-1.0/',LIBS=['asound','lash','pthread','xml2','sndfile','samplerate','jack']) env.ParseConfig('fltk-config --libs --cxxflags --ldflags --use-images') The modification yielded this error when trying to build Tranches: In file included from src/audio/../base/tranches.h:31, from src/audio/jackProcess.cpp:26: src/audio/../base/../lash/lashClient.h:28:23: error: lash/lash.h: No such file or directory In file included from src/audio/../base/tranches.h:31, from src/audio/jackProcess.cpp:26: src/audio/../base/../lash/lashClient.h:46: error: ISO C++ forbids declaration of 'lash_args_t' with no type src/audio/../base/../lash/lashClient.h:46: error: expected ';' before '*' token src/audio/../base/../lash/lashClient.h:47: error: ISO C++ forbids declaration of 'lash_client_t' with no type src/audio/../base/../lash/lashClient.h:47: error: expected ';' before '*' token scons: *** [src/audio/jackProcess.o] Error 1 scons: building terminated because of errors. Florent's first question was whether I had lash-dev installed: as it turns out I did. This modfication came later... env = Environment(CC = 'gcc',CCFLAGS ='-I/usr/include/libxml2/ ',LIBS=['asound','lash','pthread','xml2','sndfile','samplerate','jack']) env.ParseConfig('fltk-config --libs --cxxflags --ldflags --use-images') env.ParseConfig('pkg-config --libs --cflags lash-1.0') Tranches was built sucessfully after using this modification to SConstruct. Florent asked that I post this to the lists for anyone that might be having a similar problem. Now I just have to figure out how Tranches works ..... ;) Thanks, Ernie -- "Both Rob and I see sound as shapes. I only have to do this (makes a fist) and he knows what sound I mean". - Autechre ::::::::::::::::::::::::::::::::::::::::::: Ernie Dulanowsky www.pulsewidth.ca _______________________________________________ Linux-audio-user mailing list Linux-audio-user@xxxxxxxxxxxxxxxxxxxx http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user