LinuxSir.cn,穿越时空的Linuxsir!

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

编译内核"CC arch/i386/kernel/asm-offsets.s"出错

[复制链接]
发表于 2004-1-9 14:16:48 | 显示全部楼层 |阅读模式
CC      arch/i386/kernel/asm-offsets.s
arch/i386/kernel/asm-offsets.c:7:26: linux/signal.h: No such file or directory
arch/i386/kernel/asm-offsets.c:8:26: asm/ucontext.h: No such file or directory
In file included from arch/i386/kernel/asm-offsets.c:9:
arch/i386/kernel/sigframe.h:5: error: field `sc' has incomplete type
arch/i386/kernel/sigframe.h:6: error: field `fpstate' has incomplete type
arch/i386/kernel/sigframe.h:7: error: `_NSIG_WORDS' undeclared here (not in a function)
arch/i386/kernel/sigframe.h:17: error: field `info' has incomplete type
arch/i386/kernel/sigframe.h:18: error: field `uc' has incomplete type
arch/i386/kernel/sigframe.h:19: error: field `fpstate' has incomplete type
arch/i386/kernel/asm-offsets.c: In function `foo':
arch/i386/kernel/asm-offsets.c:18: warning: implicit declaration of function `offsetof'
arch/i386/kernel/asm-offsets.c:18: error: parse error before "struct"
arch/i386/kernel/asm-offsets.c:19: error: parse error before "struct"
arch/i386/kernel/asm-offsets.c:20: error: parse error before "struct"
arch/i386/kernel/asm-offsets.c:21: error: parse error before "struct"
arch/i386/kernel/asm-offsets.c:22: error: parse error before "struct"
arch/i386/kernel/asm-offsets.c:23: error: parse error before "struct"
arch/i386/kernel/asm-offsets.c:24: error: parse error before "struct"
arch/i386/kernel/asm-offsets.c:25: error: parse error before "struct"
arch/i386/kernel/asm-offsets.c:26: error: parse error before "struct"
arch/i386/kernel/asm-offsets.c:30: error: parse error before "struct"
make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1
make: *** [arch/i386/kernel/asm-offsets.s] Error 2

这种问题真是有点奇怪呀
 楼主| 发表于 2004-1-9 14:22:02 | 显示全部楼层
重新装了一下内核包就好了,呵呵
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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