[alsa-devel] ALSA driver - make error

Takashi Iwai tiwai at suse.de
Tue Sep 1 16:34:25 CEST 2009


At Tue, 1 Sep 2009 10:41:43 +0530,
arnuld uttre wrote:
> 
> I tried to compile latest alsa drivers anf I got make error. all the
> relevant information is included here. I think there is a bug in
> source code.

Well, you are using the modified kernel tree, so it's your
responsibility :)  Basically we support only vanilla kernels.


> [root at dune alsa-driver-1.0.21]# ./configure --with-oss=yes
> --with-pcm-oss=yes --with-sequencer=yes --with-cards=all
> --with-card-options=all --prefix=/usr
> 
> ...................
> ....................
> make[2]: Leaving directory `/usr/local/src/alsa/alsa-driver-1.0.21/misc'
> make[1]: Leaving directory `/usr/local/src/alsa/alsa-driver-1.0.21'
> make -C /lib/modules/2.6.18-128.4.1.el5/source
> SUBDIRS=/usr/local/src/alsa/alsa-driver-1.0.21  CPP="gcc -E" CC="gcc"
> modules
> make[1]: Entering directory `/usr/src/kernels/2.6.18-128.4.1.el5-i686'
>   CC [M]  /usr/local/src/alsa/alsa-driver-1.0.21/acore/hwdep.o
> In file included from /usr/local/src/alsa/alsa-driver-1.0.21/acore/hwdep.c:1:
> /usr/local/src/alsa/alsa-driver-1.0.21/include/adriver.h:1786: error:
> redefinition of typedef ‘bool’

An easy fix is to uncomment this line in include/adriver.h.


Takashi


More information about the Alsa-devel mailing list