Read what error you get. Follow the wiki page. Install necessary packages and edit alsa sources. All described in wiki page. -giovanni On 9/18/10, Shamun toha md <shamun.toha@gmail.com> wrote:
Alsa driver installation in CentOS 5.4 getting fail:
[root@localhost alsa-driver-1.0.20]# ./configure --with-redhat=yes --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source). [root@localhost alsa-driver-1.0.20]#
[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 checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source).
-- Sent from my mobile device Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618