make bzImage编译linux内核时怎么出现以下这么多错误,是不是配置的时候出错了

make[1]:`arch/i386/kernel/asm-offsets.s'isuptodate.CHKinclude/asm-i386/asm_offsets.hC... make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/asm-i386/asm_offsets.h
CC init/main.o
In file included from include/asm/mpspec.h:5,
from include/asm/smp.h:18,
from include/linux/smp.h:17,
from include/linux/sched.h:23,
from include/linux/module.h:10,
from init/main.c:15:
include/asm/mpspec_def.h:77: warning: ‘packed’ attribute ignored for field of type ‘unsigned char[6]’
In file included from include/linux/sched.h:23,
from include/linux/module.h:10,
from init/main.c:15:
include/linux/smp.h:33: error: conflicting types for ‘smp_send_reschedule’
include/asm/smp.h:41: note: previous declaration of ‘smp_send_reschedule’ was here
In file included from include/linux/fs.h:280,
from include/linux/proc_fs.h:6,
from init/main.c:16:
include/linux/quota.h: In function ‘mark_info_dirty’:
include/linux/quota.h:179: warning: ‘set_bit’ is static but used in inline function ‘mark_info_dirty’ which is not static
In file included from include/linux/unistd.h:9,
from init/main.c:19:
include/asm/unistd.h: At top level:
include/asm/unistd.h:397: warning: conflicting types for built-in function ‘_exit’
init/main.c: In function ‘maxcpus’:
init/main.c:136: warning: pointer targets in passing argument 2 of ‘get_option’ differ in signedness
include/linux/kernel.h:80: note: expected ‘int *’ but argument is of type ‘unsigned int *’
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
展开
 我来答
杭州同济医院13
2015-05-05 · TA获得超过864个赞
知道大有可为答主
回答量:2494
采纳率:0%
帮助的人:1841万
展开全部
你可以使用自己的内核而不是发行版的内核, 另外也介绍了如何给内核打补丁, 从而方便增加新的功能.下面的工作我都在Ubuntu 6.10 Server ("Edgy Eft")和Ubuntu 6.06 Desktop ("Dapper Drake")上经过了测试.
我想首先要说的是文章中构建自定义内核的方式不是唯一的, 还有许多其它的方式, 这不过是我习惯的方式. 我不能保证使用后不会出现任何问题.
参考地址:http://linux.chinaunix.net/techdoc/system/2007/08/26/966343.shtml
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式