我主要是fedora 6的alsa声卡装不上,想下载你的礼包试试。知道你是高手,我把问题copy如下,请指导一下
可以确认,我已经装了gcc, 我用它编译我自己的程序没有问题。
我检查了系统,红旗5自带了alsa,版本为:
alsa driver: 1.0.9b-6
alsa-firmware: 1.0.10-4
alsa-lib: 1.0.10-1
alsa-utility:1.0.10-1
alsa-plugins: 1.0.10-2
如果在Xwindow下用系统带的alsa安装,告诉我找到声卡了,可是测试没有声音,然后调音量,告诉我
没有找到声卡。
后来下载了最新的,1.0.13
我的alsa解压缩后放在/tmp/alsa-1.0.13
我在安装新的alsa前,先在/tmp/alsa-1.0.13做了连接:
ln -s /usr/src/linux-2.6.9-5.34DT linux
然后进入lib,util,driver 3个目录,分别运行:
./configure
make
make install
lib和util非常顺利,没有任何错误,driver下面configure也正常,make首先出现下列错误:
make[1]: Entering directory `/usr/src/linux-2.6.9-5.34DT'
CC [M] /tmp/alsa-1.0.13/alsa-driver-1.0.13/acore/misc_driver.o
In file included from include/linux/platform_device_compat.h:5,
from include/linux/platform_device.h:1,
from /tmp/alsa-1.0.13/alsa-driver-1.0.13/acore/misc_driver.c:6:
include/sound/kernel_compat.h:18: error: redefinition of typedef 'pm_message_t'
/tmp/alsa-1.0.13/alsa-driver-1.0.13/include/adriver.h:918: error: previous declaration of 'pm_message_t' was here
类似的也很多个,最后错误
/tmp/alsa-1.0.13/alsa-driver-1.0.13/acore/misc_driver.c:659: error: `create_workqueue' undeclared (first use in this function)
/tmp/alsa-1.0.13/alsa-driver-1.0.13/acore/misc_driver.c:659: error: (Each undeclared identifier is reported only once
/tmp/alsa-1.0.13/alsa-driver-1.0.13/acore/misc_driver.c:659: error: for each function it appears in.)
make[4]: *** [/tmp/alsa-1.0.13/alsa-driver-1.0.13/acore/misc_driver.o] 错误 1
make[3]: *** [/tmp/alsa-1.0.13/alsa-driver-1.0.13/acore] 错误 2
make[2]: *** [_module_/tmp/alsa-1.0.13/alsa-driver-1.0.13] 错误 2
make[1]: *** [modules] 错误 2
make[1]: Leaving directory `/usr/src/linux-2.6.9-5.34DT'
make: *** [compile] 错误 2
这样的情况下,当然make install就过不了了,错误为:
find /lib/modules/2.6.9-5.34DT/kernel/sound -name 'snd*.*o' | xargs rm -f
make[1]: Entering directory `/tmp/alsa-1.0.13/alsa-driver-1.0.13/acore'
mkdir -p /lib/modules/2.6.9-5.34DT/kernel/sound/acore
cp snd-hwdep.ko snd-page-alloc.ko snd-pcm.ko snd-rawmidi.ko snd-timer.ko snd.ko/lib/modules/2.6.9-5.34DT/kernel/sound/acore
cp: stat‘snd-hwdep.ko’失败: 没有那个文件或目录
cp: stat‘snd-page-alloc.ko’失败: 没有那个文件或目录
cp: stat‘snd-pcm.ko’失败: 没有那个文件或目录
cp: stat‘snd-rawmidi.ko’失败: 没有那个文件或目录
cp: stat‘snd-timer.ko’失败: 没有那个文件或目录
cp: stat‘snd.ko’失败: 没有那个文件或目录
make[1]: *** [modules_install] 错误 1
make[1]: Leaving directory `/tmp/alsa-1.0.13/alsa-driver-1.0.13/acore'
make: *** [install-modules] 错误 1
我查了有3个星期了,试了各种可能的方法,但是一直是同样的错误。
我的声卡是 Realtek hd audio,主板集成的,我查了alsa的网站,肯定支持。我也从我
主板厂商gigabyte的网站找到了linux驱动,其实也是alsa的。同样的错误。
我用过2年redhat linux,但是workstation,主要用于计算,也没有关心配置的问题,有问题直接找
IT的人解决。
我决定坚持下去,一定要找到解决办法。
我在网上查下来,很多人有同样的问题,希望这里的高手们给予协助!
谢谢!
我的声卡能发现,可是就是不能出声,高手指点
- eshifeng
- 帖子: 38
- 注册时间: 2007-01-16 12:20
-
- 帖子: 1074
- 注册时间: 2006-01-18 15:01