[alsa-devel] ALSA driver - make error

arnuld uttre arnuld.mizong at gmail.com
Tue Sep 1 07:11:43 CEST 2009


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.


[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’
include/linux/types.h:36: error: previous declaration of ‘bool’ was here
make[3]: *** [/usr/local/src/alsa/alsa-driver-1.0.21/acore/hwdep.o] Error 1
make[2]: *** [/usr/local/src/alsa/alsa-driver-1.0.21/acore] Error 2
make[1]: *** [_module_/usr/local/src/alsa/alsa-driver-1.0.21] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-128.4.1.el5-i686'
make: *** [compile] Error 2



[root at dune alsa-driver-1.0.21]# gcc --version
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[root at dune alsa-driver-1.0.21]# uname -a
Linux dune 2.6.18-128.4.1.el5 #1 SMP Tue Aug 4 20:23:34 EDT 2009 i686
athlon i386 GNU/Linux
[root at dune alsa-driver-1.0.21]# cat /etc/issue
CentOS release 5.3 (Final)
Kernel \r on an \m

[root at dune alsa-driver-1.0.21]#



-- 
http://uttre.wordpress.com/2008/05/14/the-lost-love-of-mine/


More information about the Alsa-devel mailing list