adsl9999 发表于 2006-1-11 10:27:07

alsa-driver 在2.6内核上的configure问

安装提示: 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.

adsl9999 发表于 2006-1-11 12:39:45

因原来FC5自带1.0.10的alsamaxter里找不到数字输出.
我按以下方法安了1.0.11rc2.
# tar jxvf alsa-lib-1.0.10rc1.tar.bz2
# cd alsa-lib-1.0.10rc1
# ./configure ;make ;make install

# tar jxvf alsa-utils-1.0.10rc1.tar.bz2
# cd alsa-utils-1.0.10rc1
# ./configure ;make ;make install

# tar jxvf alsa-driver-1.0.10rc1.tar.bz2
# cd alsa-driver-1.0.10rc1
# ./configure ;make ;make install

# tar zxvf alsa-oss-1.0.10rc1.tar.bz2
# cd alsa-oss-1.0.10rc1
# ./configure ;make;make install
结果是不能加载

adsl9999 发表于 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

adsl9999 发表于 2006-1-11 12:55:34

--with-build = /usr/src/kernel-version-name
kernel-version-name这个是不是我的内核号码?

积木 发表于 2006-1-11 12:56:07

:shock:

linky_fan 发表于 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,你让内核选哪个?呵呵
页: [1]
查看完整版本: alsa-driver 在2.6内核上的configure问