alsa-lib-1.2.10 配置与编译
下载地址
https://www.alsa-project.org/files/pub/lib/alsa-lib-1.2.10.tar.bz2
export PATH=$PATH:/opt/ext-toolchain/bin/
export CC=arm-linux-gnueabihf-gcc
export CXX=arm-linux-gnueabihf-g++
export LD=arm-linux-gnueabihf-ld
echo $PWD
./configure \
--host=arm-linux-gnueabihf \
--prefix=${PWD}/output \
--enable-shared \
--disable-python \
--with-configdir=$PWD/output/config \
--with-plugindir=$PWD/output/plugin
alsa-utils-1.2.9 配置与编译
下载地址:
https://www.alsa-project.org/files/pub/utils/alsa-utils-1.2.9.tar.bz2
export PATH=$PATH:/opt/ext-toolchain/bin/
export CC=arm-linux-gnueabihf-gcc
export CXX=arm-linux-gnueabihf-g++
export LD=arm-linux-gnueabihf-ld
LIB_PATH=$PWD/../alsa-lib-1.2.10/output/
./configure \
--host=arm-linux-gnueabihf \
--prefix=$PWD/output \
CFLAGS="-I$LIB_PATH/include" \
LDFLAGS="-L$LIB_PATH/lib -lasound" \
--disable-alsamixer \
--disable-xmlto \
--with-alsa-inc-prefix=$LIB_PATH/include \
--with-alsa-prefix=$LIB_PATH/lib
标签:lib,--,utils,export,linux,PATH,alsa From: https://www.cnblogs.com/riveruns/p/17745535.html