[Csnd] Csound Build Errors on RPi 0

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Csnd] Csound Build Errors on RPi 0

epalaima
Hi, I am trying to build Csound on the Raspberry Pi 0 (running Raspbian Jessie) following the instructions on the wiki: https://github.com/csound/csound/blob/develop/BUILD.md#debian

When working with Csound on the Raspberry Pi I normally just use "sudo apt-get install csound" which works fine. Unfortunately though this install Csound version 6.03.2, and I need at least 6.07 since I'm trying to use the ctcsound python bindings. 

I tried doing a manual build. Everything worked until the step "make -j6" which failed when it got to building the libraries for PFFFT Neon. I followed the instructions for fixing this by editing Custom.cmake, but now I'm getting some really weird errors:

make[2]: warning:  Clock skew detected.  Your build may be incomplete.

And the build fails...

I've tried changing the Custom.cmake to both suggested build flags, and both fail to build.

Any idea what might be going on here?
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Csnd] Csound Build Errors on RPi 0

jpff
Surely a  Pi 0 does not have 6 cres.  Have you tried just "make" ot "make
clean; make"?

On Fri, 31 Mar 2017, Emmett Palaima wrote:

> Hi, I am trying to build Csound on the Raspberry Pi 0 (running Raspbian
> Jessie) following the instructions on the
> wiki: https://github.com/csound/csound/blob/develop/BUILD.md#debian
> When working with Csound on the Raspberry Pi I normally just use "sudo apt-get
> install csound" which works fine. Unfortunately though this install Csound
> version 6.03.2, and I need at least 6.07 since I'm trying to use the ctcsound
> python bindings. 
>
> I tried doing a manual build. Everything worked until the step "make -j6"
> which failed when it got to building the libraries for PFFFT Neon. I followed
> the instructions for fixing this by editing Custom.cmake, but now I'm getting
> some really weird errors:
>
> make[2]: warning:  Clock skew detected.  Your build may be incomplete.
>
> And the build fails...
>
> I've tried changing the Custom.cmake to both suggested build flags, and both
> fail to build.
>
> Any idea what might be going on here?
> Csound mailing list [hidden email]
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
> https://github.com/csound/csound/issues Discussions of bugs and features can
> be posted here
>
Csound mailing list
[hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Csnd] Csound Build Errors on RPi 0

kghongaku
the pi has no real time clock. that means you need to get time from
network time protocol and set it upon every boot.

k.

On 03/31/2017 11:15 AM, jpff wrote:

> Surely a  Pi 0 does not have 6 cres.  Have you tried just "make" ot
> "make clean; make"?
>
> On Fri, 31 Mar 2017, Emmett Palaima wrote:
>
>> Hi, I am trying to build Csound on the Raspberry Pi 0 (running Raspbian
>> Jessie) following the instructions on the
>> wiki: https://github.com/csound/csound/blob/develop/BUILD.md#debian
>> When working with Csound on the Raspberry Pi I normally just use "sudo
>> apt-get
>> install csound" which works fine. Unfortunately though this install
>> Csound
>> version 6.03.2, and I need at least 6.07 since I'm trying to use the
>> ctcsound
>> python bindings.
>>
>> I tried doing a manual build. Everything worked until the step "make -j6"
>> which failed when it got to building the libraries for PFFFT Neon. I
>> followed
>> the instructions for fixing this by editing Custom.cmake, but now I'm
>> getting
>> some really weird errors:
>>
>> make[2]: warning:  Clock skew detected.  Your build may be incomplete.
>>
>> And the build fails...
>>
>> I've tried changing the Custom.cmake to both suggested build flags,
>> and both
>> fail to build.
>>
>> Any idea what might be going on here?
>> Csound mailing list [hidden email]
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
>> https://github.com/csound/csound/issues Discussions of bugs and
>> features can
>> be posted here
>>
>
> Csound mailing list
> [hidden email]
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
[hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Csnd] Csound Build Errors on RPi 0

Victor Lazzarini
try make clean
then make

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

