hmh02 发表于 2003-10-13 18:15:23

装VT8233声卡遇到的问题,请教

:cry:
我用的是RH8,内核2.4.18-14,以前装的声卡驱动是alsa-driver-0.9.0beta10.tar.bz2,成功安装。现在重装了系统,安装alsa-driver-0.9.0beta10.tar.bz2却怎么也装不上去,提示:open mixer error。无奈去下载了alsa-driver-0.9.7,安装时提示以下错误:


# ./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/linux/sound/alsa-driver-0.9.7
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 GCC version... Kernel compiler:Used compiler: gcc (GCC) 3.2 20020903 (Red Hat

Linux 8.0 3.2-7)   

*** 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 to modify of kernel linux/kmod.h... "no"
checking for kernel linux/compiler.h... "yes"
checking for kernel linux/pm.h... "yes"
checking for kernel linux/spinlock.h... "yes"
checking for kernel linux/irq.h... "yes"
checking for kernel linux/threads.h... "yes"
checking for kernel linux/rwsem.h... "yes"
checking for kernel linux/gameport.h... "yes"
checking for kernel linux/devfs_fs_kernel.h... "yes"
checking for kernel linux/highmem.h... "yes"
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"
checking for kernel linux/cuda.h... "yes"
checking for kernel linux/pmu.h... "yes"
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... "yes"
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"
checking for driver version... 0.9.7
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for RTC callback support in kernel... "no"
checking for USB support... "yes"
checking for kernel PCMCIA
checking for PCMCIA 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: include/config1.h is unchanged
config.status: creating include/version.h
config.status: include/version.h is unchanged


# make
(省略)
.
.
.
/lib/modules/2.4.18-14/build/include/linux/modules/i386_ksyms.ver:88:1: warning: this is the

location of the previous definition In file included from usbus428.c:72: usbus428.h:11:

redefinition of `urb_t'
/lib/modules/2.4.18-14/build/include/linux/usb.h:473: `urb_t' previously declared here

usbus428.h:12: redefinition of `purb_t'
/lib/modules/2.4.18-14/build/include/linux/usb.h:473: `purb_t' previously declared here
make: *** Error 1
make: Leaving directory `/home/linux/sound/alsa-driver-0.9.7/usb/us428'
make: *** Error 2
make: Leaving directory `/home/linux/sound/alsa-driver-0.9.7/usb'
make: *** Error 1


# make install

rm -rf /lib/modules/2.4.18-14/kernel/sound
make: Entering directory `/home/linux/sound/alsa-driver-0.9.7/support'
make-C pnp modules_install
make: Entering directory `/home/linux/sound/alsa-driver-0.9.7/support/pnp'
mkdir -p /lib/modules/2.4.18-14/kernel/sound/support/pnp
cp snd-pnp.o /lib/modules/2.4.18-14/kernel/sound/support/pnp
cp: cannot stat `snd-pnp.o': No such file or directory
make: *** Error 1
make: Leaving directory `/home/linux/sound/alsa-driver-0.9.7/support/pnp'
make: *** Error 2
make: Leaving directory `/home/linux/sound/alsa-driver-0.9.7/support'
make: *** Error 1

#

请高手帮帮忙,看一下这个错误是什么意思;
另外,在安装前我没有将旧驱动删去,只是将/etc/modules.fon文件中原先添加的几行删了,错误是否与此有关,旧驱动应如何删除,请大家教我。

myleader 发表于 2003-10-14 11:27:16

内核的问题,推荐重新下载内核的src.rpm,修改配置文件,重新编译rpm。

mking007 发表于 2003-10-16 10:05:29

有没有把内核源码装上?要新鲜的,还有,configure时候加上--with-cards=via82xx,这样编译可以针对你的声卡进行。如果不加上可能会出错。

hmh02 发表于 2003-10-16 10:31:54

:cry: 我打算重装系统再试一下
页: [1]
查看完整版本: 装VT8233声卡遇到的问题,请教