交叉编译 Jack2 和 Alsa

问题描述

我需要为我的 imx7(armv7 处理器)Alsa lib、utils 和 Jack2 交叉编译。 我成功地交叉编译了 Alsa lib 和 utils,但是我在使用 JAck2 时遇到了一些麻烦。当我完成 Jack 时,我还需要安装 Alsa Plugin 来连接 Jack2 和 Alsa。

所以对于 Jack2 我使用这个命令:

CXX=arm-linux-gnueabihf-g++ CC=arm-linux-gnueabihf-gcc ./waf configure --prefix=/usr --platform=linux --alsa=yes

我尝试过使用或不使用 --plateform 但同样的事情。我收到这个错误

Setting top to                           : /home/m/Desktop/alsa/jack/jack2-1.9.17 
Setting out to                           : /home/m/Desktop/alsa/jack/jack2-1.9.17/build 
Checking for 'g++' (C++ compiler)        : arm-linux-gnueabihf-g++ 
Checking for 'gcc' (C compiler)          : arm-linux-gnueabihf-gcc 
Checking platform                        : Linux 
Checking for program 'pkg-config'        : not found 
The above check failed,but the checkee is required for --alsa.
Checking for program 'pkg-config'        : not found 
Checking for program 'pkg-config'        : not found 
Checking for program 'pkg-config'        : not found 
Checking for header windows.h            : not found 
Checking for program 'pkg-config'        : not found 
Checking for header mmsystem.h           : not found 
Checking for program 'pkg-config'        : not found 
Checking for program 'pkg-config'        : not found 
Checking for program 'pkg-config'        : not found 
Checking for program 'pkg-config'        : not found 
Checking for header opus/opus_custom.h   : not found 
Checking for program 'pkg-config'        : not found 
Checking for program 'pkg-config'        : not found 
Checking for program 'pkg-config'        : not found 
Checking for library readline            : not found 
Checking for header readline/readline.h  : not found 
Checking for header systemd/sd-daemon.h  : not found 
Checking for library systemd             : not found 
Checking for header db.h                 : not found 
Checking for library db                  : not found 
Some requested options had unsatisfied dependencies.
See the above configuration for details.
(complete log in /home/m/Desktop/alsa/jack/jack2-1.9.17/build/config.log)

我不知道为什么我找不到 alsa。我也试过 --pkgconfigdir=/home/m/Desktop/alsa/install/usr/lib/pkgconfig,它是我之前安装的 alsa.pc 文件的目录。

CXX=arm-linux-gnueabihf-g++ CC=arm-linux-gnueabihf-gcc ./waf configure --pkgconfigdir=/home/m/Desktop/alsa/install/usr/lib/pkgconfig --prefix=/usr --alsa=yes

我没有程序“pkg-config”,只有 alsa.pc。

感谢您的帮助。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...