LinuxSir.cn,穿越时空的Linuxsir!

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

ubuntu6.06安装alsa-driver-1.0.13的时候出现的问题

[复制链接]
发表于 2007-4-21 15:09:57 | 显示全部楼层 |阅读模式
声卡是板载的,芯片realtek alc883,传说这个芯片是很难弄得阿,要设置n多东西才能出来声音……听说新版本的alsa做了修改,能直接支持了。已经成功安装了alsa-lib-1.0.13,方法是:
./configure;make;make install
正要装alsa-driver-1.0.13,但是出现问题:

执行./configure时出现以下错误
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... /home/xiu/Desktop/alsa-driver-1.0.13
checking cross compile...
checking for directory with kernel source... /usr/src/linux
checking for directory with kernel build...
checking for kernel linux/version.h... no
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).

如何解决??
网上查了查,都是外国网,上不去阿……

是不是要贴这个的阿……
执行lspci:
0000:00:1b.0 0403: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
执行uname:
2.6.15-26-386 i686 unknown unknown
unknown是因为我的cpu是T2400么……
发表于 2007-4-21 15:33:22 | 显示全部楼层
我第一次弄lfs时也是用alsa官方驱动,后来在gentoo里安装时就用内核alsa驱动就行。google搜gentoo alsa。只要安装alsa-lib+alsa-utils就行。
回复 支持 反对

使用道具 举报

发表于 2007-4-21 15:33:33 | 显示全部楼层
我第一次弄lfs时也是用alsa官方驱动,后来在gentoo里安装时就用内核alsa驱动就行。google搜gentoo alsa。只要安装alsa-lib+alsa-utils就行。
回复 支持 反对

使用道具 举报

发表于 2007-4-21 15:52:18 | 显示全部楼层
我第一次弄lfs时也是用alsa官方驱动,后来在gentoo里安装时就用内核alsa驱动就行。google搜gentoo alsa。只要安装alsa-lib+alsa-utils就行。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-4-21 16:02:59 | 显示全部楼层
不过网上有人说driver才是最重要的阿…
alsa-lib 是alsa-driver 或者alsa其它包的时候,必须先安装这个包;
alsa-driver 是音频设备的驱动;一般内核都集成在里面,大多是以模块的方式,安装在了 /lib/modules/内核的版本/kernel/sound 或 /lib/modules/内核的版本/kernel/drviers/sound/ 中了;每个版本的内核都是如此;这也是我们没有在 Fedora Core 4.0 中没有发现 alsa-driver的原因 ;如果我们自己编译升级 alsa,其中 alsa-driver 也是被安装在 /lib/modules/内核的版本/kernel/sound 中或 /lib/modules/内核的版本/kernel/drviers/sound 中 ;明白了吧;

alsa-utils 这个包主要是一些声卡配置工具,比如 alsaconf 、 alsamixer等;

不过我会装上util试试的
谢谢
回复 支持 反对

使用道具 举报

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

本版积分规则

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