免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4561 | 回复: 7
打印 上一主题 下一主题

[系统安装] alsa声卡安装问题???? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-07-01 12:38 |只看该作者 |倒序浏览
装得centos 6.2没有声音,于是上网查了一下,按照人家的提示alsa,偶是新手,按布就班来前面都搞定了,但到了make install这一步就不行了,也上网查了一下,确实有人问过,但貌似最后都是不了了之,请问哪位大牛知道这到底是怎么了?该怎么办??一下是执行的代码,大家看看:
[root@localhost alsa-driver-1.0.25]# ./configure --with-kernel=/usr/src/kernels/2.6.32-220.239.1.el6.x86_64/
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 ISO C89... 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 grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/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... /usr/src/alsa/alsa-driver-1.0.25
checking cross compile...
checking for directory with ALSA kernel sources... /usr/src/alsa/alsa-driver-1.0.25/alsa-kernel
checking for directory with kernel source... 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.6.32-220.23.1.el6.x86_64/source).
[root@localhost alsa-driver-1.0.25]# make
make all-deps
make[1]: Entering directory `/usr/src/alsa/alsa-driver-1.0.25'
make[1]: Nothing to be done for `all-deps'.
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.25'

Please, run the configure script as first...

[root@localhost alsa-driver-1.0.25]# make install
if [ -L /include/sound ]; then \
                rm -f /include/sound; \
                ln -sf /usr/src/alsa/alsa-driver-1.0.25/include/sound /include/sound; \
        else \
                rm -rf /include/sound; \
                install -d -m 755 -g root -o root /include/sound; \
                for f in include/sound/*.h; do \
                        install -m 644 -g root -o root $f /include/sound; \
                done \
        fi
install: 无法获取"include/sound/*.h" 的文件状态(stat): 没有那个文件或目录
make: *** [install-headers] 错误 1
[root@localhost alsa-driver-1.0.25]#

论坛徽章:
13
15-16赛季CBA联赛之同曦
日期:2016-01-28 19:52:032015亚冠之北京国安
日期:2015-10-07 14:28:19NBA常规赛纪念章
日期:2015-05-04 22:32:03处女座
日期:2015-01-15 19:45:44卯兔
日期:2014-10-28 16:17:14白羊座
日期:2014-05-24 15:10:46寅虎
日期:2014-05-10 09:50:35白羊座
日期:2014-03-12 20:52:17午马
日期:2014-03-01 08:37:27射手座
日期:2014-02-19 19:26:54子鼠
日期:2013-11-30 09:03:56狮子座
日期:2013-09-08 08:37:52
2 [报告]
发表于 2012-07-01 13:26 |只看该作者
说明书是怎么写的?

论坛徽章:
1
2015年辞旧岁徽章
日期:2015-03-03 16:54:15
3 [报告]
发表于 2012-07-01 13:27 |只看该作者
回复 1# 尘烟5786


    一般而言,安装驱动首先需要安装内核源码头文件。

论坛徽章:
0
4 [报告]
发表于 2012-07-01 14:13 |只看该作者
Please install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel

论坛徽章:
0
5 [报告]
发表于 2012-07-01 14:35 |只看该作者
回复 3# snow888
嗯,这个我也注意了,但是他提示后面不还有一句“ use --with-kernel=dir option to specify another directory with kernel”嘛,我在./configure --with-kernel=/usr/src/kernels/2.6.32-220.239.1.el6.x86_64/
中不是有with-kernel吗??还有那个源码包安装的步骤是什么啊?我上网没找到个所以然,甚至连哪里下载都不知道,求解啊。。。。。。。

   

论坛徽章:
0
6 [报告]
发表于 2012-07-01 14:35 |只看该作者
回复 4# taojie2000
嗯,这个我也注意了,但是他提示后面不还有一句“ use --with-kernel=dir option to specify another directory with kernel”嘛,我在./configure --with-kernel=/usr/src/kernels/2.6.32-220.239.1.el6.x86_64/
中不是有with-kernel吗??还有那个源码包安装的步骤是什么啊?我上网没找到个所以然,甚至连哪里下载都不知道,求解啊。。。。。。。




   

论坛徽章:
0
7 [报告]
发表于 2012-07-01 15:17 |只看该作者
回复 6# 尘烟5786


    yum  把 kernel开头几个包都装上

论坛徽章:
0
8 [报告]
发表于 2012-07-01 17:18 |只看该作者
回复 7# taojie2000
我看网上说的源码包是在usr/src/linux/文件夹下的嘛,都装上也只是在/usr/src/kernels/里吧??这两个文件夹有什么区别吗??

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

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP