[alsa-devel] Error compiling ALSA driver
DSP Tech
dsptech at hotmail.com
Fri Jul 11 05:12:33 CEST 2008
Hi All,
I am trying to compile ALSA driver for arm platform. But it keeps complaining that "__LINUX_ARM_ARCH__" is undeclared.
But the linux kernel is properly built. Do I have to include any specific header file for this?
The error message is as follows:
==============
/linux-2.6.23//include/linux/calc64.h: In function 'do_div_llr':
/linux-2.6.23//include/linux/calc64.h:25: error: '__LINUX_ARM_ARCH__' undeclared (first use in this function)/linux-2.6.23//include/linux/calc64.h:25: error: (Each undeclared identifier is reported only once==============
The environmental variable CROSS_COMPILE is set to /extra/arm-2007q1/bin/arm-none-linux-gnueabi-
The configuration options provided is:
./configure --target=arm-linux --host=arm-linux --build=i686-pc-linux-gnu --prefix=/modules/sound/alsa-driver-1.0.16/ --exec-prefix=/modules/sound/alsa-driver-1.0.16/ --with-kernel=/linux-2.6.23/ --with-build=/linux-2.6.23/ --with-oss=yes
Is ther any mistake in the way I am building?
Thanks
_________________________________________________________________
Searching for the best deals on travel? Visit MSN Travel.
http://msn.coxandkings.co.in/cnk/cnk.do
More information about the Alsa-devel
mailing list