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.

CCS/TMS570LC4357: LAUNCHXL2-570LC43

Part Number: TMS570LC4357
Other Parts Discussed in Thread: TI-CGT

Tool/software: Code Composer Studio

Hey there,

I'm currently working with ccs9.10 version.

I'm enconering some errors while compiling a ccs project. The error shown is given below.  Please help...............

**** Build of configuration Debug for project new ****

"C:\\ti\\ccs910\\ccs\\utils\\bin\\gmake" -k -j 6 all -O

Building file: "../main.c"
Invoking: ARM Compiler
"C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/bin/armcl" -mv7R5 --code_state=32 --float_support=VFPv3D16 --include_path="C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include" --include_path="C:/Users/advaith/Desktop/new" -g --diag_warning=225 --diag_wrap=off --display_error_number --enum_type=packed --abi=eabi --preproc_with_compile --preproc_dependency="main.d_raw" "../main.c"
Finished building: "../main.c"

Building target: "new.out"
Invoking: ARM Linker
"C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/bin/armcl" -mv7R5 --code_state=32 --float_support=VFPv3D16 -g --diag_warning=225 --diag_wrap=off --display_error_number --enum_type=packed --abi=eabi -z -m"new.map" --heap_size=0x800 --stack_size=0x800 -i"C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/lib" -i"C:/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include" --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="new_linkInfo.xml" --rom_model --be32 -o "new.out" "./main.obj" "../TMS570LC43xxFlashLnk.cmd"
<Linking>
warning #10366-D: automatic library build: using library "C:\ti\ccs910\ccs\tools\compiler\ti-cgt-arm_18.12.2.LTS\lib\rtsv7R4_A_be_v3D16_eabi.lib" for the first time, so it must be built. This may take a few minutes.
>> ERROR: mklib: could not open c:/ti/ccs910/ccs/tools/compiler/ti-cgt~3.lts/lib/\rtsv7R4_A_be_v3D16_eabi.lib with mode w: Permission denied
warning #10207-D: automatic RTS selection: resolving index library "libc.a" to "rtsv7R4_A_be_v3D16_eabi.lib", but "rtsv7R4_A_be_v3D16_eabi.lib" was not found
error #10198-D: no input section is linked in
warning #10062-D: entry-point symbol "_c_int00" undefined
warning #10202-D: no suitable entry-point found; setting to 0
error #10010: errors encountered during linking; "new.out" not built

>> Compilation failure
makefile:140: recipe for target 'new.out' failed
gmake[1]: *** [new.out] Error 1
makefile:136: recipe for target 'all' failed
gmake: *** [all] Error 2

**** Build Finished ****

 

  • The linker automatically detects that you need the RTS library rtsv7R4_A_be_v3D16_eabi.lib.  Because it is not present, it tries to build it.  This automatic build of the RTS library fails for reasons related to directory permissions.

    I think the \lib directory of the compiler installation does not have write permission.  Enable write permission for that directory, then try the build again.

    If that doesn't work, then rebuild the library manually.  Please search the TI ARM compiler manual for the sub-chapter titled Library-Build Process.

    Please let me know if these suggestions resolve the problem.

    Thanks and regards,

    -George