QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 732|回复: 3

我看了dalin部长的alsa声卡驱动的安装方法,但是第二步就出错,请

[复制链接]
发表于 2003-1-2 23:29:22 | 显示全部楼层 |阅读模式
我的声卡是VIA P4X266E+VT8233A主板的自带声卡,我按着dalin部长的提示到第二步的时候就出错,
第一步:
[root@laizhicheng alsa-driver-0.9.0rc5]# ./configure
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /root/Desktop/LAndW/linux/alsa0.9pre5/alsa-dri
ver-0.9.0rc5
checking cross compile...
checking for directory with kernel source... /lib/modules/2.4.18-14/build
checking for kernel version... 2.4.18-14
checking for kenrel linux/pm.h... "yes"
checking for kenrel linux/spinlock.h... "yes"
checking for kenrel linux/irq.h... "yes"
Removing a dummy linux/irq.h.
checking for kenrel linux/threads.h... "yes"
Removing a dummy linux/threads.h.
checking for kernel module symbol versions... "yes"
checking for PCI support in kernel... "yes"
checking for SGI/MIPS (HAL2) architecture... "no"
checking for directory to store kernel modules... /lib/modules/2.4.18-14/kernel/
sound
checking for verbose printk... on
checking for debug level... none
checking for ISA support in kernel... "yes"
checking for processor type... i686
checking for SMP... "no"
checking for ISA PnP driver in kernel... yes
checking for ISA PnP support... yes
checking for driver version... 0.9.0rc5
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for RTC callback support in kernel... "no"
checking for USB... "yes"
checking for PCMCIA... "yes"
checking for which soundcards to compile driver for... all
configure: creating ./config.status
config.status: creating version
config.status: creating Makefile.conf
config.status: creating snddevices
config.status: creating utils/alsa-driver.spec
config.status: creating utils/buildrpm
config.status: creating toplevel.config
config.status: creating include/config.h
config.status: creating include/config1.h
config.status: creating include/version.h
config.status: include/version.h is unchanged
chmod: changing permissions of `./snddevices' (requested: 0755, actual: 0777): O                                                              peration not permitted
第二步:
[root@laizhicheng alsa-driver-0.9.0rc5]# make install
make: *** Warning: File `Makefile' has modification time in the future (2002-10-                                                              22 18:16:48 > 2002-01-02 23:10:33)
if [ ! -d include/sound -a ! -L include/sound ]; then \
  ln -sf ../alsa-kernel/include include/sound ; \
fi
ln: creating symbolic link `include/sound' to `../alsa-kernel/include': Operatio                                                              n not permitted
make: *** [include/sound/version.h] Error 1
第三步可以:
[root@laizhicheng alsa-driver-0.9.0rc5]# ./snddevices
Creating /dev/mixer?... done
Creating /dev/sequencer... done
Creating /dev/midi?... done
Creating /dev/dsp?... done
Creating /dev/audio?... done
Creating /dev/sndstat... done
Creating /dev/music... done
Creating /dev/dmmidi?... done
Creating /dev/dmfm?... done
Creating /dev/amixer?... done
Creating /dev/adsp?... done
Creating /dev/amidi?... done
Creating /dev/admmidi?... done
create symbolic link `/dev/mixer' to `/dev/mixer0'
create symbolic link `/dev/midi' to `/dev/midi0'
create symbolic link `/dev/dsp' to `/dev/dsp0'
create symbolic link `/dev/audio' to `/dev/audio0'
create symbolic link `/dev/sequencer2' to `/dev/music'
create symbolic link `/dev/adsp' to `/dev/adsp0'
create symbolic link `/dev/amidi' to `/dev/amidi0'
ALSA dynamic sound device filesystem
create symbolic link `/dev/snd' to `/proc/asound/dev'
ALSA loader devices
Creating /dev/aload?... done
Creating /dev/aloadSEQ... done
以后就不可以了.
请dalin部长指点.万分感激!
发表于 2003-1-2 23:36:26 | 显示全部楼层
如果你的文件是解压在win分区的话,请移动到linux分区再操作以上步骤
回复

使用道具 举报

 楼主| 发表于 2003-1-3 18:51:03 | 显示全部楼层
我拉倒linux分区后重新装的时候第二步的时候到后面又不行了:
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Leaving directory `/root/alsa0.9pre5/alsa-driver-0.9.0rc5/pci/pdplus'
make  -C rme9652 modules_install
make[2]: Entering directory `/root/alsa0.9pre5/alsa-driver-0.9.0rc5/pci/rme9652'
make[2]: *** Warning: File `/root/alsa0.9pre5/alsa-driver-0.9.0rc5/Rules.make' has modification time in the future (2002-10-18 03:20:24 > 2002-01-03 18:33:30)
mkdir -p /lib/modules/2.4.18-14/kernel/sound/pci/rme9652
cp snd-hammerfall-mem.o snd-hdsp.o snd-rme9652.o /lib/modules/2.4.18-14/kernel/sound/pci/rme9652
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Leaving directory `/root/alsa0.9pre5/alsa-driver-0.9.0rc5/pci/rme9652'
make  -C trident modules_install
make[2]: Entering directory `/root/alsa0.9pre5/alsa-driver-0.9.0rc5/pci/trident'
make[2]: *** Warning: File `/root/alsa0.9pre5/alsa-driver-0.9.0rc5/Rules.make' has modification time in the future (2002-10-18 03:20:24 > 2002-01-03 18:33:30)
mkdir -p /lib/modules/2.4.18-14/kernel/sound/pci/trident
cp snd-trident-synth.o snd-trident.o /lib/modules/2.4.18-14/kernel/sound/pci/trident
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Leaving directory `/root/alsa0.9pre5/alsa-driver-0.9.0rc5/pci/trident'
make  -C ymfpci modules_install
make[2]: Entering directory `/root/alsa0.9pre5/alsa-driver-0.9.0rc5/pci/ymfpci'
make[2]: *** Warning: File `/root/alsa0.9pre5/alsa-driver-0.9.0rc5/Rules.make' has modification time in the future (2002-10-18 03:20:24 > 2002-01-03 18:33:30)
mkdir -p /lib/modules/2.4.18-14/kernel/sound/pci/ymfpci
cp snd-ymfpci.o /lib/modules/2.4.18-14/kernel/sound/pci/ymfpci
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Leaving directory `/root/alsa0.9pre5/alsa-driver-0.9.0rc5/pci/ymfpci'
make[1]: warning:  Clock skew detected.  Your build may be incomplete.
make[1]: Leaving directory `/root/alsa0.9pre5/alsa-driver-0.9.0rc5/pci'
make[1]: Entering directory `/root/alsa0.9pre5/alsa-driver-0.9.0rc5/usb'
make[1]: *** Warning: File `/root/alsa0.9pre5/alsa-driver-0.9.0rc5/Rules.make' has modification time in the future (2002-10-18 03:20:24 > 2002-01-03 18:33:30)
mkdir -p /lib/modules/2.4.18-14/kernel/sound/usb
cp snd-usb-audio.o /lib/modules/2.4.18-14/kernel/sound/usb
make[1]: warning:  Clock skew detected.  Your build may be incomplete.
make[1]: Leaving directory `/root/alsa0.9pre5/alsa-driver-0.9.0rc5/usb'
/sbin/depmod -a 2.4.18-14
if [ -L /usr/include/sound ]; then \
        rm -f /usr/include/sound; \
        ln -sf /root/alsa0.9pre5/alsa-driver-0.9.0rc5/include/sound /usr/include/sound; \
else \
        rm -rf /usr/include/sound; \
        install -d -m 755 -g root -o root /usr/include/sound; \
        for f in include/sound/*.h; do \
                install -m 644 -g root -o root $f /usr/include/sound; \
        done \
fi
if [ -d /sbin/init.d ]; then \
  install -m 755 -g root -o root utils/alsasound /sbin/init.d/alsasound; \
elif [ -d /etc/rc.d/init.d ]; then \
  install -m 755 -g root -o root utils/alsasound /etc/rc.d/init.d/alsasound; \
elif [ -d /etc/init.d ]; then \
  install -m 755 -g root -o root utils/alsasound /etc/init.d/alsasound; \
fi

             ===== WARNING =====

The options for ALSA modules on your system still include snd_ prefix,
which is obsoleted now.  Please fix /etc/modules.conf.
For convenience, you can use utils/module-options script to convert
the snd_ prefix automatically.

cat WARNING
cat: WARNING: No such file or directory
make: *** [install] Error 1
我以后的照做:
[root@laizhicheng alsa-driver-0.9.0rc5]# ./snddevices
Creating /dev/mixer?... done
Creating /dev/sequencer... done
Creating /dev/midi?... done
Creating /dev/dsp?... done
Creating /dev/audio?... done
Creating /dev/sndstat... done
Creating /dev/music... done
Creating /dev/dmmidi?... done
Creating /dev/dmfm?... done
Creating /dev/amixer?... done
Creating /dev/adsp?... done
Creating /dev/amidi?... done
Creating /dev/admmidi?... done
create symbolic link `/dev/mixer' to `/dev/mixer0'
create symbolic link `/dev/midi' to `/dev/midi0'
create symbolic link `/dev/dsp' to `/dev/dsp0'
create symbolic link `/dev/audio' to `/dev/audio0'
create symbolic link `/dev/sequencer2' to `/dev/music'
create symbolic link `/dev/adsp' to `/dev/adsp0'
create symbolic link `/dev/amidi' to `/dev/amidi0'
ALSA dynamic sound device filesystem
create symbolic link `/dev/snd' to `/proc/asound/dev'
ALSA loader devices
Creating /dev/aload?... done
Creating /dev/aloadSEQ... done


这里又不行了:
[root@laizhicheng alsa-driver-0.9.0rc5]# modprobe snd-via82xx
Warning: ignoring snd_major=116, no such parameter in this module
Warning: ignoring snd_cards_limit=1, no such parameter in this module
Warning: ignoring snd_device_mode=0666, no such parameter in this module
Warning: ignoring snd_device_gid=0, no such parameter in this module
Warning: ignoring snd_device_uid=0, no such parameter in this module
Module snd loaded, with warnings
Module snd-ac97-codec loaded, with warnings
Module snd-seq-device loaded, with warnings
Module snd-rawmidi loaded, with warnings
Module snd-mpu401-uart loaded, with warnings
Module snd-timer loaded, with warnings
Module snd-pcm loaded, with warnings
Module snd-via82xx loaded, with warnings
请问列位高手斑竹是什么原故?
我上次没有装成功的时候我就修改了/etc/modules.conf里的内容有没有关系啊??请指点迷津>谢谢!!!!!





--------------------------------
我为linux重修,
回复

使用道具 举报

 楼主| 发表于 2003-1-3 23:00:20 | 显示全部楼层
谢谢dalin部长的文章,谢谢llc部长的指点,我已经装成功了!
当我装上redhat我就相信linux是了不起的,当我声卡装成功的时候我更加坚信这一点我用windows用了两年,用linux两个星期,但linux已经抓住了我的心.
linux给我最大的感动是素不相识的帮助!






-------------------
我为linux重修
虽然我很菜,但我一直在努力!
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-17 07:01 , Processed in 0.080499 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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