请问声卡问题!
我再装声卡得时候遇到以下问题,请问是什么原因呢?# cd /root/alsa-driver-0.9.6
# ./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 needed
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... /root/alsa-driver-0.9.6
checking cross compile...
checking for directory with kernel source... /lib/modules/2.4.20-8/build
checking for kernel version... The file /lib/modules/2.4.20-8/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).
# make
make all-deps
make: Entering directory `/root/alsa-driver-0.9.6'
make: Nothing to be done for `all-deps'.
make: Leaving directory `/root/alsa-driver-0.9.6'
Please, run the configure script as first...
# make install
rm -f /snd*.o /persist.o /isapnp.o
make: Entering directory `/root/alsa-driver-0.9.6/support'
Makefile:9: ../Makefile.conf: 没有那个文件或目录
Makefile:27: /Rules.make: 没有那个文件或目录
make: *** No rule to make target `/Rules.make'.Stop.
make: Leaving directory `/root/alsa-driver-0.9.6/support'
make: *** Error 1
# 在configure的时候就出错啦!你没有安装源代码包?
checking for kernel version... The file /lib/modules/2.4.20-8/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). 我已经装了这个了kernel-source-2.4.20-8.i386.rpm
不对马? 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). 我用。/configure --with-kernel=/usr/src/linux就行了,目录不是默认得马?为什么要输入呢? Ur /usr/src/linux maybe link to a directory that does not exist.
页:
[1]