当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 3 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 建立内核错误
帖子发表于 : 2008-01-12 0:01 

注册: 2008-01-11 23:56
帖子: 9
送出感谢: 0 次
接收感谢: 0 次
gcc是3.3.2的,内核是2.6.12的,make menuconfig没有问题,但是到make zImage时出现下列问题,请高手指教:
SYMLINK include/asm-arm/arch -> include/asm-arm/arch-s3c2410
CC arch/arm/kernel/asm-offsets.s
In file included from include/asm/bitops.h:22,
from include/linux/bitops.h:77,
from include/linux/thread_info.h:20,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from arch/arm/kernel/asm-offsets.c:13:
include/asm/system.h:314:2: #error SMP not supported
In file included from include/linux/spinlock.h:43,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from arch/arm/kernel/asm-offsets.c:13:
include/asm/spinlock.h:5:2: #error SMP not supported on pre-ARMv6 CPUs
In file included from include/linux/spinlock.h:43,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from arch/arm/kernel/asm-offsets.c:13:
include/asm/spinlock.h: In function `_raw_read_unlock':
include/asm/spinlock.h:147: error: `tmp' undeclared (first use in this function)
include/asm/spinlock.h:147: error: (Each undeclared identifier is reported only once
include/asm/spinlock.h:147: error: for each function it appears in.)
include/asm/spinlock.h:147: error: `tmp2' undeclared (first use in this function)
In file included from include/linux/spinlock.h:519,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from arch/arm/kernel/asm-offsets.c:13:
include/asm/atomic.h:103:2: #error SMP not supported on pre-ARMv6 CPUs
In file included from include/linux/smp.h:19,
from include/linux/sched.h:26,
from arch/arm/kernel/asm-offsets.c:13:
include/asm/smp.h:18:26: asm/arch/smp.h: No such file or directory
make[1]: *** [arch/arm/kernel/asm-offsets.s] 错误 1
make: *** [arch/arm/kernel/asm-offsets.s] 错误 2


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2008-03-17 0:51 

注册: 2007-01-28 20:19
帖子: 74
送出感谢: 0 次
接收感谢: 0 次
顶起来,我的也有这样的问题,期待回复。
ps:ubuntu是不是不能编译内核啊?


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 建立内核错误
帖子发表于 : 2009-03-25 12:52 

注册: 2008-11-11 10:13
帖子: 3
送出感谢: 0 次
接收感谢: 0 次
同样的问题啊,期待答复


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 3 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译