> On 31 Mar 2017, at 18:28, Kelly Hirai <[hidden email]> wrote:
>
> the pi has no real time clock. that means you need to get time from network time protocol and set it upon every boot.
>
> k.
>
>> On 03/31/2017 11:15 AM, jpff wrote:
>> Surely a  Pi 0 does not have 6 cres.  Have you tried just "make" ot
>> "make clean; make"?
>>
>>> On Fri, 31 Mar 2017, Emmett Palaima wrote:
>>>
>>> Hi, I am trying to build Csound on the Raspberry Pi 0 (running Raspbian
>>> Jessie) following the instructions on the
>>> wiki: https://github.com/csound/csound/blob/develop/BUILD.md#debian
>>> When working with Csound on the Raspberry Pi I normally just use "sudo
>>> apt-get
>>> install csound" which works fine. Unfortunately though this install
>>> Csound
>>> version 6.03.2, and I need at least 6.07 since I'm trying to use the
>>> ctcsound
>>> python bindings.
>>>
>>> I tried doing a manual build. Everything worked until the step "make -j6"
>>> which failed when it got to building the libraries for PFFFT Neon. I
>>> followed
>>> the instructions for fixing this by editing Custom.cmake, but now I'm
>>> getting
>>> some really weird errors:
>>>
>>> make[2]: warning:  Clock skew detected.  Your build may be incomplete.
>>>
>>> And the build fails...
>>>
>>> I've tried changing the Custom.cmake to both suggested build flags,
>>> and both
>>> fail to build.
>>>
>>> Any idea what might be going on here?
>>> Csound mailing list [hidden email]
>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
>>> https://github.com/csound/csound/issues Discussions of bugs and
>>> features can
>>> be posted here
>>>
>>
>> Csound mailing list
>> [hidden email]
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>>       https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>
> Csound mailing list
> [hidden email]
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>       https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
[hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Csnd] Csound Build Errors on RPi 0

epalaima
In reply to this post by kghongaku
Okay I fixed the time clock and am no longer getting the clock skew warning. However the build still fails with a bunch of errors in pffft.c 

/home/pi/csound/csound/OOps/pffft.c:162:118: error: request for member ‘val’ in something not a structure or union

 #  define INTERLEAVE2(in1, in2, out1, out2) { float32x4x2_t tmp__ = vzipq_f32(in1,in2); out1=tmp__.val[0]; out2=tmp__.val[1]; }

Which is strange because I set the cmake flag in Custom.cmake to not even use PFFFT:

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DPFFFT_SIMD_DISABLE")

Custom.cmake is supposed to be in the ~/csound/csound folder created by these build instructions correct?


On Fri, Mar 31, 2017 at 1:26 PM, Kelly Hirai <[hidden email]> wrote:
the pi has no real time clock. that means you need to get time from network time protocol and set it upon every boot.

k.

On 03/31/2017 11:15 AM, jpff wrote:
Surely a  Pi 0 does not have 6 cres.  Have you tried just "make" ot
"make clean; make"?


On Fri, 31 Mar 2017, Emmett Palaima wrote:

Hi, I am trying to build Csound on the Raspberry Pi 0 (running Raspbian
Jessie) following the instructions on the
wiki: https://github.com/csound/csound/blob/develop/BUILD.md#debian
When working with Csound on the Raspberry Pi I normally just use "sudo
apt-get
install csound" which works fine. Unfortunately though this install
Csound
version 6.03.2, and I need at least 6.07 since I'm trying to use the
ctcsound
python bindings.

I tried doing a manual build. Everything worked until the step "make -j6"
which failed when it got to building the libraries for PFFFT Neon. I
followed
the instructions for fixing this by editing Custom.cmake, but now I'm
getting
some really weird errors:

make[2]: warning:  Clock skew detected.  Your build may be incomplete.

And the build fails...

I've tried changing the Custom.cmake to both suggested build flags,
and both
fail to build.

