QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 817|回复: 0

关于声卡驱动的安装与卸载的问题

[复制链接]
发表于 2003-8-15 21:57:18 | 显示全部楼层 |阅读模式
系统是MANDRAKE9.1
由于不能开两个播放器,我换了声卡驱动,OPENSOUND OSS,但是效果换不好,有杂音的,所以又下载了ALSA,但是安装时出现一下错误[dennis@localhost dennis]$ su
Password:
su: incorrect password
[dennis@localhost dennis]$ su
Password:
[root@localhost dennis]# cd /home/dennis/tmp
[root@localhost tmp]# chmod +x oss-install
[root@localhost tmp]# ./oss-install
Checking for any previously installed sound drivers... Done.

* Open Sound System installation completed successfully *
Device configuration has been saved to /usr/lib/oss/devices.cfg
Execute /usr/lib/oss/soundconf if you want to change configuration.
Start the driver by using /usr/lib/oss/soundon command
See /usr/lib/oss/Readme for further instructions
[root@localhost tmp]# cd /home/dennis/alsa
[root@localhost alsa]# ls
alsa-driver-0.9.6.tar.bz2
[root@localhost alsa]# tar -xzvf alsa-driver-0.9.6.tar.bz2

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors
[root@localhost alsa]# ls
alsa-driver-0.9.6/  alsa-driver-0.9.6.tar.bz2
[root@localhost alsa]# cd alsa-driver-0.9.6
[root@localhost alsa-driver-0.9.6]# .configure
bash: .configure: command not found
[root@localhost alsa-driver-0.9.6]# ./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... /home/dennis/alsa/alsa-driver-0.9.6
checking cross compile...
checking for directory with kernel source... /lib/modules/2.4.21-0.13mdk/build
checking for kernel version... 2.4.21-0.13mdk
checking for GCC version... Kernel compiler:  Used compiler: gcc (GCC) 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)

*** NO PREDEFINED KERNEL COMPILER IS DETECTED
*** Assuming the same compiler is used with the current system compiler.

*** Please make sure that the same compiler version was used for building kernel.

checking for kernel linux/compiler.h... "yes"
Removing a dummy linux/compiler.h.
checking for kernel linux/pm.h... "yes"
checking for kernel linux/spinlock.h... "yes"
checking for kernel linux/irq.h... "yes"
Removing a dummy linux/irq.h.
checking for kernel linux/threads.h... "yes"
Removing a dummy linux/threads.h.
checking for kernel linux/rwsem.h... "yes"
Removing a dummy linux/rwsem.h.
checking for kernel linux/gameport.h... "yes"
Removing a dummy linux/gameport.h.
checking for kernel linux/devfs_fs_kernel.h... "yes"
checking for kernel linux/highmem.h... "yes"
Removing a dummy linux/highmem.h.
checking for kernel linux/workqueue.h... "no"
checking for kernel asm/hw_irq.h... "yes"
checking for kernel linux/jiffies.h... "no"
checking for kernel linux/compat.h... "no"
checking for kernel linux/adb.h... "yes"
Removing a dummy linux/adb.h.
checking for kernel linux/cuda.h... "yes"
Removing a dummy linux/cuda.h.
checking for kernel linux/pmu.h... "yes"
Removing a dummy linux/pmu.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.21-0.13mdk/kernel/sound
checking for verbose printk... on
checking for debug level... none
checking for ISA support in kernel... "yes"
checking for processor type... i586
checking for SMP... "no"
checking for ISA PnP driver in kernel... yes
checking for PnP driver in kernel... no
checking for Kernel ISA-PnP support... "yes"
checking for strlcpy... "no"
checking for snprintf... "yes"
checking for vmalloc_to_page... "yes"
checking for old kmod... "yes"
Removing local linux/isapnp.h.
checking for driver version... 0.9.6
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for RTC callback support in kernel... "no"
checking for USB support... "no"
checking for USB module support... "yes"
checking for kernel PCMCIA
checking for PCMCIA support... "no"
checking for PCMCIA module support... "yes"
checking for PC9800 support in kernel... "no"
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
[root@localhost alsa-driver-0.9.6]# make
if [ ! -d include/sound -a ! -L include/sound ]; then \
  ln -sf ../alsa-kernel/include include/sound ; \
fi
cp -auvf include/version.h include/sound/version.h
‘include/version.h’ -> ‘include/sound/version.h’
make dep
make[1]: Entering directory `/home/dennis/alsa/alsa-driver-0.9.6'
make[2]: Entering directory `/home/dennis/alsa/alsa-driver-0.9.6/support'
make  -C pnp fastdep
make[3]: Entering directory `/home/dennis/alsa/alsa-driver-0.9.6/support/pnp'
/home/dennis/alsa/alsa-driver-0.9.6/include/sndversions.h was updated
gcc -D__KERNEL__ -DMODULE=1 -I/home/dennis/alsa/alsa-driver-0.9.6/include  -I/lib/modules/2.4.21-0.13mdk/build/include -O2 -mpreferred-stack-boundary=2 -march=i586 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD  -E -D__GENKSYMS__ pnp.c
| /sbin/genksyms -k 2.4.21  > /home/dennis/alsa/alsa-driver-0.9.6/include/modules/support-pnp__pnp.ver.tmp
mv /home/dennis/alsa/alsa-driver-0.9.6/include/modules/support-pnp__pnp.ver.tmp /home/dennis/alsa/alsa-driver-0.9.6/include/modules/support-pnp__pnp.ver
gcc -M -D__KERNEL__ -D__isapnp_now__ -DMODULE=1 -I/home/dennis/alsa/alsa-driver-0.9.6/include  -I/lib/modules/2.4.21-0.13mdk/build/include -O2 -mpreferred-stack-boundary=2 -march=i586 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD  pnp.c > .depend
make[3]: Leaving directory `/home/dennis/alsa/alsa-driver-0.9.6/support/pnp'
/home/dennis/alsa/alsa-driver-0.9.6/include/sndversions.h was updated
make[2]: Leaving directory `/home/dennis/alsa/alsa-driver-0.9.6/support'
make[2]: Entering directory `/home/dennis/alsa/alsa-driver-0.9.6/acore'
make  -C ioctl32 fastdep
make[3]: Entering directory `/home/dennis/alsa/alsa-driver-0.9.6/acore/ioctl32'
/home/dennis/alsa/alsa-driver-0.9.6/include/sndversions.h was not updated
make[3]: Leaving directory `/home/dennis/alsa/alsa-driver-0.9.6/acore/ioctl32'
make  -C oss fastdep
make[3]: Entering directory `/home/dennis/alsa/alsa-driver-0.9.6/acore/oss'
/home/dennis/alsa/alsa-driver-0.9.6/include/sndversions.h was not updated
copying file alsa-kernel/core/oss/mixer_oss.c
/bin/sh: line 1: patch: command not found
make[3]: *** [mixer_oss.c] 错误 127
make[3]: Leaving directory `/home/dennis/alsa/alsa-driver-0.9.6/acore/oss'
make[2]: *** [_sfdep_oss] 错误 2
make[2]: Leaving directory `/home/dennis/alsa/alsa-driver-0.9.6/acore'
make[1]: *** [dep] 错误 1
make[1]: Leaving directory `/home/dennis/alsa/alsa-driver-0.9.6'
make: *** [include/sndversions.h] 错误 2
这是不是我没有删了原来的声卡驱动的原因?
对于原来我装的那个我如何删去?
如果都装不上,我如何安装系统本来的那个声卡驱动?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-5 19:27 , Processed in 0.048193 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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