-
Notifications
You must be signed in to change notification settings - Fork 323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pa_stable_v190700_20210406 fails to compile on RPi4 #683
Comments
@juanitotc - thanks for reporting this.
We have several build mechanisms. What commands are you using to build PortAudio when it fails?
or the cmake commands here? |
I'm using configure (with flags as per the first post) && make when it fails. cmake && make does not give the same error |
Thanks. I did not see the .configure at the end of the command. |
I pulled the current PortAudio and it builds using:
bin/paex_sine make no sound from the default 3.5 mm jack. When I connect a Scarlett 2i2 then a get about a 1/4 second of noise and a bunch of ALSA messages |
I then tried the command from above:
It compiled without error on an RPi4 running Raspbian. |
I then compiled pa_stable_v190700_20210406.tgz from https://files.portaudio.com/download.html I compiled using the CC=... command from the previous comment and it compiled fine. |
On my RPi4, the line that breaks above is:
So the difference is that I have a bunch of sed commands in my line where you have "| |". So the reason it is failing may be because of differences in our setup. @juanitotc - What OS are you using? Have you recently updated?
Are you still seeing the problem? |
I'm using piCore64:
Using a more recent version (piCore64-14.x) with gcc-12.2, with the same configure and make string, things work without errors. |
Using gcc-10.2 to compile pa_stable_v190700_20210406 with:
..the build fails with:
If I manually execute the command without the double "| | " it works.
cmake builds without error, but without library symlinks and without the cxx library.
The text was updated successfully, but these errors were encountered: