[alsa-devel] Alsa library for the arm-linux architecture

John Faith jfaith at freescale.com
Thu Dec 13 18:58:43 CET 2007


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


More information about the Alsa-devel mailing list