Board logo

标题: [求助]Linker Error: symbol too far way for a R_56800E_WORD16 relocation [打印本页]

作者: gangqun    时间: 2009-2-24 09:18     标题: [求助]Linker Error: symbol too far way for a R_56800E_WORD16 relocation

我用codewarrior 8.2 来编译从freescale网站上下载下来的“56F8300Bootloader”,编译可以通过,但出现了linkerror,错误显示如下:

Link Error : Symbol F_vector_begin_addr referenced from address 0x000401A8 in section .text of file bootloader.c
is too far away for a R_56800E_WORD16 relocation, which has a range from 0 to 131070 bytes

Link Error : Symbol F_Pcode_begin_addr_in_ROM referenced from address 0x000406D2 in section .text of file bootloader.c
is too far away for a R_56800E_WORD16 relocation, which has a range from 0 to 131070 bytes

Link Error : Symbol F_Pcode_end_addr_in_ROM referenced from address 0x000406DE in section .text of file bootloader.c
is too far away for a R_56800E_WORD16 relocation, which has a range from 0 to 131070 bytes

Link failed.

但好像我同事用codewarrior 7.3来编译连接就没有出现上面的错误,不知道为什么?如果我还是想使用8.2版本的话,这个问题该如何解决

谢谢!


作者: usliwu    时间: 2009-3-3 02:33

你要先选择目标(TARGET), 然后在编缉.






欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) Powered by Discuz! 7.0.0