编译内核报错,请问是什么原因啊。

make uImage ARCH=arm CROSS_COMPILE=arm-linux-

            ..........   
     LD      .tmp_vmlinux1

arch/arm/kernel/head.o: In function __error_p':
/home/gm/study/test2/linux-2.6.39/arch/arm/kernel/head-common.S:164: relocation truncated to fit: R_ARM_CALL against symbol
printascii' defined in .text section in arch/arm/kernel/built-in.o
/home/gm/study/test2/linux-2.6.39/arch/arm/kernel/head-common.S:166: relocation truncated to fit: R_ARM_CALL against symbol printhex8' defined in .text section in arch/arm/kernel/built-in.o
/home/gm/study/test2/linux-2.6.39/arch/arm/kernel/head-common.S:168: relocation truncated to fit: R_ARM_CALL against symbol
printascii' defined in .text section in arch/arm/kernel/built-in.o
init/built-in.o: In function loglevel':
/home/gm/study/test2/linux-2.6.39/init/main.c:212: 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':
/home/gm/study/test2/linux-2.6.39/init/main.c:399: 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':
/home/gm/study/test2/linux-2.6.39/init/main.c:781: relocation truncated to fit: R_ARM_CALL against symbol
wait_for_completion' defined in .sched.text section in kernel/built-in.o
init/built-in.o: In function do_pre_smp_initcalls':
/home/gm/study/test2/linux-2.6.39/init/main.c:726: relocation truncated to fit: R_ARM_CALL against symbol
do_one_initcall' defined in .text section in init/built-in.o
init/built-in.o: In function do_basic_setup':
/home/gm/study/test2/linux-2.6.39/init/main.c:716: relocation truncated to fit: R_ARM_CALL against symbol
init_irq_proc' defined in .text section in kernel/built-in.o
init/built-in.o: In function do_initcalls':
/home/gm/study/test2/linux-2.6.39/init/main.c:700: relocation truncated to fit: R_ARM_CALL against symbol
do_one_initcall' defined in .text section in init/built-in.o
init/built-in.o: In function kernel_init':
/home/gm/study/test2/linux-2.6.39/init/main.c:804: relocation truncated to fit: R_ARM_CALL against symbol
sys_open' defined in .text section in fs/built-in.o
/home/gm/study/test2/linux-2.6.39/init/main.c:807: additional relocation overflows omitted from the output
make: *** [.tmp_vmlinux1] Error 1

2个回答

可能是交叉编译工具链出了问题,你重新解压安装一下你的交叉编译工具链的包

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