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.

__strasg is undefined in bsl.lib. How do i fix this error ?

Other Parts Discussed in Thread: CCSTUDIO

I am getting this error while compiling

undefined first referenced
symbol in file
--------- ----------------
__strasg C:\CCStudio_v3.1\C6000\dsk6713\lib\dsk6713bsl.lib
>> error: symbol referencing errors - './Debug/anc.out' not built

 


Any suggestion to fix this error ?

  • Hi Manish,

    Thanks for your post.

    I think, you are missing the CSL. Add the following library to your project:

    "C:\CCStudio_v3.1\C6000\csl\lib\csl6713.lib"

    Please check the below wiki for using board support library: (Add appropriately the bsl headers & bsl library to the correct paths in the project build properties in CCS.

    http://processors.wiki.ti.com/index.php/C6713DSK_in_CCSv5#Using_Board_Support_Library

     Please also check for Runtime support library:  rts6700.lib?  If you specify the library, and you don't have it, you will probably have build errors during linking.

    There are good tips documented nicely in order to fix the build errors for dsk6713 from the below E2E post, just check it out:

    http://e2e.ti.com/support/dsp/tms320c6000_high_performance_dsps/f/115/p/215890/763724.aspx#763724

    Thanks & regards,

    Sivaraj K

    -------------------------------------------------------------------------------------------------------
    Please click the Verify Answer button on this post if it answers your question.
    -------------------------------------------------------------------------------------------------------
  • These files were already there. I have followed rulph chasing book. Any other suggestion ??

    I am using CCS 3.1 on windows xp.

  • Manish,

    __strasg is defined in the rts file. As Sivaraj pointed out, your project should be using rts6700.lib and that should give you that symbol correctly.

    You say that you have these files, so there is nothing else we can tell you to fix other than to start over. The safest thing is to re-install your old version of CCS to make sure everything is properly delivered to you, or else you can look through your project (.prj) and linker command (.cmd) and linker map (.map) files to confirm you are using the correct version of all of the libraries; these are all text files that you can read.

    Try writing a simple test program like Hello World and after it works add a call to _strasg(dst, src, cnt) where cnt is the number of bytes to copy and cnt >= 28.

    Regards,
    RandyP