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) |