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
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