QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1427|回复: 4

安装 alsa出现问题

[复制链接]
发表于 2006-10-15 18:17:03 | 显示全部楼层 |阅读模式
照着安装顺序 ./configure  make make install
以前安装成功过,但是系统重装过就出现问题了.

[root@localhost alsa-driver-1.0.10]# ./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 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/alsa-driver-1.0.10
checking cross compile...
checking for directory with kernel source... /lib/modules/2.4.20-8/build
checking for directory with kernel build...
checking for kernel linux/version.h... no
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 /lib/modules/2.4.20-8/build).
[root@localhost alsa-driver-1.0.10]# make
make all-deps
make[1]: Entering directory `/root/alsa-driver-1.0.10'
make[1]: Nothing to be done for `all-deps'.
make[1]: Leaving directory `/root/alsa-driver-1.0.10'

Please, run the configure script as first...

[root@localhost alsa-driver-1.0.10]# make install
rm -f /snd*.*o /persist.o /isapnp.o
make[1]: Entering directory `/root/alsa-driver-1.0.10/acore'
Makefile:6: /root/alsa-driver-1.0.10/Makefile.conf: 没有那个文件或目录
/root/alsa-driver-1.0.10/Rules.make:75: /Rules.make1: 没有那个文件或目录
make[1]: *** No rule to make target `/Rules.make1'.  Stop.
make[1]: Leaving directory `/root/alsa-driver-1.0.10/acore'
make: *** [install-modules] Error 1

请有关人事帮忙解决下 .


会不会是在装系统的时候少装了什么 ?
发表于 2006-10-16 18:20:24 | 显示全部楼层
没装内核源码,回头装了就好了
回复

使用道具 举报

发表于 2006-10-16 18:49:04 | 显示全部楼层
我也是和搂主一样的问题,请问内核原码如何安装呢?
回复

使用道具 举报

发表于 2006-10-17 09:04:47 | 显示全部楼层

www.kernel.org下载
然后解压缩到
/usr/src 里面,或者直接在自己的对应版本里面搜索安装相应的软件包。
回复

使用道具 举报

发表于 2006-10-20 21:00:07 | 显示全部楼层
没事就README就对啦
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-16 22:55 , Processed in 0.052086 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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