|
我用网上介绍的的alsa声卡安装方法,一开始就遇到了麻烦,如下:
[root@localhost linux]# make xconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts kconfig.tk
make[1]: Entering directory `/usr/src/linux-2.4.20-8/scripts'
cat header.tk >> ./kconfig.tk
./tkparse < ../arch/i386/config.in >> kconfig.tk
KERNTYPE=`sed -n 's_^/\* Kernel type \(.*\) \*/_\1_p' /boot/kernel.h 2>/dev/null`; \
if [ -f configs/*-ERNTYPE.config ]; then \
conf=`echo configs/*-ERNELTYPE.config`; \
echo "set defaults \"\"" >> kconfig.tk; \
else \
echo "set defaults \"arch/i386/defconfig\"" >> kconfig.tk; \
fi
echo "set ARCH \"i386\"" >> kconfig.tk
cat tail.tk >> kconfig.tk
chmod 755 kconfig.tk
make[1]: Leaving directory `/usr/src/linux-2.4.20-8/scripts'
wish -f scripts/kconfig.tk
make: wish: Command not found
make: *** [xconfig] Error 127
这是怎么回事啊,希望能得到大家的帮助!
如果忽视这一步,仍然继续安装的话,到配置声卡那一步后,也会出错.如下:
root@localhost alsa-utils-1.0.10]# alsaconf
图形界面如下:
┌─────────────-─────────────────┐
│ │
│ ALSA CONFIGURATOR │
│ version 1.0.10 │
│ │
│ This script is a configurator for │
│ Advanced Linux Sound Architecture (ALSA) driver. │
│ │
│ │
│ If ALSA is already running, you should close all sound │
│ apps now and stop the sound driver. │
│ alsaconf will try to do this, but it's not 100% sure. │
│ │
└─────────────────-─────────────┘
Building card database..
┌──────────────────────────────────┐
│ Searching sound cards │
┌──--──────────────────────────────┐ │
│ │ 96% │ │
└─--───────────────────────────────┘ │
└──────────────────────────────────┘
┌─────────Soundcard Selection────-───────────┐
│ │
│ Following card(s) are found on your system. │
│ Choose a soundcard to configure: │
│
┌──────────────────────────────────┐
│ intel8x0 Intel Corp.: Unknown device 266e (rev 03) │
│ legacy Probe legacy ISA (non-PnP) chips │
│ │
│ │
│ │
│ │
│ │
│ │
└──────────────────────────────────┘
│ < OK > <Cancel> │
└──────────────────────────────────┘
我选择第一项: intel8x0
┌────────────────────────┐
│ │
│ Configuring snd-intel8x0 │
│ Do you want to modify /etc/modules.conf? │
│ │
├────────────────────────┤
│ < Yes > < No > │
└────────────────────────┘
┌─────────────────────────────┐
│ │
│ │
│ OK, sound driver is configured. │
│ │
│ ALSA CONFIGURATOR │
│ │
│ will prepare the card for playing now. │
│ │
│ Now I'll run alsasound init script, then I'll use │
│ amixer to raise the default volumes. │
│ You can change the volume later via a mixer │
│ program such as alsamixer or gamix. │
├─────────────────────────────┤
│ < OK > │
└─────────────────────────────┘
Loading driver...
Starting sound driver: snd-intel8x0 /lib/modules/2.4.20-8/kernel/sound/acore/snd-page-alloc.o: unresolved symbol
pci_free_consistent/lib/modules/2.4.20-8/kernel/sound/acore/snd-page-alloc.o: unresolved symbol create_proc_entry
/lib/modules/2.4.20-8/kernel/sound/acore/snd-page-alloc.o: unresolved symbol pci_alloc_consistent
/lib/modules/2.4.20-8/kernel/sound/acore/snd-page-alloc.o: unresolved symbol remove_proc_entry
/lib/modules/2.4.20-8/kernel/sound/acore/snd-page-alloc.o: unresolved symbol mem_map
/lib/modules/2.4.20-8/kernel/sound/acore/snd-page-alloc.o: unresolved symbol vmalloc_to_page
/lib/modules/2.4.20-8/kernel/sound/acore/snd-page-alloc.o: insmod /lib/modules/2.4.20-8/kernel/sound/acore/snd-page-alloc.o
failed/lib/modules/2.4.20-8/kernel/sound/acore/snd-page-alloc.o: insmod snd-intel8x0 failed
done
Setting default volumes...
Saving the mixer setup used for this in /etc/asound.state.
/usr/sbin/alsactl: save_state:1163: No soundcards found...
===============================================================================
Now ALSA is ready to use.
For adjustment of volumes, use your favorite mixer.
Have a lot of fun!
最后信息表明,没发现声卡,请问问题出在哪里? |
|