找回密码
 注册
查看: 414|回复: 2

[复制链接]
发表于 2003-5-15 10:24:25 | 显示全部楼层 |阅读模式
请问,为什么在redhat8中安装的就可以正常运行,而在redhat9中安装的就不能正常运行,会出现“段错误”的信息,不能直接用命令realplay?这是什么原因造成的呢?能否将它搞清楚?谢谢!
 楼主| 发表于 2003-5-16 16:05:02 | 显示全部楼层
难道没有人碰到这样的问题吗?奇怪?难道没有人进行深度研究吗?包括斑竹?

现在觉得引起这种现象的原因可能在于内核,记得在用redhat8的时候是用ALSA的声音驱动,而现在的redhat9直接用内核自带的声卡驱动,问题可能就出在这上面。

我在编译alsa-0.9.3a版本的过程中,始终不能成功,也许是因为在./configure时出现:
checking for ISA PnP driver in kernel... yes
checking for PnP driver in kernel... no
checking for ISA PnP support... yes
checking for vmalloc_to_page... "yes"
checking for driver version... 0.9.3a
(注意其中的第二行!)
引起的,因为alsa编译时需要编snd-pnp.o,既然内核对PnP没有编译进去,所以出现下面的结果也在正常:
rm -rf /lib/modules/2.4.20-8/kernel/sound
make[1]: Entering directory `/root/alsa-driver-0.9.3a/support'
make  -C pnp modules_install
make[2]: Entering directory `/root/alsa-driver-0.9.3a/support/pnp'
mkdir -p /lib/modules/2.4.20-8/kernel/sound/support/pnp
cp snd-pnp.o /lib/modules/2.4.20-8/kernel/sound/support/pnp
cp: stat‘snd-pnp.o’失败: 没有那个文件或目录
make[2]: *** [_modinst__] Error 1
make[2]: Leaving directory `/root/alsa-driver-0.9.3a/support/pnp'
make[1]: *** [_modinst_pnp] Error 2
make[1]: Leaving directory `/root/alsa-driver-0.9.3a/support'
make: *** [install-modules] Error 1
不知各位的看法如何?
回复

使用道具 举报

发表于 2003-5-18 19:24:53 | 显示全部楼层
我也有 这个 问题,等待高手解答!
回复

使用道具 举报

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

本版积分规则

GMT+8, 2025-7-19 13:35 , Processed in 0.044595 second(s), 16 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

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