当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 7 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : alsa-driver编译不了,大家帮忙看看哪里出问题了
帖子发表于 : 2015-09-27 14:30 
头像

注册: 2011-03-12 14:40
帖子: 256
地址: 伤感地带城市,梅穿裤子小区
送出感谢: 0 次
接收感谢: 0 次
checking for directory with kernel source... /lib/modules/3.19.0-28-generic/build
checking for directory with kernel build...
checking for kernel version... The file /lib/modules/3.19.0-28-generic/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/3.19.0-28-generic/build).
附件:
DeepinScrot-2553.png
DeepinScrot-2553.png [ 138.17 KiB | 被浏览 1484 次 ]


系统是ubuntukylin 14.04
内核是3.19.0.28


_________________
opensuse和fedora手动安装显卡http://maoyaotang.blog.163.com/


页首
 用户资料  
 
2 楼 
 文章标题 : Re: alsa-driver编译不了,大家帮忙看看哪里出问题了
帖子发表于 : 2015-09-27 14:31 
头像

注册: 2011-03-12 14:40
帖子: 256
地址: 伤感地带城市,梅穿裤子小区
送出感谢: 0 次
接收感谢: 0 次
自己顶


_________________
opensuse和fedora手动安装显卡http://maoyaotang.blog.163.com/


页首
 用户资料  
 
3 楼 
 文章标题 : Re: alsa-driver编译不了,大家帮忙看看哪里出问题了
帖子发表于 : 2015-09-27 14:35 
头像

注册: 2011-03-20 13:12
帖子: 4519
地址: 山东省寿光县
系统: Debian
送出感谢: 105
接收感谢: 997
代码:
sudo apt install linux-headers-$(uname -r)


_________________
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户


页首
 用户资料  
 
4 楼 
 文章标题 : Re: alsa-driver编译不了,大家帮忙看看哪里出问题了
帖子发表于 : 2015-09-27 14:37 
头像

注册: 2011-03-12 14:40
帖子: 256
地址: 伤感地带城市,梅穿裤子小区
送出感谢: 0 次
接收感谢: 0 次
vickycq 写道:
代码:
sudo apt install linux-headers-$(uname -r)

都装了的


_________________
opensuse和fedora手动安装显卡http://maoyaotang.blog.163.com/


页首
 用户资料  
 
5 楼 
 文章标题 : Re: alsa-driver编译不了,大家帮忙看看哪里出问题了
帖子发表于 : 2015-09-27 14:38 
头像

注册: 2011-03-12 14:40
帖子: 256
地址: 伤感地带城市,梅穿裤子小区
送出感谢: 0 次
接收感谢: 0 次
vickycq 写道:
代码:
sudo apt install linux-headers-$(uname -r)

都装了的


_________________
opensuse和fedora手动安装显卡http://maoyaotang.blog.163.com/


页首
 用户资料  
 
6 楼 
 文章标题 : Re: alsa-driver编译不了,大家帮忙看看哪里出问题了
帖子发表于 : 2015-09-27 16:11 

注册: 2009-08-04 16:33
帖子: 16882
送出感谢: 21
接收感谢: 1825
引用:
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/3.19.0-28-generic/build).

可能編譯時 找不到 kernel 源碼
參見
1. https://help.ubuntu.com/community/Kerne ... nel_source
2. http://unix.stackexchange.com/questions ... -chrubuntu
3. http://stackoverflow.com/questions/9048 ... nux-ubuntu


页首
 用户资料  
 
7 楼 
 文章标题 : Re: alsa-driver编译不了,大家帮忙看看哪里出问题了
帖子发表于 : 2015-09-27 17:04 
头像

注册: 2011-03-20 13:12
帖子: 4519
地址: 山东省寿光县
系统: Debian
送出感谢: 105
接收感谢: 997
maoyaotang 写道:
都装了的


http://www.tldp.org/HOWTO/Alsa-sound-4.html
引用:
If this tells you that something like ``version.h'' cannot be found, then you probably do not have a proper kernel source tree. You need a couple of files of your kernel source to be able to compile the ALSA-drivers. Unpack your favorite linux-2.x.y.tar.gz in /usr/src, and issue a make menuconfig. (Actually, make symlinks may be enough).


_________________
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 7 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 1 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译