Any idea what might be going on here?
Csound mailing list [hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
https://github.com/csound/csound/issues Discussions of bugs and
features can
be posted here


Csound mailing list
[hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list
[hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Csnd] Csound Build Errors on RPi 0

rorywalsh
Should it not be:

set(CMAKE_C_FLAGS "PFFFT_SIMD_DISABLE")

Or? 

On 31 March 2017 at 19:54, Emmett Palaima <[hidden email]> wrote:
Okay I fixed the time clock and am no longer getting the clock skew warning. However the build still fails with a bunch of errors in pffft.c 

/home/pi/csound/csound/OOps/pffft.c:162:118: error: request for member ‘val’ in something not a structure or union

 #  define INTERLEAVE2(in1, in2, out1, out2) { float32x4x2_t tmp__ = vzipq_f32(in1,in2); out1=tmp__.val[0]; out2=tmp__.val[1]; }

Which is strange because I set the cmake flag in Custom.cmake to not even use PFFFT:

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DPFFFT_SIMD_DISABLE")

Custom.cmake is supposed to be in the ~/csound/csound folder created by these build instructions correct?


On Fri, Mar 31, 2017 at 1:26 PM, Kelly Hirai <[hidden email]> wrote:
the pi has no real time clock. that means you need to get time from network time protocol and set it upon every boot.

k.

On 03/31/2017 11:15 AM, jpff wrote:
Surely a  Pi 0 does not have 6 cres.  Have you tried just "make" ot
"make clean; make"?


On Fri, 31 Mar 2017, Emmett Palaima wrote:

Hi, I am trying to build Csound on the Raspberry Pi 0 (running Raspbian
Jessie) following the instructions on the
wiki: https://github.com/csound/csound/blob/develop/BUILD.md#debian
When working with Csound on the Raspberry Pi I normally just use "sudo
apt-get
install csound" which works fine. Unfortunately though this install
Csound
version 6.03.2, and I need at least 6.07 since I'm trying to use the
ctcsound
python bindings.

I tried doing a manual build. Everything worked until the step "make -j6"
which failed when it got to building the libraries for PFFFT Neon. I
followed
the instructions for fixing this by editing Custom.cmake, but now I'm
getting
some really weird errors:

make[2]: warning:  Clock skew detected.  Your build may be incomplete.

And the build fails...

I've tried changing the Custom.cmake to both suggested build flags,
and both
fail to build.

Any idea what might be going on here?
Csound mailing list [hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
https://github.com/csound/csound/issues Discussions of bugs and
features can
be posted here


Csound mailing list
[hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list
[hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Csnd] Csound Build Errors on RPi 0

Victor Lazzarini
In reply to this post by epalaima
This token still uses pfftt, but without SIMD.

Did you try to make clean first then make? It could be a leftover from previous build.

Why don't you try the settings that turn on SIMD. I have built with these on rpi 3 and it
worked fine.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 31 Mar 2017, at 19:55, Emmett Palaima <[hidden email]> wrote:

Okay I fixed the time clock and am no longer getting the clock skew warning. However the build still fails with a bunch of errors in pffft.c 

/home/pi/csound/csound/OOps/pffft.c:162:118: error: request for member ‘val’ in something not a structure or union

 #  define INTERLEAVE2(in1, in2, out1, out2) { float32x4x2_t tmp__ = vzipq_f32(in1,in2); out1=tmp__.val[0]; out2=tmp__.val[1]; }

Which is strange because I set the cmake flag in Custom.cmake to not even use PFFFT:

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DPFFFT_SIMD_DISABLE")

Custom.cmake is supposed to be in the ~/csound/csound folder created by these build instructions correct?


On Fri, Mar 31, 2017 at 1:26 PM, Kelly Hirai <[hidden email]> wrote:
the pi has no real time clock. that means you need to get time from network time protocol and set it upon every boot.

k.

On 03/31/2017 11:15 AM, jpff wrote:
Surely a  Pi 0 does not have 6 cres.  Have you tried just "make" ot
"make clean; make"?


On Fri, 31 Mar 2017, Emmett Palaima wrote:

Hi, I am trying to build Csound on the Raspberry Pi 0 (running Raspbian
Jessie) following the instructions on the
wiki: https://github.com/csound/csound/blob/develop/BUILD.md#debian
When working with Csound on the Raspberry Pi I normally just use "sudo
apt-get
install csound" which works fine. Unfortunately though this install
Csound
version 6.03.2, and I need at least 6.07 since I'm trying to use the
ctcsound
python bindings.

I tried doing a manual build. Everything worked until the step "make -j6"
which failed when it got to building the libraries for PFFFT Neon. I
followed
the instructions for fixing this by editing Custom.cmake, but now I'm
getting
some really weird errors:

make[2]: warning:  Clock skew detected.  Your build may be incomplete.

And the build fails...

I've tried changing the Custom.cmake to both suggested build flags,
and both
fail to build.

Any idea what might be going on here?
Csound mailing list [hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
https://github.com/csound/csound/issues Discussions of bugs and
features can
be posted here


Csound mailing list
[hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list
[hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Csnd] Csound Build Errors on RPi 0

Victor Lazzarini
In reply to this post by rorywalsh
that will overwrite the cmake variable

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 31 Mar 2017, at 20:12, Rory Walsh <[hidden email]> wrote:

Should it not be:

set(CMAKE_C_FLAGS "PFFFT_SIMD_DISABLE")

Or? 

On 31 March 2017 at 19:54, Emmett Palaima <[hidden email]> wrote:
Okay I fixed the time clock and am no longer getting the clock skew warning. However the build still fails with a bunch of errors in pffft.c 

/home/pi/csound/csound/OOps/pffft.c:162:118: error: request for member ‘val’ in something not a structure or union

 #  define INTERLEAVE2(in1, in2, out1, out2) { float32x4x2_t tmp__ = vzipq_f32(in1,in2); out1=tmp__.val[0]; out2=tmp__.val[1]; }

Which is strange because I set the cmake flag in Custom.cmake to not even use PFFFT:

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DPFFFT_SIMD_DISABLE")

Custom.cmake is supposed to be in the ~/csound/csound folder created by these build instructions correct?


On Fri, Mar 31, 2017 at 1:26 PM, Kelly Hirai <[hidden email]> wrote:
the pi has no real time clock. that means you need to get time from network time protocol and set it upon every boot.

k.

On 03/31/2017 11:15 AM, jpff wrote:
Surely a  Pi 0 does not have 6 cres.  Have you tried just "make" ot
"make clean; make"?


On Fri, 31 Mar 2017, Emmett Palaima wrote:

Hi, I am trying to build Csound on the Raspberry Pi 0 (running Raspbian
Jessie) following the instructions on the
wiki: https://github.com/csound/csound/blob/develop/BUILD.md#debian
When working with Csound on the Raspberry Pi I normally just use "sudo
apt-get
install csound" which works fine. Unfortunately though this install
Csound
version 6.03.2, and I need at least 6.07 since I'm trying to use the
ctcsound
python bindings.

I tried doing a manual build. Everything worked until the step "make -j6"
which failed when it got to building the libraries for PFFFT Neon. I
followed
the instructions for fixing this by editing Custom.cmake, but now I'm
getting
some really weird errors:

make[2]: warning:  Clock skew detected.  Your build may be incomplete.

And the build fails...

I've tried changing the Custom.cmake to both suggested build flags,
and both
fail to build.

Any idea what might be going on here?
Csound mailing list [hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
https://github.com/csound/csound/issues Discussions of bugs and
features can
be posted here


Csound mailing list
[hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list
[hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Csnd] Csound Build Errors on RPi 0

rorywalsh
Quite right. I think I just passed -DPFFFT_SIMD_DISABLE=0 when running cmake but I can't remember. Whatever I did, it worked fine!

On 31 March 2017 at 20:17, Victor Lazzarini <[hidden email]> wrote:
that will overwrite the cmake variable

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 31 Mar 2017, at 20:12, Rory Walsh <[hidden email]> wrote:

Should it not be:

set(CMAKE_C_FLAGS "PFFFT_SIMD_DISABLE")

Or? 

On 31 March 2017 at 19:54, Emmett Palaima <[hidden email]> wrote:
Okay I fixed the time clock and am no longer getting the clock skew warning. However the build still fails with a bunch of errors in pffft.c 

/home/pi/csound/csound/OOps/pffft.c:162:118: error: request for member ‘val’ in something not a structure or union

 #  define INTERLEAVE2(in1, in2, out1, out2) { float32x4x2_t tmp__ = vzipq_f32(in1,in2); out1=tmp__.val[0]; out2=tmp__.val[1]; }

Which is strange because I set the cmake flag in Custom.cmake to not even use PFFFT:

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DPFFFT_SIMD_DISABLE")

Custom.cmake is supposed to be in the ~/csound/csound folder created by these build instructions correct?


On Fri, Mar 31, 2017 at 1:26 PM, Kelly Hirai <[hidden email]> wrote:
the pi has no real time clock. that means you need to get time from network time protocol and set it upon every boot.

k.

On 03/31/2017 11:15 AM, jpff wrote:
Surely a  Pi 0 does not have 6 cres.  Have you tried just "make" ot
"make clean; make"?


On Fri, 31 Mar 2017, Emmett Palaima wrote:

Hi, I am trying to build Csound on the Raspberry Pi 0 (running Raspbian
Jessie) following the instructions on the
wiki: https://github.com/csound/csound/blob/develop/BUILD.md#debian
When working with Csound on the Raspberry Pi I normally just use "sudo
apt-get
install csound" which works fine. Unfortunately though this install
Csound
version 6.03.2, and I need at least 6.07 since I'm trying to use the
ctcsound
python bindings.

I tried doing a manual build. Everything worked until the step "make -j6"
which failed when it got to building the libraries for PFFFT Neon. I
followed
the instructions for fixing this by editing Custom.cmake, but now I'm
getting
some really weird errors:

make[2]: warning:  Clock skew detected.  Your build may be incomplete.

And the build fails...

I've tried changing the Custom.cmake to both suggested build flags,
and both
fail to build.

Any idea what might be going on here?
Csound mailing list [hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
https://github.com/csound/csound/issues Discussions of bugs and
features can
be posted here


Csound mailing list
[hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list
[hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Csnd] Csound Build Errors on RPi 0

Victor Lazzarini
You should try building with SIMD. For phase vocoder stuff, it gives the alternative of a faster code.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 31 Mar 2017, at 20:25, Rory Walsh <[hidden email]> wrote:

Quite right. I think I just passed -DPFFFT_SIMD_DISABLE=0 when running cmake but I can't remember. Whatever I did, it worked fine!

On 31 March 2017 at 20:17, Victor Lazzarini <[hidden email]> wrote:
that will overwrite the cmake variable

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 31 Mar 2017, at 20:12, Rory Walsh <[hidden email]> wrote:

Should it not be:

set(CMAKE_C_FLAGS "PFFFT_SIMD_DISABLE")

Or? 

On 31 March 2017 at 19:54, Emmett Palaima <[hidden email]> wrote:
Okay I fixed the time clock and am no longer getting the clock skew warning. However the build still fails with a bunch of errors in pffft.c 

/home/pi/csound/csound/OOps/pffft.c:162:118: error: request for member ‘val’ in something not a structure or union

 #  define INTERLEAVE2(in1, in2, out1, out2) { float32x4x2_t tmp__ = vzipq_f32(in1,in2); out1=tmp__.val[0]; out2=tmp__.val[1]; }

Which is strange because I set the cmake flag in Custom.cmake to not even use PFFFT:

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DPFFFT_SIMD_DISABLE")

Custom.cmake is supposed to be in the ~/csound/csound folder created by these build instructions correct?


On Fri, Mar 31, 2017 at 1:26 PM, Kelly Hirai <[hidden email]> wrote:
the pi has no real time clock. that means you need to get time from network time protocol and set it upon every boot.

k.

On 03/31/2017 11:15 AM, jpff wrote:
Surely a  Pi 0 does not have 6 cres.  Have you tried just "make" ot
"make clean; make"?


On Fri, 31 Mar 2017, Emmett Palaima wrote:

Hi, I am trying to build Csound on the Raspberry Pi 0 (running Raspbian
Jessie) following the instructions on the
wiki: https://github.com/csound/csound/blob/develop/BUILD.md#debian
When working with Csound on the Raspberry Pi I normally just use "sudo
apt-get
install csound" which works fine. Unfortunately though this install
Csound
version 6.03.2, and I need at least 6.07 since I'm trying to use the
ctcsound
python bindings.

I tried doing a manual build. Everything worked until the step "make -j6"
which failed when it got to building the libraries for PFFFT Neon. I
followed
the instructions for fixing this by editing Custom.cmake, but now I'm
getting
some really weird errors:

make[2]: warning:  Clock skew detected.  Your build may be incomplete.

And the build fails...

I've tried changing the Custom.cmake to both suggested build flags,
and both
fail to build.

Any idea what might be going on here?
Csound mailing list [hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
https://github.com/csound/csound/issues Discussions of bugs and
features can
be posted here


Csound mailing list
[hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list
[hidden email]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list [hidden email] https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Loading...