QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1334|回复: 6

alsa-driver 在2.6内核上的configure问

[复制链接]
发表于 2006-1-11 10:27:07 | 显示全部楼层 |阅读模式
安装提示: On 2.6 kernels, the build directory has to be given via
--with-build=<kernel_build_dir> option additionally, too.
就是说应该:
configure --with-build=<kernel_build_dir>
那里应是kernel_build_dir?
如何找到具体的地方?
发表于 2006-1-11 10:35:08 | 显示全部楼层
首先下载你使用的内核相应的源代码,放在
/usr/src里面,然后

--with-build = /usr/src/kernel-version-name
就可以了。实际上一般的版本都不需要你自己编译alsa的,除了LFS.
回复

使用道具 举报

 楼主| 发表于 2006-1-11 12:39:45 | 显示全部楼层
因原来FC5自带1.0.10的alsamaxter里找不到数字输出.
我按以下方法安了1.0.11rc2.
[root@localhost alsa]# tar jxvf alsa-lib-1.0.10rc1.tar.bz2
[root@localhost alsa]# cd alsa-lib-1.0.10rc1
[root@localhost alsa-lib-1.0.10rc1]# ./configure ;make ;make install

[root@localhost alsa]# tar jxvf alsa-utils-1.0.10rc1.tar.bz2
[root@localhost alsa]# cd alsa-utils-1.0.10rc1
[root@localhost alsa-utils-1.0.10rc1]# ./configure ;make ;make install

[root@localhost alsa]# tar jxvf alsa-driver-1.0.10rc1.tar.bz2
[root@localhost alsa]# cd alsa-driver-1.0.10rc1
[root@localhost alsa-driver-1.0.10rc1]# ./configure ;make ;make install

[root@localhost alsa]# tar zxvf alsa-oss-1.0.10rc1.tar.bz2
[root@localhost alsa]# cd alsa-oss-1.0.10rc1
[root@localhost alsa-oss-1.0.10rc1]# ./configure ;make;make install
结果是不能加载
回复

使用道具 举报

 楼主| 发表于 2006-1-11 12:52:47 | 显示全部楼层
alsaconf
.....................................
Loading driver...
Starting sound driver: snd-ice1724 WARNING: Error inserting snd (/lib/modules/2.6.14-1.1696_FC5/kernel/sound/acore/snd.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_seq_device (/lib/modules/2.6.14-1.1696_FC5/kernel/sound/acore/seq/snd-seq-device.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_rawmidi (/lib/modules/2.6.14-1.1696_FC5/kernel/sound/acore/snd-rawmidi.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_mpu401_uart (/lib/modules/2.6.14-1.1696_FC5/kernel/sound/drivers/mpu401/snd-mpu401-uart.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_ak4xxx_adda (/lib/modules/2.6.14-1.1696_FC5/kernel/sound/i2c/other/snd-ak4xxx-adda.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_timer (/lib/modules/2.6.14-1.1696_FC5/kernel/sound/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd (/lib/modules/2.6.14-1.1696_FC5/kernel/sound/acore/snd.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_timer (/lib/modules/2.6.14-1.1696_FC5/kernel/sound/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_pcm (/lib/modules/2.6.14-1.1696_FC5/kernel/sound/acore/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error running install command for snd_pcm
WARNING: Error inserting snd_ak4114 (/lib/modules/2.6.14-1.1696_FC5/kernel/sound/i2c/other/snd-ak4114.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_ac97_codec (/lib/modules/2.6.14-1.1696_FC5/kernel/sound/pci/ac97/snd-ac97-codec.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_ice17xx_ak4xxx (/lib/modules/2.6.14-1.1696_FC5/kernel/sound/pci/ice1712/snd-ice17xx-ak4xxx.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_ice1724 (/lib/modules/2.6.14-1.1696_FC5/kernel/sound/pci/ice1712/snd-ice1724.ko): Unknown symbol in module, or unknown parameter (see dmesg)
done
Starting sound driver: snd-mpu401 WARNING: Error inserting snd (/lib/modules/2.6.14-1.1696_FC5/kernel/sound/acore/snd.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_seq_device (/lib/modules/2.6.14-1.1696_FC5/kernel/sound/acore/seq/snd-seq-device.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_rawmidi (/lib/modules/2.6.14-1.1696_FC5/kernel/sound/acore/snd-rawmidi.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_mpu401_uart (/lib/modules/2.6.14-1.1696_FC5/kernel/sound/drivers/mpu401/snd-mpu401-uart.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_mpu401 (/lib/modules/2.6.14-1.1696_FC5/kernel/sound/drivers/mpu401/snd-mpu401.ko): Unknown symbol in module, or unknown parameter (see dmesg)
done
Starting sound driver: snd-ice1724 WARNING: Error inserting snd (/lib/modules/2.6.14-1.1696_FC5/kernel/sound/acore/snd.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_seq_device (/lib/modules/2.6.14-1.1696_FC5/kernel/sound/acore/seq/snd-seq-device.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_rawmidi (/lib/modules/2.6.14-1.1696_FC5/kernel/sound/acore/snd-rawmidi.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_mpu401_uart (/lib/modules/2.6.14-1.1696_FC5/kernel/sound/drivers/mpu401/snd-mpu401-uart.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_ak4xxx_adda (/lib/modules/2.6.14-1.1696_FC5/kernel/sound/i2c/other/snd-ak4xxx-adda.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_timer (/lib/modules/2.6.14-1.1696_FC5/kernel/sound/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd (/lib/modules/2.6.14-1.1696_FC5/kernel/sound/acore/snd.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_timer (/lib/modules/2.6.14-1.1696_FC5/kernel/sound/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_pcm (/lib/modules/2.6.14-1.1696_FC5/kernel/sound/acore/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error running install command for snd_pcm
WARNING: Error inserting snd_ak4114 (/lib/modules/2.6.14-1.1696_FC5/kernel/sound/i2c/other/snd-ak4114.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_ac97_codec (/lib/modules/2.6.14-1.1696_FC5/kernel/sound/pci/ac97/snd-ac97-codec.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_ice17xx_ak4xxx (/lib/modules/2.6.14-1.1696_FC5/kernel/sound/pci/ice1712/snd-ice17xx-ak4xxx.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_ice1724 (/lib/modules/2.6.14-1.1696_FC5/kernel/sound/pci/ice1712/snd-ice1724.ko): Unknown symbol in module, or unknown parameter (see dmesg)
done
Setting default volumes...
amixer: Mixer attach default error: No such device
回复

使用道具 举报

 楼主| 发表于 2006-1-11 12:55:34 | 显示全部楼层
--with-build = /usr/src/kernel-version-name
kernel-version-name这个是不是我的内核号码?
回复

使用道具 举报

发表于 2006-1-11 12:56:07 | 显示全部楼层
回复

使用道具 举报

发表于 2006-1-12 09:56:37 | 显示全部楼层
WARNING: Error inserting snd_ac97_codec (/lib/modules/2.6.14-1.1696_FC5/kernel/sound/pci/ac97/snd-ac97-codec.ko): Unknown symbol in module, or unknown parameter (see dmesg)

问题在于你的kernel里已经内置了alsa-driver,然后你又编译了一次alsa-modules,两个modules,你让内核选哪个?呵呵
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-27 08:55 , Processed in 0.038935 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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