QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 576|回复: 5

请问声卡问题!

[复制链接]
发表于 2004-3-4 16:26:50 | 显示全部楼层 |阅读模式
我再装声卡得时候遇到以下问题,请问是什么原因呢?

[root@samingyu root]# cd /root/alsa-driver-0.9.6
[root@samingyu 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).
[root@samingyu alsa-driver-0.9.6]# make
make all-deps
make[1]: Entering directory `/root/alsa-driver-0.9.6'
make[1]: Nothing to be done for `all-deps'.
make[1]: Leaving directory `/root/alsa-driver-0.9.6'

Please, run the configure script as first...

[root@samingyu alsa-driver-0.9.6]# make install
rm -f /snd*.o /persist.o /isapnp.o
make[1]: Entering directory `/root/alsa-driver-0.9.6/support'
Makefile:9: ../Makefile.conf: 没有那个文件或目录
Makefile:27: /Rules.make: 没有那个文件或目录
make[1]: *** No rule to make target `/Rules.make'.  Stop.
make[1]: Leaving directory `/root/alsa-driver-0.9.6/support'
make: *** [install-modules] Error 1
[root@samingyu alsa-driver-0.9.6]#
发表于 2004-3-4 16:31:27 | 显示全部楼层
在configure的时候就出错啦!你没有安装源代码包?
[code:1]
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). [/code:1]
回复

使用道具 举报

 楼主| 发表于 2004-3-4 16:47:22 | 显示全部楼层
我已经装了这个了kernel-source-2.4.20-8.i386.rpm
不对马?
回复

使用道具 举报

发表于 2004-3-4 16:53:51 | 显示全部楼层
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).
回复

使用道具 举报

 楼主| 发表于 2004-3-4 17:29:32 | 显示全部楼层
我用。/configure --with-kernel=/usr/src/linux就行了,目录不是默认得马?为什么要输入呢?
回复

使用道具 举报

发表于 2004-3-4 22:52:48 | 显示全部楼层
Ur /usr/src/linux maybe link to a directory that does not exist.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-17 20:00 , Processed in 0.063817 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表