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.

__stack redefined...

Other Parts Discussed in Thread: CCSTUDIO, OMAP-L137

I'm getting linker errors:

error: symbol "__stack" redefined: first defined in
   "C:/CCStudio_v3.3/C6000/cgtools/lib/rts64plus.lib<boot.obj>"; redefined in
   "C:/CCStudio_v3.3/bios_5_33_03/packages/ti/bios/lib/bios.a674<boot.o674>"
error: symbol "_c_int00" redefined: first defined in
   "C:/CCStudio_v3.3/C6000/cgtools/lib/rts64plus.lib<boot.obj>"; redefined in
   "C:/CCStudio_v3.3/bios_5_33_03/packages/ti/bios/lib/bios.a674<boot.o674>"

I'm building for OMAP-L137 with build option -mv6740. I've done a build clean after chainging the -mv option, but it made no difference in the results.

I went to great lengths to get bios_5_33_03 included, so I'm guessing I want to get rid of rts64plus.lib. How do I remove it? (The only library I'm currently including is "evmc6747bsl.lib.)

I'd also love to read something about the -mv options and what they mean.

  • DSP/BIOS will include the rts for you. You can see in the command file (.cmd) generated by bios. When you try to convert a non-bios project to a BIOS project you might have conflicts.

    There are 3 places you can check for where the extra rts64plus is being included:

    - You can check if you have 2 cmd files - for a bios project if you have another command file (other than the one generated by bios), you can get conflicts like this.

    - You can right click on your project and select Build options. Go to the Linker tab, Category Libraries, and see if the rts is being included there.

    - In your project you have a folder named Libraries, expand it and see if the rts is listed there.