You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi.
Due to missing headers, I cannot build alsa-lib if the build directory is outside of the source tree.
make[2]: Entering directory '/home/iemaghni/Code/tmp/build/src/ucm'
CC utils.lo
In file included from ../../../alsa-lib/src/ucm/ucm_local.h:41,
from ../../../alsa-lib/src/ucm/utils.c:33:
../../../alsa-lib/include/use-case.h:45:10: fatal error: alsa/asoundlib.h: No such file or directory
45 | #include <alsa/asoundlib.h>
| ^~~~~~~~~~~~~~~~~~
Step to reproduce:
git clone https://github.com/alsa-project/alsa-lib.git
mkdir build
cd alsa-lib
libtoolize --force --copy --automake
aclocal
autoheader
automake --foreign --copy --add-missing
autoconf
cd ../build
../alsa-lib/configure
make
Thank you!
The text was updated successfully, but these errors were encountered:
Fixes:
cd alsa-lib
if test -r Makefile; then
make distclean
fi
mkdir build
cd build
../configure
make
Note:
The srcdir is used for the symlinks to generated include files :-(
I've not found a better (easy) way to fix this.
Fixes: alsa-project#136
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Hi.
Due to missing headers, I cannot build alsa-lib if the build directory is outside of the source tree.
Step to reproduce:
Thank you!
The text was updated successfully, but these errors were encountered: