Re: alsa-utils cross compilation error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Tue, 6 Oct 2009 20:39:42 +0530,
Harish Kumar wrote:
> 
> Hi,
> 
> I compiled the alsa libs using the following
> 
> CC=arm-linux-gcc ./configure --target=arm-linux --host=i686-linux
> --prefix=/root/arm-alsa/
> make
> make install
> 
> changed the directory to alsa-utils and executed the following
> 1.
> CC=arm-linux-gcc ./configure --target=arm-linux --host=i686-linux
> --with-alsa-prefix=/root/arm-alsa
> --with-alsa-inc-prefix=/root/arm-alsa

Look at -I and -L options used below:

> the configured failed with the same error
> checking for ALSA CFLAGS...  -I/root/arm-alsa
> checking for ALSA LDFLAGS...  -L/root/arm-alsa -lasound -lm -ldl -lpthread

So you are pointing wrong directories.  Pass like
  --with-alsa-prefix=/root/arm-alsa/usr/lib
  --with-alsa-inc-prefix=/root/arm-alsa/include


Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux