- 论坛徽章:
- 0
|
原Kernel 2.4.20-8,准备升级到2.6.10,编译内核出现以下问题,何解?
[root@li linux-2.6.10]# make bzImage
CHK include/linux/version.h
CC arch/i386/kernel/asm-offsets.s
In file included from include/linux/types.h:13,
from include/linux/capability.h:16,
from include/linux/sched.h:7,
from arch/i386/kernel/asm-offsets.c:7:
include/linux/posix_types.h:37: invalid lvalue in decrement
include/linux/posix_types.h:37: parse error before ';' token
include/linux/posix_types.h:37: warning: no semicolon at end of struct or union
include/linux/posix_types.h:38: warning: type defaults to `int' in declaration of `__kernel_fd_set'
include/linux/posix_types.h:38: warning: data definition has no type or storage
class
In file included from include/linux/capability.h:16,
from include/linux/sched.h:7,
from arch/i386/kernel/asm-offsets.c:7:
include/linux/types.h:20: parse error before "fd_set"
include/linux/types.h:20: warning: type defaults to `int' in declaration of `fd_set'
include/linux/types.h:20: warning: data definition has no type or storage class
make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1
make: *** [arch/i386/kernel/asm-offsets.s] Error 2
[root@li linux-2.6.10]#
请过来人指点,多谢! |
|