主题 : QQ2440内核编译时出问题 复制链接 | 浏览器收藏 | 打印
狂舞为梦
级别: 新手上路
UID: 76746
精华: 0
发帖: 6
金钱: 30 两
威望: 6 点
贡献值: 0 点
综合积分: 12 分
注册时间: 2012-08-29
最后登录: 2013-06-23
楼主  发表于: 2013-05-27 20:17

 QQ2440内核编译时出问题

[root@localhost kernel-2.6.13]# make zImage
  CHK     include/linux/version.h
  CC      arch/arm/kernel/asm-offsets.s
In file included from include/asm/page.h:27,
                 from include/asm/cpu-single.h:33,
                 from include/asm/proc-fns.h:154,
                 from include/asm/system.h:96,
                 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/glue.h:111:2: error: #error Unknown data abort handler type
In file included from include/asm/cpu-single.h:33,
                 from include/asm/proc-fns.h:154,
                 from include/asm/system.h:96,
                 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/page.h:92:2: error: #error Unknown user operations model
make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
make: *** [arch/arm/kernel/asm-offsets.s] Error 2
相信自己!!!
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2013-05-27 23:07
你是怎么配置内核的?
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
2楼  发表于: 2013-06-04 20:24
CONFIG_ARCH_RPC=y

这个显然是不对的。建议你按照开发板使用手册上的步骤重新配置内核。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."