|
我用的是RH9,内核是2.4.20-8,检测声卡有声,是via technolegies,模块是via_c82xxxx,似乎是这么写,准确的记不太清了,按照rr19xx的“声卡驱动ALSA安装指南-第三版=》03年06月08日更新”帖子,从中下载的alsa-driver-0.9.4.tar,alsa-lib-0.9.4.tar,alsa-utils-0.9.4.tar.bz2,进行解压安装,在./configure alsa-driver-0.9.4时出现如下错误:
[root@localhost sounddriver]# cd alsa-driver-0.9.4
[root@localhost alsa-driver-0.9.4]# ./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... /mnt/sounddriver/alsa-driver-0.9.4
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).
好象是缺少一个version.h文件,不知道怎么解决,希望大家帮忙!谢谢 |
|