alsa-driver编译不了,大家帮忙看看哪里出问题了

CPU/显卡/打印机/USB设备等硬件问题
回复
头像
maoyaotang
帖子: 256
注册时间: 2011-03-12 14:40
来自: 伤感地带城市,梅穿裤子小区

alsa-driver编译不了,大家帮忙看看哪里出问题了

#1

帖子 maoyaotang » 2015-09-27 14:30

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
系统是ubuntukylin 14.04
内核是3.19.0.28
opensuse和fedora手动安装显卡http://maoyaotang.blog.163.com/
头像
maoyaotang
帖子: 256
注册时间: 2011-03-12 14:40
来自: 伤感地带城市,梅穿裤子小区

Re: alsa-driver编译不了,大家帮忙看看哪里出问题了

#2

帖子 maoyaotang » 2015-09-27 14:31

自己顶
opensuse和fedora手动安装显卡http://maoyaotang.blog.163.com/
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: alsa-driver编译不了,大家帮忙看看哪里出问题了

#3

帖子 vickycq » 2015-09-27 14:35

代码: 全选

sudo apt install linux-headers-$(uname -r)
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
头像
maoyaotang
帖子: 256
注册时间: 2011-03-12 14:40
来自: 伤感地带城市,梅穿裤子小区

Re: alsa-driver编译不了,大家帮忙看看哪里出问题了

#4

帖子 maoyaotang » 2015-09-27 14:37

vickycq 写了:

代码: 全选

sudo apt install linux-headers-$(uname -r)
都装了的
opensuse和fedora手动安装显卡http://maoyaotang.blog.163.com/
头像
maoyaotang
帖子: 256
注册时间: 2011-03-12 14:40
来自: 伤感地带城市,梅穿裤子小区

Re: alsa-driver编译不了,大家帮忙看看哪里出问题了

#5

帖子 maoyaotang » 2015-09-27 14:38

vickycq 写了:

代码: 全选

sudo apt install linux-headers-$(uname -r)
都装了的
opensuse和fedora手动安装显卡http://maoyaotang.blog.163.com/
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: alsa-driver编译不了,大家帮忙看看哪里出问题了

#6

帖子 poloshiao » 2015-09-27 16:11

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
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: alsa-driver编译不了,大家帮忙看看哪里出问题了

#7

帖子 vickycq » 2015-09-27 17:04

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 用户
回复