gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o init/main.o init/main.c
In file included from /usr/src/linux/include/linux/prefetch.h:13,
from /usr/src/linux/include/linux/list.h:6,
from /usr/src/linux/include/linux/wait.h:14,
from /usr/src/linux/include/linux/fs.h:12,
from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux/include/asm/processor.h:73: 错误:数组元素的类型不完全
In file included from /usr/src/linux/include/linux/fs.h:201,
from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux/include/asm/byteorder.h:14: 警告:忽略函数返回类型的类型限定
/usr/src/linux/include/asm/byteorder.h:28: 警告:忽略函数返回类型的类型限定
In file included from /usr/src/linux/include/linux/byteorder/little_endian.h:11, from /usr/src/linux/include/asm/byteorder.h:45,
from /usr/src/linux/include/linux/fs.h:201,
from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from /usr/src/linux/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux/include/linux/byteorder/swab.h:132: 警告:忽略函数返回类型的类型 限定
/usr/src/linux/include/linux/byteorder/swab.h:145: 警告:忽略函数返回类型的类型 限定
/usr/src/linux/include/linux/byteorder/swab.h:159: 警告:忽略函数返回类型的类型 限定
In file included from /usr/src/linux/include/linux/unistd.h:9,
from init/main.c:17:
/usr/src/linux/include/asm/unistd.h:345: 警告:内建函数 ‘_exit’ 类型冲突
make: *** [init/main.o] 错误 1
请教 如何解决 谢谢
219.190.40.* 于 2007-07-06 00:44:16发表:
http://1eb30e823dd6be579d22ef9c1a337318-t.lwgmrw.org 1eb30e823dd6be579d22ef9c1a337318 http://1eb30e823dd6be579d22ef9c1a337318-b1.lwgmrw.org 1eb30e823dd6be579d22ef9c1a337318 http://1eb30e823dd6be579d22ef9c1a337318-b3.lwgmrw.org 7323937625928ec2c2b389a5c949efe8