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.

rtstesla_le_elf.lib not found

Hi

 

I'm trying to build for the C64-DSP in OMAP4430, but when I get to the linkage stage, I get the following

- Linking C executable dsp_PANDA_d
- warning: automatic RTS selection: resolving index library "libc.a" to
- "c:\dsp_toolchain\1737\cgtools\lib\rtstesla_le_elf.lib", but
- "c:\dsp_toolchain\1737\cgtools\lib\rtstesla_le_elf.lib" was not found

(I've put the 7.3.2 compiler suite in c:\dsp_toolchain\1735\cgtools)

I could not find "rtstesla_le_elf.lib" in either cgtool 7.2.4 or the newer 7.3.2

 

Where can I get hold of a cgtools which has a rts-lib for the tesla variant?

 

BR

Niklas

  • 7.3.0 and above are supposed to build missing libraries for you automatically.  Are you seeing any other error message, perhaps about a failed gmake, or permission denied to write the library?

  • Well, the compiler is supposed to build that library for you.  I don't know why it doesn't.  You can build this library yourself, quite easily.  So easily, that I'm worried you will just build the library and then never tell us why you had the problem in the first place.  So, I'd appreciate if you would spend a bit of time to help us figure out what went wrong, so we can help others avoid this problem.

    The directory where you have the compiler installed, do you have write permissions to it?

    This wiki article discusses mklib.  Once the compiler realizes a library is needed, it uses mklib to build it.  The article gives the details on that process.  It also tells you how to manually invoke mklib to build a library.  That's the easy workaround for your situation.

    Thanks and regards,

    -George

  • Hi Georgem

     

    The issue, it seems, is that the new compiler suite I have (the 7.3.2) doesn't have the "mklib" utility in the "cgtools/lib" folder. I found it inside the CCS installation folder (C:\ti\ccsv5\tools\compiler\c6000\lib). When I copied it to 7.3.2 folder, the library was generated as it should

    BR

    Niklas

  • From where did you get that copy of 7.3.2?  The official copy of C6000 7.3.2 does contain lib/mklib.

  • I am getting a similar link error:

    warning: automatic library build: using library "C:/Program Files/Texas
    Instruments/ccsv5/tools/compiler/c6000/lib/rtstesla_le_elf.lib" for the
    first time, so it must be built. This may take a few minutes.

    < ... approx 5 minutes later ...>


    --> error: '*.obj
    ' not found
    gmake.exe[1]: *** [library] Error 1
    >> ERROR: mklib: gmake error during rtstesla_le_elf.lib build
    error: cannot find file "rtstesla_le_elf.lib"

    undefined first referenced
    symbol in file
    --------- ----------------
    __TI_decompress_none
    __TI_decompress_rle24
    __TI_zero_init
    ...

    I'm not sure where its trying to build it to.  I located a couple of older ones in C:\Program Files\Texas Instruments\ccsv4\tools\compiler\c6000\lib, so took a guess and looked in C:\Program Files\Texas Instruments\ccsv5\tools\compiler\c6000\lib.  mklib.exe does exist there, and I do have write permission in that folder.  Any other ideas?

  • Please consider all the possibilities listed here.

    Thanks and regards,

    -George