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/CCSTUDIO: rts430x_lc_ld_eabi_se.lib stuck building

Part Number: CCSTUDIO


Tool/software: TI C/C++ Compiler

I have just switched a project to 18.12.3 LTS from the old v4.4.4 compiler. I am building it for the first time and get the expected, building library for the first time message however it has been building for over 20 minutes.

I have tried clean and build a few times but always get stuck here. Is it possible to manually build the library outside CCS and see if I can progress any further?

CCS 9.1.0.00010 on Win 10, 64 bit, ti-cgt-msp430_18.12.3.LTS

  • As of typing the original post and now it has been building for over 40 minutes.

  • Please search the MSP430 compiler manual for the sub-chapter titled Library-Build Process.  Focus on the part titled Invoking mklib Manually.

    Thanks and regards,

    -George

  • Hi George,

    I tried manually building the library but just run into another issue:

    $ ./mklib.exe --pattern=rts430x_lc_ld_eabi_se.lib
    cl430 b_exp.c  --abi=eabi -q --silicon_errata=CPU12 --silicon_errata=CPU13 --silicon_errata=CPU19 --silicon_errata=CPU40 -D_TI_USING_LIBCXX -c --ti_lib --keep_unneeded_types=false --diag_warning=225 --quiet -O4 --data_model=large --near_data=none -vmspx --enum_type=packed   --c99 -Ic:/ti/ccs901/ccs/tools/compiler/ti-cgt~3.lts/lib/src -fe c:/users/tom/appdata/local/temp/ti072b~1/obj/b_exp.c.obj -fs c:/users/tom/appdata/local/temp/ti072b~1/obj -ft c:/users/tom/appdata/local/temp/ti072b~1/obj -ppa -ppd=c:/users/tom/appdata/local/temp/ti072b~1/obj/b_exp.c.pp
    Makefile:1132: recipe for target 'c:/users/tom/appdata/local/temp/ti072b~1/obj/b_exp.c.obj' failed
    process_begin: CreateProcess(NULL, cl430 b_exp.c --abi=eabi -q --silicon_errata=CPU12 --silicon_errata=CPU13 --silicon_errata=CPU19 --silicon_errata=CPU40 -D_TI_USING_LIBCXX -c --ti_lib --keep_unneeded_types=false --diag_warning=225 --quiet -O4 --data_model=large --near_data=none -vmspx --enum_type=packed --c99 -Ic:/ti/ccs901/ccs/tools/compiler/ti-cgt~3.lts/lib/src -fe c:/users/tom/appdata/local/temp/ti072b~1/obj/b_exp.c.obj -fs c:/users/tom/appdata/local/temp/ti072b~1/obj -ft c:/users/tom/appdata/local/temp/ti072b~1/obj -ppa -ppd=c:/users/tom/appdata/local/temp/ti072b~1/obj/b_exp.c.pp, ...) failed.
    make (e=2): The system cannot find the file specified.
    gmake.exe: *** [c:/users/tom/appdata/local/temp/ti072b~1/obj/b_exp.c.obj] Error 2
    >> ERROR: mklib: gmake error during rts430x_lc_ld_eabi_se.lib build
    

    Any clues on how to resolve this?

    I did manage to create a new project which would build the library but only after deciphering what lc, ld and se meant - is this documented anywhere?

  • Tom Davies58 said:
    Any clues on how to resolve this?

    This article on mklib is old.  But some of the troubleshooting tips might still work.

    Tom Davies58 said:
    I did manage to create a new project which would build the library but only after deciphering what lc, ld and se meant - is this documented anywhere?

    Search the MSP430 compiler manual for the sub-chapter titled Library Naming Conventions.

    Thanks and regards,

    -George