[alsa-devel] Alsa library for the arm-linux architecture
Hello,
I need to cross compile a project to the arm-linux platform that depends on the Alsa Library. My problem is that my cross development environment does not include the Alsa Library. I have downloaded the Alsa sources, and I checked that there are some instructions on how to port the library to other architectures. I would like to know if there are ports of the Alsa Library for the arm-linux architecture availible for download, or if I really have to cross compile it.
Thank you for your help!
Felipe
Felipe Uderman wrote:
Hello,
I need to cross compile a project to the arm-linux platform that depends on the Alsa Library. My problem is that my cross development environment does not include the Alsa Library. I have downloaded the Alsa sources, and I checked that there are some instructions on how to port the library to other architectures. I would like to know if there are ports of the Alsa Library for the arm-linux architecture availible for download, or if I really have to cross compile it.
Thank you for your help!
Felipe
Hi Filipe, We cross compile alsa-lib 1.0.11rc2 for ARM with:
./configure --prefix=/usr --host=arm-linux --build=i686-pc-linux-gnu make make install DESTDIR=/target/root/dir
There was only one patch we had to make, which was to remove the line 'add_dir="-L$libdir"' (around line 2422) in alsa-lib-1.0.11rc2/ltmain.sh.
, John
Hi,
On Dec 13, 2007, at 6:58 PM, John Faith wrote:
Felipe Uderman wrote:
We cross compile alsa-lib 1.0.11rc2 for ARM with:
./configure --prefix=/usr --host=arm-linux --build=i686-pc-linux-gnu
You should have a look at BR2 (http://buildroot.uclibc.org/) which cross-compiles 1.0.14a for you, most probably also newer versions with minor modifications to the appropriate .mk file.
Daniel
Daniel Mack wrote:
Hi,
On Dec 13, 2007, at 6:58 PM, John Faith wrote:
Felipe Uderman wrote:
We cross compile alsa-lib 1.0.11rc2 for ARM with:
./configure --prefix=/usr --host=arm-linux --build=i686-pc-linux-gnu
You should have a look at BR2 (http://buildroot.uclibc.org/) which cross-compiles 1.0.14a for you, most probably also newer versions with minor modifications to the appropriate .mk file.
Daniel
Thanks for the suggestion. We use a different cross build environment called LTIB (http://bitshrine.org). The patches and build steps are in a .spec file like rpm and all enabled packages are built as part of the file system. Building alsa can be done separately with: 'ltib -p alsa-lib'.
, John
participants (3)
-
Daniel Mack
-
Felipe Uderman
-
John Faith