安装ALSA 失败,请达人指点
# make installfind /lib/modules/2.4.21-4.EL/kernel/sound -name 'snd*.*o' | xargs rm -f
make: Entering directory `/root/Desktop/DN/alsa-driver-1.0.5a/acore'
mkdir -p /lib/modules/2.4.21-4.EL/kernel/sound/acore
cp snd-hwdep.o snd-page-alloc.o snd-pcm.o snd-rawmidi.o snd-timer.o snd.o /lib/modules/2.4.21-4.EL/kernel/sound/acore
cp: stat‘snd-hwdep.o’失败: 没有那个文件或目录
cp: stat‘snd-page-alloc.o’失败: 没有那个文件或目录
cp: stat‘snd-pcm.o’失败: 没有那个文件或目录
cp: stat‘snd-rawmidi.o’失败: 没有那个文件或目录
cp: stat‘snd-timer.o’失败: 没有那个文件或目录
cp: stat‘snd.o’失败: 没有那个文件或目录
make: *** Error 1
make: Leaving directory `/root/Desktop/DN/alsa-driver-1.0.5a/acore'
make: *** Error 1 需要 ./configure 时的错误信息。
估计是没装开发工具。 开发工具全装了 # ./configure
checking for gcc... gcc
checking for C compiler default output file name... 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/DN/alsa-driver-1.0.5a
checking cross compile...
checking for directory with kernel source... /lib/modules/2.4.21-4.EL/build
checking for kernel version... 2.4.21-4.EL
checking for GCC version... Kernel compiler:Used compiler: gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-20)
*** 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 built-in ALSA... "no"
checking for existing ALSA module... "no"
checking for Red Hat kernel... "auto"
checking for Red Hat kernel... "yes"
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"
Removing a dummy linux/workqueue.h.
It looks like you're using a RedHat 9 kernel.
Disabling their incomplete workqueue.h modification.
checking for kernel linux/dma-mapping.h... "no"
checking for kernel asm/hw_irq.h... "yes"
checking for kernel linux/device.h... "no"
checking for kernel linux/jiffies.h... "no"
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... "no"
checking for kernel linux/syscalls.h... "no"
checking for exported symbol dump_stack... "yes"
checking for kernel module symbol versions... "yes"
checking for PCI support in kernel... "yes"
checking for Experimental drivers in kernel... "yes"
checking for SGI/MIPS (HAL2) architecture... "no"
checking for directory to store kernel modules... /lib/modules/2.4.21-4.EL/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 Video device support in kernel... "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 ISA PnP support... yes
checking for strlcpy... "no"
checking for snprintf... "yes"
checking for scnprintf... "no"
checking for vmalloc_to_page... "yes"
checking for old kmod... "yes"
checking for PDE... "no"
checking for pci_set_consistent_dma_mask... "no"
checking for tty->count is the atomic type... "yes"
checking for video_get_drvdata... "no"
checking for driver version... 1.0.5a
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 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 先吃饭去,在线等
————————————————————————————————
QQ:99070140
页:
[1]