hello all
iam using suse linux entrprise desktop and i was facing aproblem with my sound card and i downloaded alsa drivers from alsa project site and ia install it like this it was a tar.bz2 file :
In a shell type these commands:
Make a directory to store the alsa source code in.
cd /usr/src
mkdir alsa
cd alsa
cp /downloads/alsa-* .
Now unzip and install the alsa-driver package
bunzip2 alsa-driver-xxx
tar -xf alsa-driver-xxx
cd alsa-driver-xxx
./configure --with-cards=hda-intel --with-sequencer=yes;make;make install
and this is my output :
linux-77a8:/usr/src/alsa # cp -r /root/Desktop/alsa-driver-1.0.13.tar.bz2 /usr/src/alsa/
linux-77a8:/usr/src/alsa # bunzip2 alsa-driver-1.0.13.tar.bz2
linux-77a8:/usr/src/alsa # tar -xf alsa-driver-1.0.13.tar
linux-77a8:/usr/src/alsa # cd alsa-driver-1.0.13/
linux-77a8:/usr/src/alsa/alsa-driver-1.0.13 # ./configure --with-cards=hda-intel
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 ANSI C... 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 egrep... 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/src/alsa/alsa-driver-1.0.13
checking cross compile...
checking for directory with kernel source... /lib/modules/2.6.16.21-0.8-smp/source
checking for directory with kernel build... /lib/modules/2.6.16.21-0.8-smp/build
checking for kernel linux/version.h... no
The file /lib/modules/2.6.16.21-0.8-smp/source/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.16.21-0.8-smp/source).
linux-77a8:/usr/src/alsa/alsa-driver-1.0.13 # make
make all-deps
make[1]: Entering directory `/usr/src/alsa/alsa-driver-1.0.13'
make[1]: Nothing to be done for `all-deps'.
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.13'
Please, run the configure script as first...<<<<<<<<<<<<<this is the error
