LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 745|回复: 0

make bzImage 问题

[复制链接]
发表于 2008-3-2 19:58:15 | 显示全部楼层 |阅读模式
debian:/usr/src nux# make bzImage
gcc -D__KERNEL__ -I/usr/src nux-2.4.18/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i386   -DKBUILD_BASENAME=main -c -o init/main.o init/main.c
In file included from /usr/src nux-2.4.18/include nux/prefetch.h:13,
                 from /usr/src nux-2.4.18/include nux st.h:6,
                 from /usr/src nux-2.4.18/include nux/wait.h:14,
                 from /usr/src nux-2.4.18/include nux/fs.h:12,
                 from /usr/src nux-2.4.18/include nux/capability.h:17,
                 from /usr/src nux-2.4.18/include nux/binfmts.h:5,
                 from /usr/src nux-2.4.18/include nux/sched.h:9,
                 from /usr/src nux-2.4.18/include nux/mm.h:4,
                 from /usr/src nux-2.4.18/include nux/slab.h:14,
                 from /usr/src nux-2.4.18/include nux/proc_fs.h:5,
                 from init/main.c:15:
/usr/src nux-2.4.18/include/asm/processor.h:73: error: array type has incomplete element type
In file included from /usr/src nux-2.4.18/include nux/fs.h:201,
                 from /usr/src nux-2.4.18/include nux/capability.h:17,
                 from /usr/src nux-2.4.18/include nux/binfmts.h:5,
                 from /usr/src nux-2.4.18/include nux/sched.h:9,
                 from /usr/src nux-2.4.18/include nux/mm.h:4,
                 from /usr/src nux-2.4.18/include nux/slab.h:14,
                 from /usr/src nux-2.4.18/include nux/proc_fs.h:5,
                 from init/main.c:15:
/usr/src nux-2.4.18/include/asm/byteorder.h:14: warning: type qualifiers ignored on function return type
/usr/src nux-2.4.18/include/asm/byteorder.h:28: warning: type qualifiers ignored on function return type
In file included from /usr/src nux-2.4.18/include nux/byteorder ttle_endian.h:11,
                 from /usr/src nux-2.4.18/include/asm/byteorder.h:45,
                 from /usr/src nux-2.4.18/include nux/fs.h:201,
                 from /usr/src nux-2.4.18/include nux/capability.h:17,
                 from /usr/src nux-2.4.18/include nux/binfmts.h:5,
                 from /usr/src nux-2.4.18/include nux/sched.h:9,
                 from /usr/src nux-2.4.18/include nux/mm.h:4,
                 from /usr/src nux-2.4.18/include nux/slab.h:14,
                 from /usr/src nux-2.4.18/include nux/proc_fs.h:5,
                 from init/main.c:15:
/usr/src nux-2.4.18/include nux/byteorder/swab.h:132: warning: type qualifiers ignored on function return type
/usr/src nux-2.4.18/include nux/byteorder/swab.h:145: warning: type qualifiers ignored on function return type
/usr/src nux-2.4.18/include nux/byteorder/swab.h:159: warning: type qualifiers ignored on function return type
In file included from /usr/src nux-2.4.18/include nux/fs.h:314,
                 from /usr/src nux-2.4.18/include nux/capability.h:17,
                 from /usr/src nux-2.4.18/include nux/binfmts.h:5,
                 from /usr/src nux-2.4.18/include nux/sched.h:9,
                 from /usr/src nux-2.4.18/include nux/mm.h:4,
                 from /usr/src nux-2.4.18/include nux/slab.h:14,
                 from /usr/src nux-2.4.18/include nux/proc_fs.h:5,
                 from init/main.c:15:
/usr/src nux-2.4.18/include nux/ncp_fs_i.h:26: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src nux-2.4.18/include nux/ncp_fs_i.h:27: warning: 'packed' attribute ignored for field of type '__u8[6]'
In file included from /usr/src nux-2.4.18/include nux/ncp_mount.h:12,
                 from /usr/src nux-2.4.18/include nux/ncp_fs_sb.h:12,
                 from /usr/src nux-2.4.18/include nux/fs.h:690,
                 from /usr/src nux-2.4.18/include nux/capability.h:17,
                 from /usr/src nux-2.4.18/include nux/binfmts.h:5,
                 from /usr/src nux-2.4.18/include nux/sched.h:9,
                 from /usr/src nux-2.4.18/include nux/mm.h:4,
                 from /usr/src nux-2.4.18/include nux/slab.h:14,
                 from /usr/src nux-2.4.18/include nux/proc_fs.h:5,
                 from init/main.c:15:
/usr/src nux-2.4.18/include nux/ncp.h:24: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src nux-2.4.18/include nux/ncp.h:25: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src nux-2.4.18/include nux/ncp.h:26: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src nux-2.4.18/include nux/ncp.h:27: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src nux-2.4.18/include nux/ncp.h:28: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src nux-2.4.18/include nux/ncp.h:29: warning: 'packed' attribute ignored for field of type '__u8[]'
/usr/src nux-2.4.18/include nux/ncp.h:37: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src nux-2.4.18/include nux/ncp.h:38: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src nux-2.4.18/include nux/ncp.h:39: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src nux-2.4.18/include nux/ncp.h:40: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src nux-2.4.18/include nux/ncp.h:41: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src nux-2.4.18/include nux/ncp.h:42: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src nux-2.4.18/include nux/ncp.h:43: warning: 'packed' attribute ignored for field of type '__u8[]'
/usr/src nux-2.4.18/include nux/ncp.h:137: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src nux-2.4.18/include nux/ncp.h:138: warning: 'packed' attribute ignored for field of type '__u8[256]'
/usr/src nux-2.4.18/include nux/ncp.h:174: warning: 'packed' attribute ignored for field of type '__u8'
In file included from /usr/src nux-2.4.18/include nux/unistd.h:9,
                 from init/main.c:17:
/usr/src nux-2.4.18/include/asm/unistd.h:360: warning: conflicting types for built-in function '_exit'
make: *** [init/main.o] Error 1

为什么出现这样的问题.thx in adwance
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表