QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 508|回复: 11

声音问题!!!求救!!

[复制链接]
发表于 2003-9-14 17:37:55 | 显示全部楼层 |阅读模式
RH9.0
安装ALSA0.9.6 make 显示 什么原因啊?
[root@loading alsa-driver-0.9.6]# make
if [ ! -d include/sound -a ! -L include/sound ]; then \
  ln -sf ../alsa-kernel/include include/sound ; \
fi
ln: 正在创建连至‘../alsa-kernel/include’的符号链接‘include/sound’: 不允许的操作
make: *** [include/sound/version.h] Error 1

[root@loading alsa-driver-0.9.6]# ./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... /mnt/win_h/linux/驱动程序/ALSA0.9.6/alsa-driver-0.9.6
checking cross compile...
checking for directory with kernel source... /lib/modules/2.4.20-8/build
checking for kernel version... 2.4.20-8
checking for GCC version... Kernel compiler:  Used compiler: gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)

*** 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 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.
checking for redhat kernel... "yes"
It looks like you're using a RedHat 9 kernel.
Disabling their incomplete workqueue.h modification.
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.20-8/kernel/sound
checking for verbose printk... on
checking for debug level... none
checking for ISA support in kernel... "yes"
checking for processor type... k7
checking for SMP... "no"
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.6
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
[root@loading alsa-driver-0.9.6]#
发表于 2003-9-15 08:32:44 | 显示全部楼层
./configure然后make
回复

使用道具 举报

 楼主| 发表于 2003-9-15 19:46:08 | 显示全部楼层

是这样做的啊!!!!就是make就那样了!!我是顺便把它们都

是这样做的啊!!!!就是make就那样了!!我是顺便把它们都
回复

使用道具 举报

发表于 2003-9-16 12:35:31 | 显示全部楼层
configure没有错误

alsa-kernel目录在什么地方?
回复

使用道具 举报

 楼主| 发表于 2003-9-16 12:50:31 | 显示全部楼层
/mnt/win_h/linux/驱动程序/ALSA0.9.6/alsa-driver-0.9.6/alsa-kernel
回复

使用道具 举报

发表于 2003-9-16 12:53:18 | 显示全部楼层
你把错误信息后面的几行也贴出来,我看看目录级对不对
回复

使用道具 举报

 楼主| 发表于 2003-9-16 21:32:43 | 显示全部楼层
[root@loading alsa-driver-0.9.6]# make
if [ ! -d include/sound -a ! -L include/sound ]; then \
ln -sf ../alsa-kernel/include include/sound ; \
fi
ln: 正在创建连至‘../alsa-kernel/include’的符号链接‘include/sound’: 不允许的操作
make: *** [include/sound/version.h] Error 1

就这么多!!
回复

使用道具 举报

 楼主| 发表于 2003-9-17 18:18:22 | 显示全部楼层
斑竹救我啊!!!!到底哪里错了?
回复

使用道具 举报

发表于 2003-9-18 09:15:11 | 显示全部楼层
进入alsa-kernel目录,执行ln -sf ../alsa-kernel/include include/sound看看,如果出现一样的错误就看看include目录的权限是否可写
回复

使用道具 举报

 楼主| 发表于 2003-9-18 13:23:35 | 显示全部楼层
错误一样,怎么看权限啊?我很菜!!还有怎么改权限啊?
多谢了!!
回复

使用道具 举报

 楼主| 发表于 2003-9-19 15:28:01 | 显示全部楼层
我用的root
chmod 777也不行!
回复

使用道具 举报

 楼主| 发表于 2003-9-20 23:33:38 | 显示全部楼层
斑竹,请耐心教我啊!!到底怎么做,多谢了!
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-19 03:27 , Processed in 0.075758 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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