求助,安装alsa错误。
我在安装alsa时,出现了这样的错误:(黑体的)# ./configure --with-cards=fm801 --with-oss=yes --with-sequencer=yes --with-debug=none --with-isqpnp=no
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... /tmp/ABC/alsa-driver-1.0.1
checking cross compile...
checking for directory with kernel source... /lib/modules/2.4.20-8/build
checking for kernel version... The file /lib/modules/2.4.20-8/build/include/linux/version.h does not exist.
Please, install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /usr/src/linux).#
configure没有通过。我用的是red hat 9.0,声卡是FM801的。
我想是内核配置文件的问题,瞎猜的。请问怎么解决? 2.4 的内核?
何必这么费劲呢,看说明的最后,上面有redhat 9的解决方案,呵呵,和其它的发行版不一样…… 我是菜鸟,英文又差,还请您明示呀! 忘了说,我在KDE的控制中心里查看内核的版本,也查不了,提示:
无法打开 /usr/src/linux -2.4/arch//config.in 读取您的内核源代码包含无效的配置规则
不知是怎么回事. 没有安装内核源码? 要怎样安装? 我在光盘里找到11个kernel开头的rpm包,拷到一个目录里,然后rpm -vh *.rpm,结果是:
# rpm -ivh *.rpm
warning: kernel-2.4.20-8.athlon.rpm: V3 DSA signature: NOKEY, key ID db42a60e
warning: package kernel = 2.4.20-8 was already added, replacing with kernel <= 2.4.20-8
warning: package kernel = 2.4.20-8 was already added, replacing with kernel <= 2.4.20-8
warning: package kernel-smp = 2.4.20-8 was already added, replacing with kernel-smp <= 2.4.20-8
error: Failed dependencies:
libsnmp.so.5 is needed by kernel-utils-2.4-8.29
#
这是怎么回事? 建议你去kernel.org下载一个内核,然后编译安装,再装alsa。
redhat的kernel souce不一定能用。 有没有更简单的方法?我是菜鸟,费了半天劲,总算用的比较顺手了,可就使出不了声!急死了!
页:
[1]