This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

relocation overflow occurred when build h.264 encode on CCS



I downloaded the h.264 encode code for c64+ processor, I had modify include path from "Build options", the reason is default Framework component  version is older than that I  installed FC. I build the project , it appear below message.

-------------------------------------------------

>> warning: creating output section $build.attributes without SECTIONS
            specification
>>   error: relocation overflow occurred at address 0x00006a6c in section
            '.text:_H264VENC_TI_alloc' of input file 'h264venc_ti_plink.o64P
            (C:/dm6446_h264enc_02_02_00_02_production/packages/ti/sdo/codecs/h264enc/app/Client/Build/../../../Lib/h264venc_ti.l64P)'.  The 29-bit PC-relative displacement 524064118 at this location is too large to fit into the 21-bit PC-Relative field; the destination address is too far away from the instruction.

>>   error: relocation overflow occurred at address 0x00006138 in section
            '.text:_H264VENC_TI_free' of input file 'h264venc_ti_plink.o64P
            (C:/dm6446_h264enc_02_02_00_02_production/packages/ti/sdo/codecs/h264enc/app/Client/Build/../../../Lib/h264venc_ti.l64P)'.  The 29-bit PC-relative displacement 524066590 at this location is too large to fit into the 21-bit PC-Relative field; the destination address is too far away from the instruction.


>> Compilation failure

----------------------------------------

I refer "Relocation Overflow Error" from TI embedded processor wiki, I select   "--mem_model:data=far" on "Memory Models" in Build Options, but it still can not build now.

 http://wiki.davincidsp.com/index.php/Relocation_Overflow_Error

Is there have any solution to solve this issue?

Thanks,