December 17, 2017, 08:02:02 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: ALSA problem  (Read 2661 times)

Offline esumitkumar

  • Linux Noob !
  • *
  • Posts: 14
ALSA problem
« on: June 11, 2004, 04:48:28 AM »
Hi

I have PCQ Linux 2004 (based on fedora core 1) but i can't play any sound except audio CDs . The computer crashes completely. I have CM 8738 onboard sound on Intel 810.To solve this I downloaded ALSA drivers. I unzipped alsa-0.9.8 driver but after running command

./configure

it says "The file /lib/modules/2.4.22-1.2115.nptl/build/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 /usr/src/linux)."

Now what to do?

PLZ TELL ME STEP BY STEP how to install ALSA drivers on CM 8738?

Thank you! in advance
Sumit
(www.sumit.tk)

More details:

[root@localhost alsa-driver-0.9.8]# ./configure
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
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 ANSI C header files... yes
checking for gcc option to accept ANSI C... none
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/src/alsa/alsa-driver-0.9.8
checking cross compile...
checking for directory with kernel source... /lib/modules/2.4.22-1.2115.nptl/build
checking for kernel version... The file /lib/modules/2.4.22-1.2115.nptl/build/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 /usr/src/linux).


[root@localhost alsa-driver-0.9.8]# make
make all-deps
make[1]: Entering directory `/usr/src/alsa/alsa-driver-0.9.8'
make[1]: Nothing to be done for `all-deps'.
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-0.9.8'
Please, run the configure script as first..


[root@localhost alsa-driver-0.9.8]# make install
rm -f /snd*.o /persist.o /isapnp.o
make[1]: Entering directory `/usr/src/alsa/alsa-driver-0.9.8/support'
Makefile:9: ../Makefile.conf: No such file or directory
Makefile:27: /Rules.make: No such file or directory
make[1]: *** No rule to make target `/Rules.make'.  Stop.
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-0.9.8/support'
make: *** [install-modules] Error 1