Csound Csound-dev Csound-tekno Search About

[Csnd] Building Csound 6 RPi - Raspbian

Date2013-08-16 18:43
FromJason Timm
Subject[Csnd] Building Csound 6 RPi - Raspbian
I've had some luck building csound 6 on Raspbian with bare bones dependencies  - libsndfile1-dev, python2.6-dev, scons. Unfortunately -+rtaudio=alsa wasn't recognized with that build and csound didn't make any er, uh, sound.:)

So, after figuring out the source repos - this is my first experience building on linux - and a fresh pull from the git develop branch as per a lot of help from different threads on this list, I'm stuck here.


   /usr/lib/jvm/default-java/include/
   /usr/lib/jvm/default-java/include/
   /usr/include/lua5.1/
   ./swig_lib/lua/
   /usr/share/swig2.0/lua/
   ./swig_lib/
   /usr/share/swig2.0/
Preprocessing...
Starting language-specific parse...
Processing types...
C++ analysis...
Generating wrappers...
/home/pi/csound/csound6/interfaces/CppSound.hpp:36: Warning 453: Can't apply (std::vector< double > *INPUT). No typemaps are defined.
Scanning dependencies of target luaCsnd6
[ 79%] Building CXX object interfaces/CMakeFiles/luaCsnd6.dir/lua_interfaceLUA_wrap.cxx.o
Linking CXX shared module ../luaCsnd6.so
[ 79%] Built target luaCsnd6
[ 79%] [FLEX][csbeats_SCANNER] Building scanner with flex 2.5.35
[ 79%] [BISON][csbeats_PARSER] Building parser with bison 2.5
beats/beats.y: conflicts: 1 reduce/reduce
Scanning dependencies of target csbeats
[ 79%] Building C object frontends/CMakeFiles/csbeats.dir/beats/main.c.o
[ 80%] Building C object frontends/CMakeFiles/csbeats.dir/beatslex.yy.c.o
[ 80%] Building C object frontends/CMakeFiles/csbeats.dir/beats.tab.c.o
Linking C executable ../csbeats
[ 80%] Built target csbeats
Scanning dependencies of target csladspa
[ 80%] Building CXX object frontends/CMakeFiles/csladspa.dir/csladspa/csladspa.cpp.o
Linking CXX shared module ../csladspa.so
[ 80%] Built target csladspa
Scanning dependencies of target csound-bin
[ 81%] Building C object frontends/CMakeFiles/csound-bin.dir/csound/csound_main.c.o
[ 81%] Building C object frontends/CMakeFiles/csound-bin.dir/csound/sched.c.o
Linking C executable ../csound
../libcsound64.so.6.0: undefined reference to `__sync_lock_test_and_set_8'
../libcsound64.so.6.0: undefined reference to `__sync_fetch_and_add_8'
collect2: ld returned 1 exit status
make[2]: *** [csound] Error 1
make[1]: *** [frontends/CMakeFiles/csound-bin.dir/all] Error 2
make: *** [all] Error 2
pi@raspberrypi ~/csound/csound6/build $



Date2013-08-16 19:21
FromSteven Yi
SubjectRe: [Csnd] Building Csound 6 RPi - Raspbian
Hi Jason,

Are you using the "develop" branch? (git checkout develop).  Just want
to make sure as there were changes made in the develop branch to
handle detecting atomic builtins, and if they're not working they need
to be further refined.

Thanks!
steven

On Fri, Aug 16, 2013 at 1:43 PM, Jason Timm  wrote:
> I've had some luck building csound 6 on Raspbian with bare bones dependencies  - libsndfile1-dev, python2.6-dev, scons. Unfortunately -+rtaudio=alsa wasn't recognized with that build and csound didn't make any er, uh, sound.:)
>
> So, after figuring out the source repos - this is my first experience building on linux - and a fresh pull from the git develop branch as per a lot of help from different threads on this list, I'm stuck here.
>
>
>    /usr/lib/jvm/default-java/include/
>    /usr/lib/jvm/default-java/include/
>    /usr/include/lua5.1/
>    ./swig_lib/lua/
>    /usr/share/swig2.0/lua/
>    ./swig_lib/
>    /usr/share/swig2.0/
> Preprocessing...
> Starting language-specific parse...
> Processing types...
> C++ analysis...
> Generating wrappers...
> /home/pi/csound/csound6/interfaces/CppSound.hpp:36: Warning 453: Can't apply (std::vector< double > *INPUT). No typemaps are defined.
> Scanning dependencies of target luaCsnd6
> [ 79%] Building CXX object interfaces/CMakeFiles/luaCsnd6.dir/lua_interfaceLUA_wrap.cxx.o
> Linking CXX shared module ../luaCsnd6.so
> [ 79%] Built target luaCsnd6
> [ 79%] [FLEX][csbeats_SCANNER] Building scanner with flex 2.5.35
> [ 79%] [BISON][csbeats_PARSER] Building parser with bison 2.5
> beats/beats.y: conflicts: 1 reduce/reduce
> Scanning dependencies of target csbeats
> [ 79%] Building C object frontends/CMakeFiles/csbeats.dir/beats/main.c.o
> [ 80%] Building C object frontends/CMakeFiles/csbeats.dir/beatslex.yy.c.o
> [ 80%] Building C object frontends/CMakeFiles/csbeats.dir/beats.tab.c.o
> Linking C executable ../csbeats
> [ 80%] Built target csbeats
> Scanning dependencies of target csladspa
> [ 80%] Building CXX object frontends/CMakeFiles/csladspa.dir/csladspa/csladspa.cpp.o
> Linking CXX shared module ../csladspa.so
> [ 80%] Built target csladspa
> Scanning dependencies of target csound-bin
> [ 81%] Building C object frontends/CMakeFiles/csound-bin.dir/csound/csound_main.c.o
> [ 81%] Building C object frontends/CMakeFiles/csound-bin.dir/csound/sched.c.o
> Linking C executable ../csound
> ../libcsound64.so.6.0: undefined reference to `__sync_lock_test_and_set_8'
> ../libcsound64.so.6.0: undefined reference to `__sync_fetch_and_add_8'
> collect2: ld returned 1 exit status
> make[2]: *** [csound] Error 1
> make[1]: *** [frontends/CMakeFiles/csound-bin.dir/all] Error 2
> make: *** [all] Error 2
> pi@raspberrypi ~/csound/csound6/build $
>
>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>             https://sourceforge.net/p/csound/tickets/
> csound5:
>             https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>