ghl99 发表于 2004-7-9 21:36:08

安装ALSA出现问题.

下载解压后安装出现以下问题: 请指点一二,不胜感激
# ./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/alsa-driver-0.9.2
checking cross compile...
checking for directory with kernel source... /lib/modules/2.4.22-1.2115.nptl/build
checking for kernel version... 2.4.22-1.2115.nptl
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 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.22-1.2115.nptl/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 vmalloc_to_page... "yes"
checking for driver version... 0.9.2
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: 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
#
# make install
make: Entering directory `/root/alsa-driver-0.9.2/acore'
gcc -D__KERNEL__ -DMODULE=1 -I/root/alsa-driver-0.9.2/include-I/lib/modules/2.4.22-1.2115.nptl/build/include -O2 -mpreferred-stack-boundary=2 -march=i686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD   -DEXPORT_SYMTAB -c memalloc.c
In file included from ../alsa-kernel/core/memalloc.c:27,
               from memalloc.c:28:
/lib/modules/2.4.22-1.2115.nptl/build/include/linux/proc_fs.h:17: error: redefinition of `PDE'
/root/alsa-driver-0.9.2/include/adriver.h:111: error: `PDE' previously defined here
make: *** Error 1
make: Leaving directory `/root/alsa-driver-0.9.2/acore'
make: *** Error 1
#

12543122 发表于 2004-7-9 22:56:37

老大,你没 make 就直接make install 了

源码包,得先编译,然后安装,不能直接安装……

ghl99 发表于 2004-7-10 13:38:17

谢谢
页: [1]
查看完整版本: 安装ALSA出现问题.