LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 814|回复: 4

安装alsa-driver-1.0.9b驱动出现的问题

[复制链接]
发表于 2006-1-9 12:27:59 | 显示全部楼层 |阅读模式
我在安装alsa-driver-1.0.9b驱动的时候,键入./configure --with-cards=hda-intel --with-sequencer=yes后,出现下列文字:

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 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.9b
checking cross compile...
checking for directory with kernel source... /usr/src/linux
checking for directory with kernel build...
checking for kernel version... The file /usr/src/linux/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).
herotaotao@ubuntu:/usr/src/alsa/alsa-driver-1.0.9b$ sudo ./configure --with-cards=hda-intel --with-sequencer=yes
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 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.9b
checking cross compile...
checking for directory with kernel source... /usr/src/linux
checking for directory with kernel build...
checking for kernel version... The file /usr/src/linux/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).


请问,我是什么东西没有装呢?如何安装?

另外,我的声卡是intel high defination audio的,应该是下面的官方的方法吧?http://www.alsa-project.org/alsa ... mp;module=hda-intel
发表于 2006-1-9 14:06:47 | 显示全部楼层
kernel source
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-1-9 15:20:11 | 显示全部楼层
如何安装啊?我的内核已经是2.6.12-10-686了。
回复 支持 反对

使用道具 举报

发表于 2006-1-9 16:51:59 | 显示全部楼层
http://snowbird-linux.com/pub/linux/kernel/v2.6/
或者从www.kernel.org出发寻找。
下载后解压,把下载的文件(解压后是一个文件夹)改名为linux,放在/usr/src目录下。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-1-9 17:10:32 | 显示全部楼层
好多,不知道该下哪个为好?下了一个linux-2.6.12.tar.bz2,但是还是这个情况。我看了一下它提示的路径,/usr/src/linux/include/linux/version.h。我下载的这个包根本就没有这个头文件啊?如何是好啊?
回复 支持 反对

使用道具 举报

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

本版积分规则

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