Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
292 views
in Technique[技术] by (71.8m points)

Cross compile Jack2 and Alsa

i need to cross compile for my imx7 (armv7 processor) Alsa lib, utils and Jack2. i succeed to cross compile Alsa lib and utils but i have some trouble with JAck2. When i complete Jack i also need to install Alsa Plugin for bridge between Jack2 and Alsa.

So for Jack2 i use this command :

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

I tried with or without --plateform but same things. i got this error

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)

I dont know why i can't find alsa. I tried also with --pkgconfigdir=/home/m/Desktop/alsa/install/usr/lib/pkgconfig which is the directory of my alsa.pc file installed before.

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

I dont have program 'pkg-config' but only the alsa.pc.

Thank you for your help.

question from:https://stackoverflow.com/questions/65909679/cross-compile-jack2-and-alsa

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...