LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 535|回复: 0

error occurs when install alsa-driver

[复制链接]
发表于 2006-9-19 19:52:51 | 显示全部楼层 |阅读模式
When install alsa-driver, the following error occurs. Who knows the way to solve the issue? Plz help!(alsa-driver-1.0.8)
===========================
[root@localhost alsa-driver-1.0.8]# ./configure --with-cards=intel8x0 --with-sequencer=yes
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 suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
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 egrep... grep -E
checking for ANSI C header files... yes
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/alsa/alsa-driver-1.0.8
checking cross compile...
checking for directory with kernel source... /lib/modules/2.6.17-1.2187_FC5/source
checking for directory with kernel build... /lib/modules/2.6.17-1.2187_FC5/buildchecking for kernel version... 2.6.17-1.2187_FC5
checking for GCC version... Kernel compiler: gcc 4.1.1 20060525 (Red Hat 4.1.1-1) Used compiler: gcc (GCC) 4.1.1 20060525 (Red Hat 4.1.1-1)
checking for built-in ALSA... "no"
checking for existing ALSA module... "yes"
checking for Red Hat kernel... "auto"
checking for Red Hat kernel... "no"
checking for SUSE kernel... "auto"
checking for SUSE kernel... "no"
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... "yes"
checking for kernel linux/dma-mapping.h... "yes"
checking for kernel asm/hw_irq.h... "yes"
checking for kernel linux/device.h... "yes"
checking for kernel linux/jiffies.h... "yes"
checking for kernel linux/compat.h... "yes"
checking for kernel linux/adb.h... "yes"
checking for kernel linux/cuda.h... "yes"
checking for kernel linux/pmu.h... "yes"
checking for kernel linux/moduleparam.h... "yes"
checking for kernel linux/syscalls.h... "yes"
checking for kernel linux/firmware.h... "yes"
checking for kernel module symbol versions... "yes"
checking for PCI support in kernel... "yes"
checking for I2C driver in kernel... module
checking for firmware loader... yes
checking for input subsystem in kernel... yes
checking for SGI/MIPS (HAL2) architecture... "no"
checking for directory to store kernel modules... /lib/modules/2.6.17-1.2187_FC5/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 i386 machine type... default
checking for SMP... "no"
checking for Video device support in kernel... "yes"
checking for ISA PnP driver in kernel... yes
checking for PnP driver in kernel... yes
checking for Kernel ISA-PnP support... "yes"
checking for strlcpy... "yes"
checking for snprintf... "yes"
checking for scnprintf... "yes"
checking for sscanf... "yes"
checking for vmalloc_to_page... "no"
checking for old kmod... "no"
checking for PDE... "no"
checking for pci_set_consistent_dma_mask... "no"
checking for pci_dev_present... "no"
checking for tty->count is the atomic type... "no"
checking for video_get_drvdata... "no"
checking for remap_pfn_range... "no"
checking for new remap_page_range... "no"
checking for kcalloc... "no"
checking for saved_config_space in pci_dev... "no"
checking for acpi_register_gsi... "no"
checking for driver version... 1.0.8
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for RTC callback support in kernel... "no"
checking for Procfs support... "yes"
checking for USB support... "yes"
checking for kernel PCMCIA
checking for PCMCIA support... "yes"
checking for PC9800 support in kernel... "no"
checking for parallel port support... "yes"
checking for which soundcards to compile driver for... intel8x0
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 utils/alsasound
config.status: creating utils/alsasound.posix
config.status: creating include/config.h
config.status: include/config.h is unchanged
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
config.status: creating include/autoconf-extra.h
config.status: include/autoconf-extra.h is unchanged
Hacking autoconf.h...
[root@localhost alsa-driver-1.0.8]# make
make dep
make[1]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8'
make[2]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/acore'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/acore/oss'
make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/acore/oss'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/acore/seq'
make[4]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/acore/seq/instr'
make[4]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/acore/seq/instr'
make[4]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/acore/seq/oss'make[4]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/acore/seq/oss'
make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/acore/seq'
make[2]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/acore'
make[2]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/i2c'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/i2c/other'
make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/i2c/other'
make[2]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/i2c'
make[2]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/drivers'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/drivers/opl3'
make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/drivers/opl3'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/drivers/opl4'
make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/drivers/opl4'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/drivers/mpu401'
make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/drivers/mpu401'make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/drivers/vx'
make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/drivers/vx'
make[2]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/drivers'
make[2]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/isa'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/isa/msnd'
make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/isa/msnd'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/isa/ad1816a'
make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/isa/ad1816a'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/isa/ad1848'
make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/isa/ad1848'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/isa/cs423x'
make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/isa/cs423x'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/isa/es1688'
make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/isa/es1688'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/isa/gus'
make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/isa/gus'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/isa/opti9xx'
make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/isa/opti9xx'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/isa/sb'
make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/isa/sb'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/isa/wavefront'make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/isa/wavefront'
make[2]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/isa'
make[2]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/synth'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/synth/emux'
make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/synth/emux'
make[2]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/synth'
make[2]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci/pdplus'
make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci/pdplus'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci/azx'
make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci/azx'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci/pcxhr'
make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci/pcxhr'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci/echoaudio'make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci/echoaudio'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci/ac97'
make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci/ac97'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci/ali5451'
make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci/ali5451'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci/au88x0'
make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci/au88x0'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci/ca0106'
make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci/ca0106'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci/cs46xx'
make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci/cs46xx'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci/emu10k1'
make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci/emu10k1'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci/ice1712'
make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci/ice1712'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci/korg1212'
make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci/korg1212'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci/mixart'
make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci/mixart'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci/nm256'
make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci/nm256'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci/rme9652'
make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci/rme9652'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci/trident'
make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci/trident'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci/ymfpci'
make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci/ymfpci'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci/vx222'
make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci/vx222'
make[2]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/pci'
make[2]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/usb'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/usb/usx2y'
make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/usb/usx2y'
make[2]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/usb'
make[2]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/pcmcia'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/pcmcia/vx'
make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/pcmcia/vx'
make[3]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/pcmcia/pdaudiocf'
make[3]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/pcmcia/pdaudiocf'
make[2]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/pcmcia'
make[1]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8'
make -C /lib/modules/2.6.17-1.2187_FC5/source SUBDIRS=/root/Desktop/alsa/alsa-driver-1.0.8 O=/lib/modules/2.6.17-1.2187_FC5/build modules
make[1]: Entering directory `/usr/src/kernels/2.6.17-1.2187_FC5-i686'
  CC [M]  /root/Desktop/alsa/alsa-driver-1.0.8/acore/sgbuf.o
In file included from /root/Desktop/alsa/alsa-driver-1.0.8/include/adriver.h:584,
                 from /root/Desktop/alsa/alsa-driver-1.0.8/acore/sgbuf.c:14:
include/linux/pci.h:496: error: expected identifier or ‘(’ before numeric constant
make[4]: *** [/root/Desktop/alsa/alsa-driver-1.0.8/acore/sgbuf.o] Error 1
make[3]: *** [/root/Desktop/alsa/alsa-driver-1.0.8/acore] Error 2
make[2]: *** [_module_/root/Desktop/alsa/alsa-driver-1.0.8] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.17-1.2187_FC5-i686'
make: *** [compile] Error 2
[root@localhost alsa-driver-1.0.8]# make install
find /lib/modules/2.6.17-1.2187_FC5/kernel/sound -name 'snd*.*o' | xargs rm -f
make[1]: Entering directory `/root/Desktop/alsa/alsa-driver-1.0.8/acore'
mkdir -p /lib/modules/2.6.17-1.2187_FC5/kernel/sound/acore
cp snd-page-alloc.ko snd-pcm.ko snd-timer.ko snd.ko /lib/modules/2.6.17-1.2187_FC5/kernel/sound/acore
cp: cannot stat `snd-page-alloc.ko': No such file or directory
cp: cannot stat `snd-pcm.ko': No such file or directory
cp: cannot stat `snd-timer.ko': No such file or directory
cp: cannot stat `snd.ko': No such file or directory
make[1]: *** [modules_install] Error 1
make[1]: Leaving directory `/root/Desktop/alsa/alsa-driver-1.0.8/acore'
make: *** [install-modules] Error 1
[root@localhost alsa-driver-1.0.8]#
===========================
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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