dananddanny 发表于 2003-8-15 21:57:18

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

系统是MANDRAKE9.1
由于不能开两个播放器,我换了声卡驱动,OPENSOUND OSS,但是效果换不好,有杂音的,所以又下载了ALSA,但是安装时出现一下错误$ su
Password:
su: incorrect password
$ su
Password:
# cd /home/dennis/tmp
# chmod +x oss-install
# ./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
# cd /home/dennis/alsa
# ls
alsa-driver-0.9.6.tar.bz2
# 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
# ls
alsa-driver-0.9.6/alsa-driver-0.9.6.tar.bz2
# cd alsa-driver-0.9.6
# .configure
bash: .configure: command not found
# ./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
# 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: Entering directory `/home/dennis/alsa/alsa-driver-0.9.6'
make: Entering directory `/home/dennis/alsa/alsa-driver-0.9.6/support'
make-C pnp fastdep
make: 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_BUILDpnp.c > .depend
make: 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: Leaving directory `/home/dennis/alsa/alsa-driver-0.9.6/support'
make: Entering directory `/home/dennis/alsa/alsa-driver-0.9.6/acore'
make-C ioctl32 fastdep
make: 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: Leaving directory `/home/dennis/alsa/alsa-driver-0.9.6/acore/ioctl32'
make-C oss fastdep
make: 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: *** 错误 127
make: Leaving directory `/home/dennis/alsa/alsa-driver-0.9.6/acore/oss'
make: *** 错误 2
make: Leaving directory `/home/dennis/alsa/alsa-driver-0.9.6/acore'
make: *** 错误 1
make: Leaving directory `/home/dennis/alsa/alsa-driver-0.9.6'
make: *** 错误 2
这是不是我没有删了原来的声卡驱动的原因?
对于原来我装的那个我如何删去?
如果都装不上,我如何安装系统本来的那个声卡驱动?
页: [1]
查看完整版本: 关于声卡驱动的安装与卸载的问题