AnsweredAssumed Answered

Link error

Question asked by Massimo Dagri on May 20, 2009
Latest reply on May 20, 2009 by Massimo Dagri

I am using a 56f8345 micro with CodeWarrior 8.2.

 

I download the booterload source code which named "56F8300BOOTLOADER" from the Freescale website, and compile & make with codewarrior 8.2. it appears some linker Errors showed following:

 

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.

 

 

but it is working fine with codewarrior 7.3 version.

 

what's wrong with it?  How can i fix this problem in my codewarrion 8.2 version?

 

 pls help me. Thanks!

Outcomes