DSPRelated.com
Forums

Re: Linker error

Started by ahma...@yahoo.com August 4, 2008
this error is occured when the target of current CCSIDE is not the same as the target dsp of your project. for example you set the environment for c5502 but the target of your project is for c5510.
I think.
>
>
>
> Hi all,
>A short q:
>I'm trying to build a very simple project,
>based on the 'dma4' project, that came with the
>c5510 DSK.
>I keep getting this error:
>-----------error message start--------------
>"d:\CodeComposerStudio for c5510 DSK\c5500\cgtools\bin\cl55" -g -q -
>fr"d:/codecomposerstudio for c5510
>dsk/myprojects/mac_enc/my_dma4/Debug" -d"_DEBUG" -d"CHIP_5510PG2_2" -
>ml -v5510:2 -@"Debug.lkf" "my_dma4.c"
>
>"d:\CodeComposerStudio for c5510 DSK\c5500\cgtools\bin\cl55" -
>@"Debug.lkf"
>>> error: linking files for incompatible targets
>(file 'd:\codecomposerstudio
>for c5510 dsk\myprojects\mac_enc\my_dma4
>\Debug\my_dma4.obj')
>
>Build Complete,
>1 Errors, 0 Warnings, 0 Remarks.
>-----------error message end--------------
>Why? In the linker tab of the project's options
>I've set the libraries csl5510PG2_2.lib and rts55.lib
>(copied from original 'dma4' project) and have set the -x
>options. What else?
>If any additional info is missing and needed for a direction
>towards a solution, please drop me a line.
>
>Thank you for your time
>David Ganor
>
>
>
>
>
>