在内核中加入驱动后重新编译出错

内核编译和嵌入式产品的设计与开发
回复
aliyyy
帖子: 1
注册时间: 2015-09-15 10:08
系统: ubuntu14.04

在内核中加入驱动后重新编译出错

#1

帖子 aliyyy » 2015-09-15 10:14

本人新手,想把hello world驱动放入内核中,make menuconfig命令执行之后,执行make命令显示
make[1]: *** 没有规则可以创建“arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h”需要的目标“/usr/src/linux-headers-3.13.0-63-generic/arch/x86/syscalls/syscall_32.tbl”。 停止。
是哪里出现的问题,求各位大神帮忙解答一下!!!
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 在内核中加入驱动后重新编译出错

#2

帖子 poloshiao » 2015-09-15 11:15

https://help.ubuntu.com/community/Kerne ... Debian_Way
Alternate Build Method (B): The Old-Fashioned Debian Way
Before you run make menuconfig or make xconfig (which is what the next step tells you to do), make sure you have the necessary packages:
回复