QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 644|回复: 4

安装ALSA 失败,请达人指点

[复制链接]
发表于 2004-8-4 13:27:48 | 显示全部楼层 |阅读模式
[root@localhost alsa-driver-1.0.5a]# make install
find /lib/modules/2.4.21-4.EL/kernel/sound -name 'snd*.*o' | xargs rm -f
make[1]: 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[1]: *** [_modinst__] Error 1
make[1]: Leaving directory `/root/Desktop/DN/alsa-driver-1.0.5a/acore'
make: *** [install-modules] Error 1
发表于 2004-8-4 13:30:56 | 显示全部楼层
需要 ./configure 时的错误信息。


估计是没装开发工具。
回复

使用道具 举报

 楼主| 发表于 2004-8-4 13:46:11 | 显示全部楼层
开发工具全装了
回复

使用道具 举报

 楼主| 发表于 2004-8-4 13:49:36 | 显示全部楼层
[root@localhost alsa-driver-1.0.5a]# ./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
回复

使用道具 举报

 楼主| 发表于 2004-8-4 13:52:03 | 显示全部楼层
先吃饭去,在线等


————————————————————————————————
QQ:99070140
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-20 15:32 , Processed in 0.057892 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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