Alsa driver installation in CentOS 5.4 getting fail:<br><br>[root@localhost alsa-driver-1.0.20]# ./configure --with-redhat=yes --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all<br>checking for gcc... gcc<br>
checking for C compiler default output file name... a.out<br>checking whether the C compiler works... yes<br>checking whether we are cross compiling... no<br>checking for suffix of executables... <br>checking for suffix of object files... o<br>
checking whether we are using the GNU C compiler... yes<br>checking whether gcc accepts -g... yes<br>checking for gcc option to accept ISO C89... none needed<br>checking for ranlib... ranlib<br>checking for a BSD-compatible install... /usr/bin/install -c<br>
checking how to run the C preprocessor... gcc -E<br>checking for grep that handles long lines and -e... /bin/grep<br>checking for egrep... /bin/grep -E<br>checking for ANSI C header files... yes<br>checking for an ANSI C-conforming const... yes<br>
checking for inline... inline<br>checking whether time.h and sys/time.h may both be included... yes<br>checking whether gcc needs -traditional... no<br>checking for current directory... /usr/local/src/alsa-driver-1.0.20<br>
checking cross compile... <br>checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory<br>/lib/modules/2.6.18-164.el5/source<br>checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build<br>
checking for kernel linux/version.h... no<br>The file /include/linux/version.h does not exist.<br>Please install the package with full kernel sources for your distribution<br>or use --with-kernel=dir option to specify another directory with kernel<br>
sources (default is /lib/modules/2.6.18-164.el5/source).<br>[root@localhost alsa-driver-1.0.20]# <br><br><br><br>[root@localhost alsa-driver-1.0.20]# ./configure --with-redhat=yes --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all --with-kernel=/lib/modules/2.6.18-164.el5/source<br>
checking for gcc... gcc<br>checking for C compiler default output file name... a.out<br>checking whether the C compiler works... yes<br>checking whether we are cross compiling... no<br>checking for suffix of executables... <br>
checking for suffix of object files... o<br>checking whether we are using the GNU C compiler... yes<br>checking whether gcc accepts -g... yes<br>checking for gcc option to accept ISO C89... none needed<br>checking for ranlib... ranlib<br>
checking for a BSD-compatible install... /usr/bin/install -c<br>checking how to run the C preprocessor... gcc -E<br>checking for grep that handles long lines and -e... /bin/grep<br>checking for egrep... /bin/grep -E<br>checking for ANSI C header files... yes<br>
checking for an ANSI C-conforming const... yes<br>checking for inline... inline<br>checking whether time.h and sys/time.h may both be included... yes<br>checking whether gcc needs -traditional... no<br>checking for current directory... /usr/local/src/alsa-driver-1.0.20<br>
checking cross compile... <br>checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory<br>/lib/modules/2.6.18-164.el5/source<br>checking for directory with kernel build... <br>
checking for kernel linux/version.h... no<br>The file /include/linux/version.h does not exist.<br>Please install the package with full kernel sources for your distribution<br>or use --with-kernel=dir option to specify another directory with kernel<br>
sources (default is /lib/modules/2.6.18-164.el5/source).<br><br><br>