Missing orcc will lead to misleading compile errors
I'm cross-compiling pulseaudio and had the orc library available to the build process. There was however no host-orcc available:
checking for ORC... yes checking for usable orcc...
This resulted in the following build output:
make: Entering directory '/tmp/e2/build/build/src' implementation -o pulsecore/svolume-orc-gen.c ../../pulseaudio/src/pulsecore/svolume.orc make: implementation: Command not found implementation -o modules/echo-cancel/adrian-aec-orc-gen.c ../../pulseaudio/src/modules/echo-cancel/adrian-aec.orc Makefile:12919: recipe for target 'pulsecore/svolume-orc-gen.c' failed make: [pulsecore/svolume-orc-gen.c] Error 127 (ignored) […] ../../pulseaudio/src/pulsecore/svolume_orc.c:30:10: fatal error: pulsecore/svolume-orc-gen.h: No such file or directory #include <pulsecore/svolume-orc-gen.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated.
There are 2 bugs here:
- calling orcc (or not-orcc in this case) which fails does not end the compilation
- trying to use it at all if orcc is not found
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information