Chinaunix首页 | 论坛 | 博客
  • 博客访问: 494420
  • 博文数量: 223
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 2145
  • 用 户 组: 普通用户
  • 注册时间: 2014-03-01 10:23
个人简介

该坚持的时候坚持,该妥协的时候妥协,该放弃的时候放弃

文章分类

全部博文(223)

文章存档

2017年(56)

2016年(118)

2015年(3)

2014年(46)

我的朋友

分类: 嵌入式

2014-04-18 12:32:30

init/built-in.o: In function `loglevel':
calibrate.c:(.init.text+0x120): relocation truncated to fit: R_ARM_CALL against symbol `get_option' defined in .text section in lib/lib.a(cmdline.o)
init/built-in.o: In function `parse_early_options':
calibrate.c:(.init.text+0x15c): relocation truncated to fit: R_ARM_CALL against symbol `parse_args' defined in .text section in kernel/built-in.o
init/built-in.o: In function `kernel_init':
calibrate.c:(.init.text+0x1c0): relocation truncated to fit: R_ARM_CALL against symbol `do_one_initcall' defined in .text section in init/built-in.o
calibrate.c:(.init.text+0x1e0): relocation truncated to fit: R_ARM_CALL against symbol `init_irq_proc' defined in .text section in kernel/built-in.o
calibrate.c:(.init.text+0x1f4): relocation truncated to fit: R_ARM_CALL against symbol `do_one_initcall' defined in .text section in init/built-in.o
calibrate.c:(.init.text+0x200): relocation truncated to fit: R_ARM_CALL against symbol `flush_scheduled_work' defined in .text section in kernel/built-in.o
calibrate.c:(.init.text+0x220): relocation truncated to fit: R_ARM_CALL against symbol `sys_access' defined in .text section in fs/built-in.o
calibrate.c:(.init.text+0x238): relocation truncated to fit: R_ARM_CALL against `init_post'
init/built-in.o: In function `unknown_bootoption':
calibrate.c:(.init.text+0x27c): relocation truncated to fit: R_ARM_CALL against symbol `strlen' defined in .text section in lib/lib.a(string.o)
calibrate.c:(.init.text+0x2b4): relocation truncated to fit: R_ARM_CALL against symbol `strlen' defined in .text section in lib/lib.a(string.o)
calibrate.c:(.init.text+0x2c8): additional relocation overflows omitted from the output
make: *** [.tmp_vmlinux1] 错误 1

未验证

若编译内核出现如下情况
  LD      .tmp_vmlinux1
  arm-linux-ld:arch/arm/kernel/vmlinux.lds:1439: parse error
  make: *** [.tmp_vmlinux1] Error 1
解决方法:修改arch/arm/kernel/vmlinux.lds
[root@localhost linux-2.6.14]$ vi arch/arm/kernel/vmlinux.lds
将文件尾2条的ASSERT注释掉
/* ASSERT((__proc_info_end - __proc_info_begin), "missing CPU support") */
/* ASSERT((__arch_info_end - __arch_info_begin), "no machine record defined") */
然后重新make即可

阅读(1920) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~