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.

Compiler/MSP430FR6989: EABI ENUM packed Problem

Part Number: MSP430FR6989


Tool/software: TI C/C++ Compiler

Hi,

I`ve got a problem regarding my Compiler settings: (TI 16.9.6 LTS / 17.9.0 STS)

I`ve set the Enum types to packed. If I compile I`ll get the following error regarding the EABI:

#10207-D automatic RTS selection: resolving index library "libc.a" to "rts430x_lc_rd_eabi_se.lib", but "rts430x_lc_rd_eabi_se.lib" was not found ZOE-Batteriezaehler C/C++ Problem

#10366-D automatic library build: using library "D:\ProgramFiles\CCS 7v3\ccsv7\tools\compiler\ti-cgt-msp430_17.9.0.STS\lib\rts430x_lc_rd_eabi_se.lib" for the first time, so it must be built. This may take a few minutes. ZOE-Batteriezaehler C/C++ Problem

mklib: gmake error during rts430x_lc_rd_eabi_se.lib build mklib: gmake error during rts430x_lc_rd_eabi_se.lib build ZOE-Batteriezaehler C/C++ Problem

If I`ve set the Enums to unpacked everything compiles just fine.

I`m using TI CCs 7.3. 

I´ve compiled my project with packed enums on 8th of November with no issues with the exact same compiler versions!

What happend since then?

Thanks

Best regards

Steffen

  • When you use packed enums, you need a different RTS library.  This library is not supplied with the standard compiler installation.  When this is detected at link time, the compiler invokes the utility mklib to build the missing library.  This fails with ...

    Steffen Fuchs said:
    mklib: gmake error during rts430x_lc_rd_eabi_se.lib build mklib: gmake error during rts430x_lc_rd_eabi_se.lib build

    Please see the mklib article for more background on that utility, and how to address this error.  One guess is that you have an incompatible version of gmake in your path.  If that is right, then the fix is to change your path to no longer include that particular gmake.  Also consider manually invoking mklib to build this missing library.  Details are in the mklib article.

    Steffen Fuchs said:

    I´ve compiled my project with packed enums on 8th of November with no issues with the exact same compiler versions!

    What happend since then?

    I don't know.  One guess:  The missing library build was successful that time.  Then, for unrelated reasons, you re-installed the tools, which means the library goes missing again.

    Thanks and regards,

    -George

  • Okay thanks a lot!

    Best regards

    Steffen