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.

TI ARM Compiler 5.1.1 and 5.1.5 not finding run time library for Cortex-R4 little endian no float

Other Parts Discussed in Thread: RM42L432

Hi,

I'm new to this forum but have been searching a lot for an error that occurs when I try to compile Project0 from the Hercules Launchpad tutorial.

I have earlier used CCS v5.5.0.00077 and then everything worked fine. Yeaster day I updated the CCS to CCS v6 and suddenly the compiling of my old project wasn't working. I then re-installed CCS v5.5.0.00077, but now the project and any new project will not compile there either.

I have applied the fix for the .xml according to the Hercules Launchpad wiki, but that doesn't fix my problem.

The problem is that when the library should be built for the first time it is saying that the file rtsv7R4_A_le_eabi.lib wasn't found. I have looked in the compiler folder and I can not find the file either. It is the samt for both TI ARM compiler 5.1.5 and 5.1.1. However, the old projects, before updating, could be built with TI ARM compiler 5.1.1. If I'm looking in an old compiler folder lika TI ARM compiler 4.6.6 I can find the library I'm searching for, but if I just copy and paste that file I will get an error that  __ti_decompress_rle24 was undefined, probably because I use an old .lib file?

I would be really happy with some help, because it has worked flawless before!

I'm now trying to install the CCS v5.3.0 because that is the version the examples on the Hercules Launchpad wiki was created in just to try.

My operating system is Win7 64-bit
Hercules Launchpad using RM42L432
Trying to build Project0, and other projects that has worked building before.

/John-Eric 

  • John-Eric Ericsson said:
    The problem is that when the library should be built for the first time it is saying that the file rtsv7R4_A_le_eabi.lib wasn't found. I have looked in the compiler folder and I can not find the file either

    If the project setting has the "Runtime support library" set to automatic, and if the library does not exist in the compiler installation folder, then the first time the project is built, it should build the runtime library. Can you check your build console to see if it starts the runtime lib build and possibly fails?

    I tried importing and building N2HET_RM42 project in CCSv6 and it completed without problems (see attached build output). As you can see it automatically builds the library rtsv7R4_A_le_eabi.lib, and then completes the build.

    **** Clean-only build of configuration Debug for project N2HET_RM42 ****
    
    "C:\\CCStudio_v6.0.0.00190\\ccsv6\\utils\\bin\\gmake" -k clean 
    DEL /F  "N2HET_RM42.out" 
    Could Not Find C:\Work\Devices\Hercules\RM42\N2HET\RM42_Proj\Debug\N2HET_RM42.out
    DEL /F "source\esm.pp" "source\het.pp" "source\notification.pp" "source\pinmux.pp" "source\sys_main.pp" "source\sys_pcr.pp" "source\sys_phantom.pp" "source\sys_selftest.pp" "source\sys_startup.pp" "source\sys_vim.pp" "source\system.pp" 
    DEL /F "source\dabort.obj" "source\esm.obj" "source\het.obj" "source\notification.obj" "source\pinmux.obj" "source\sys_core.obj" "source\sys_intvecs.obj" "source\sys_main.obj" "source\sys_mpu.obj" "source\sys_pcr.obj" "source\sys_phantom.obj" "source\sys_pmu.obj" "source\sys_selftest.obj" "source\sys_startup.obj" "source\sys_vim.obj" "source\system.obj" 
    Could Not Find C:\Work\Devices\Hercules\RM42\N2HET\RM42_Proj\Debug\source\dabort.obj
    DEL /F "source\dabort.pp" "source\sys_core.pp" "source\sys_intvecs.pp" "source\sys_mpu.pp" "source\sys_pmu.pp" 
    Could Not Find C:\Work\Devices\Hercules\RM42\N2HET\RM42_Proj\Debug\source\dabort.pp
    'Finished clean'
    ' '
    
    **** Build Finished ****
    
    **** Build of configuration Debug for project N2HET_RM42 ****
    
    "C:\\CCStudio_v6.0.0.00190\\ccsv6\\utils\\bin\\gmake" -k all 
    'Building file: C:/Work/Devices/Hercules/RM42/N2HET/source/dabort.asm'
    'Invoking: ARM Compiler'
    "C:/CCStudio_v6.0.0.00190/ccsv6/tools/compiler/arm_5.1.5/bin/armcl" -mv7R4 --code_state=32 --abi=eabi -me -g --include_path="C:/CCStudio_v6.0.0.00190/ccsv6/tools/compiler/arm_5.1.5/include" --include_path="C:/Work/Devices/Hercules/RM42/N2HET/include/" --diag_warning=225 --display_error_number --enum_type=packed --preproc_with_compile --preproc_dependency="source/dabort.pp" --obj_directory="source"  "C:/Work/Devices/Hercules/RM42/N2HET/source/dabort.asm"
    'Finished building: C:/Work/Devices/Hercules/RM42/N2HET/source/dabort.asm'
    ' '
    'Building file: C:/Work/Devices/Hercules/RM42/N2HET/source/esm.c'
    'Invoking: ARM Compiler'
    "C:/CCStudio_v6.0.0.00190/ccsv6/tools/compiler/arm_5.1.5/bin/armcl" -mv7R4 --code_state=32 --abi=eabi -me -g --include_path="C:/CCStudio_v6.0.0.00190/ccsv6/tools/compiler/arm_5.1.5/include" --include_path="C:/Work/Devices/Hercules/RM42/N2HET/include/" --diag_warning=225 --display_error_number --enum_type=packed --preproc_with_compile --preproc_dependency="source/esm.pp" --obj_directory="source"  "C:/Work/Devices/Hercules/RM42/N2HET/source/esm.c"
    'Finished building: C:/Work/Devices/Hercules/RM42/N2HET/source/esm.c'
    ' '
    'Building file: C:/Work/Devices/Hercules/RM42/N2HET/source/het.c'
    'Invoking: ARM Compiler'
    "C:/CCStudio_v6.0.0.00190/ccsv6/tools/compiler/arm_5.1.5/bin/armcl" -mv7R4 --code_state=32 --abi=eabi -me -g --include_path="C:/CCStudio_v6.0.0.00190/ccsv6/tools/compiler/arm_5.1.5/include" --include_path="C:/Work/Devices/Hercules/RM42/N2HET/include/" --diag_warning=225 --display_error_number --enum_type=packed --preproc_with_compile --preproc_dependency="source/het.pp" --obj_directory="source"  "C:/Work/Devices/Hercules/RM42/N2HET/source/het.c"
    'Finished building: C:/Work/Devices/Hercules/RM42/N2HET/source/het.c'
    ' '
    'Building file: C:/Work/Devices/Hercules/RM42/N2HET/source/notification.c'
    'Invoking: ARM Compiler'
    "C:/CCStudio_v6.0.0.00190/ccsv6/tools/compiler/arm_5.1.5/bin/armcl" -mv7R4 --code_state=32 --abi=eabi -me -g --include_path="C:/CCStudio_v6.0.0.00190/ccsv6/tools/compiler/arm_5.1.5/include" --include_path="C:/Work/Devices/Hercules/RM42/N2HET/include/" --diag_warning=225 --display_error_number --enum_type=packed --preproc_with_compile --preproc_dependency="source/notification.pp" --obj_directory="source"  "C:/Work/Devices/Hercules/RM42/N2HET/source/notification.c"
    'Finished building: C:/Work/Devices/Hercules/RM42/N2HET/source/notification.c'
    ' '
    'Building file: C:/Work/Devices/Hercules/RM42/N2HET/source/pinmux.c'
    'Invoking: ARM Compiler'
    "C:/CCStudio_v6.0.0.00190/ccsv6/tools/compiler/arm_5.1.5/bin/armcl" -mv7R4 --code_state=32 --abi=eabi -me -g --include_path="C:/CCStudio_v6.0.0.00190/ccsv6/tools/compiler/arm_5.1.5/include" --include_path="C:/Work/Devices/Hercules/RM42/N2HET/include/" --diag_warning=225 --display_error_number --enum_type=packed --preproc_with_compile --preproc_dependency="source/pinmux.pp" --obj_directory="source"  "C:/Work/Devices/Hercules/RM42/N2HET/source/pinmux.c"
    'Finished building: C:/Work/Devices/Hercules/RM42/N2HET/source/pinmux.c'
    ' '
    'Building file: C:/Work/Devices/Hercules/RM42/N2HET/source/sys_core.asm'
    'Invoking: ARM Compiler'
    "C:/CCStudio_v6.0.0.00190/ccsv6/tools/compiler/arm_5.1.5/bin/armcl" -mv7R4 --code_state=32 --abi=eabi -me -g --include_path="C:/CCStudio_v6.0.0.00190/ccsv6/tools/compiler/arm_5.1.5/include" --include_path="C:/Work/Devices/Hercules/RM42/N2HET/include/" --diag_warning=225 --display_error_number --enum_type=packed --preproc_with_compile --preproc_dependency="source/sys_core.pp" --obj_directory="source"  "C:/Work/Devices/Hercules/RM42/N2HET/source/sys_core.asm"
    'Finished building: C:/Work/Devices/Hercules/RM42/N2HET/source/sys_core.asm'
    ' '
    'Building file: C:/Work/Devices/Hercules/RM42/N2HET/source/sys_intvecs.asm'
    'Invoking: ARM Compiler'
    "C:/CCStudio_v6.0.0.00190/ccsv6/tools/compiler/arm_5.1.5/bin/armcl" -mv7R4 --code_state=32 --abi=eabi -me -g --include_path="C:/CCStudio_v6.0.0.00190/ccsv6/tools/compiler/arm_5.1.5/include" --include_path="C:/Work/Devices/Hercules/RM42/N2HET/include/" --diag_warning=225 --display_error_number --enum_type=packed --preproc_with_compile --preproc_dependency="source/sys_intvecs.pp" --obj_directory="source"  "C:/Work/Devices/Hercules/RM42/N2HET/source/sys_intvecs.asm"
    'Finished building: C:/Work/Devices/Hercules/RM42/N2HET/source/sys_intvecs.asm'
    ' '
    'Building file: C:/Work/Devices/Hercules/RM42/N2HET/source/sys_main.c'
    'Invoking: ARM Compiler'
    "C:/CCStudio_v6.0.0.00190/ccsv6/tools/compiler/arm_5.1.5/bin/armcl" -mv7R4 --code_state=32 --abi=eabi -me -g --include_path="C:/CCStudio_v6.0.0.00190/ccsv6/tools/compiler/arm_5.1.5/include" --include_path="C:/Work/Devices/Hercules/RM42/N2HET/include/" --diag_warning=225 --display_error_number --enum_type=packed --preproc_with_compile --preproc_dependency="source/sys_main.pp" --obj_directory="source"  "C:/Work/Devices/Hercules/RM42/N2HET/source/sys_main.c"
    'Finished building: C:/Work/Devices/Hercules/RM42/N2HET/source/sys_main.c'
    ' '
    'Building file: C:/Work/Devices/Hercules/RM42/N2HET/source/sys_mpu.asm'
    'Invoking: ARM Compiler'
    "C:/CCStudio_v6.0.0.00190/ccsv6/tools/compiler/arm_5.1.5/bin/armcl" -mv7R4 --code_state=32 --abi=eabi -me -g --include_path="C:/CCStudio_v6.0.0.00190/ccsv6/tools/compiler/arm_5.1.5/include" --include_path="C:/Work/Devices/Hercules/RM42/N2HET/include/" --diag_warning=225 --display_error_number --enum_type=packed --preproc_with_compile --preproc_dependency="source/sys_mpu.pp" --obj_directory="source"  "C:/Work/Devices/Hercules/RM42/N2HET/source/sys_mpu.asm"
    'Finished building: C:/Work/Devices/Hercules/RM42/N2HET/source/sys_mpu.asm'
    ' '
    'Building file: C:/Work/Devices/Hercules/RM42/N2HET/source/sys_pcr.c'
    'Invoking: ARM Compiler'
    "C:/CCStudio_v6.0.0.00190/ccsv6/tools/compiler/arm_5.1.5/bin/armcl" -mv7R4 --code_state=32 --abi=eabi -me -g --include_path="C:/CCStudio_v6.0.0.00190/ccsv6/tools/compiler/arm_5.1.5/include" --include_path="C:/Work/Devices/Hercules/RM42/N2HET/include/" --diag_warning=225 --display_error_number --enum_type=packed --preproc_with_compile --preproc_dependency="source/sys_pcr.pp" --obj_directory="source"  "C:/Work/Devices/Hercules/RM42/N2HET/source/sys_pcr.c"
    'Finished building: C:/Work/Devices/Hercules/RM42/N2HET/source/sys_pcr.c'
    ' '
    'Building file: C:/Work/Devices/Hercules/RM42/N2HET/source/sys_phantom.c'
    'Invoking: ARM Compiler'
    "C:/CCStudio_v6.0.0.00190/ccsv6/tools/compiler/arm_5.1.5/bin/armcl" -mv7R4 --code_state=32 --abi=eabi -me -g --include_path="C:/CCStudio_v6.0.0.00190/ccsv6/tools/compiler/arm_5.1.5/include" --include_path="C:/Work/Devices/Hercules/RM42/N2HET/include/" --diag_warning=225 --display_error_number --enum_type=packed --preproc_with_compile --preproc_dependency="source/sys_phantom.pp" --obj_directory="source"  "C:/Work/Devices/Hercules/RM42/N2HET/source/sys_phantom.c"
    'Finished building: C:/Work/Devices/Hercules/RM42/N2HET/source/sys_phantom.c'
    ' '
    'Building file: C:/Work/Devices/Hercules/RM42/N2HET/source/sys_pmu.asm'
    'Invoking: ARM Compiler'
    "C:/CCStudio_v6.0.0.00190/ccsv6/tools/compiler/arm_5.1.5/bin/armcl" -mv7R4 --code_state=32 --abi=eabi -me -g --include_path="C:/CCStudio_v6.0.0.00190/ccsv6/tools/compiler/arm_5.1.5/include" --include_path="C:/Work/Devices/Hercules/RM42/N2HET/include/" --diag_warning=225 --display_error_number --enum_type=packed --preproc_with_compile --preproc_dependency="source/sys_pmu.pp" --obj_directory="source"  "C:/Work/Devices/Hercules/RM42/N2HET/source/sys_pmu.asm"
    'Finished building: C:/Work/Devices/Hercules/RM42/N2HET/source/sys_pmu.asm'
    ' '
    'Building file: C:/Work/Devices/Hercules/RM42/N2HET/source/sys_selftest.c'
    'Invoking: ARM Compiler'
    "C:/CCStudio_v6.0.0.00190/ccsv6/tools/compiler/arm_5.1.5/bin/armcl" -mv7R4 --code_state=32 --abi=eabi -me -g --include_path="C:/CCStudio_v6.0.0.00190/ccsv6/tools/compiler/arm_5.1.5/include" --include_path="C:/Work/Devices/Hercules/RM42/N2HET/include/" --diag_warning=225 --display_error_number --enum_type=packed --preproc_with_compile --preproc_dependency="source/sys_selftest.pp" --obj_directory="source"  "C:/Work/Devices/Hercules/RM42/N2HET/source/sys_selftest.c"
    'Finished building: C:/Work/Devices/Hercules/RM42/N2HET/source/sys_selftest.c'
    ' '
    'Building file: C:/Work/Devices/Hercules/RM42/N2HET/source/sys_startup.c'
    'Invoking: ARM Compiler'
    "C:/CCStudio_v6.0.0.00190/ccsv6/tools/compiler/arm_5.1.5/bin/armcl" -mv7R4 --code_state=32 --abi=eabi -me -g --include_path="C:/CCStudio_v6.0.0.00190/ccsv6/tools/compiler/arm_5.1.5/include" --include_path="C:/Work/Devices/Hercules/RM42/N2HET/include/" --diag_warning=225 --display_error_number --enum_type=packed --preproc_with_compile --preproc_dependency="source/sys_startup.pp" --obj_directory="source"  "C:/Work/Devices/Hercules/RM42/N2HET/source/sys_startup.c"
    'Finished building: C:/Work/Devices/Hercules/RM42/N2HET/source/sys_startup.c'
    ' '
    'Building file: C:/Work/Devices/Hercules/RM42/N2HET/source/sys_vim.c'
    'Invoking: ARM Compiler'
    "C:/CCStudio_v6.0.0.00190/ccsv6/tools/compiler/arm_5.1.5/bin/armcl" -mv7R4 --code_state=32 --abi=eabi -me -g --include_path="C:/CCStudio_v6.0.0.00190/ccsv6/tools/compiler/arm_5.1.5/include" --include_path="C:/Work/Devices/Hercules/RM42/N2HET/include/" --diag_warning=225 --display_error_number --enum_type=packed --preproc_with_compile --preproc_dependency="source/sys_vim.pp" --obj_directory="source"  "C:/Work/Devices/Hercules/RM42/N2HET/source/sys_vim.c"
    'Finished building: C:/Work/Devices/Hercules/RM42/N2HET/source/sys_vim.c'
    ' '
    'Building file: C:/Work/Devices/Hercules/RM42/N2HET/source/system.c'
    'Invoking: ARM Compiler'
    "C:/CCStudio_v6.0.0.00190/ccsv6/tools/compiler/arm_5.1.5/bin/armcl" -mv7R4 --code_state=32 --abi=eabi -me -g --include_path="C:/CCStudio_v6.0.0.00190/ccsv6/tools/compiler/arm_5.1.5/include" --include_path="C:/Work/Devices/Hercules/RM42/N2HET/include/" --diag_warning=225 --display_error_number --enum_type=packed --preproc_with_compile --preproc_dependency="source/system.pp" --obj_directory="source"  "C:/Work/Devices/Hercules/RM42/N2HET/source/system.c"
    'Finished building: C:/Work/Devices/Hercules/RM42/N2HET/source/system.c'
    ' '
    'Building target: N2HET_RM42.out'
    'Invoking: ARM Linker'
    "C:/CCStudio_v6.0.0.00190/ccsv6/tools/compiler/arm_5.1.5/bin/armcl" -mv7R4 --code_state=32 --abi=eabi -me -g --diag_warning=225 --display_error_number --enum_type=packed -z -m"N2HET_RM42.map" -i"C:/CCStudio_v6.0.0.00190/ccsv6/tools/compiler/arm_5.1.5/lib" -i"C:/CCStudio_v6.0.0.00190/ccsv6/tools/compiler/arm_5.1.5/include" --reread_libs --warn_sections --display_error_number --xml_link_info="N2HET_RM42_linkInfo.xml" --rom_model -o "N2HET_RM42.out"  "./source/system.obj" "./source/sys_vim.obj" "./source/sys_startup.obj" "./source/sys_selftest.obj" "./source/sys_pmu.obj" "./source/sys_phantom.obj" "./source/sys_pcr.obj" "./source/sys_mpu.obj" "./source/sys_main.obj" "./source/sys_intvecs.obj" "./source/sys_core.obj" "./source/pinmux.obj" "./source/notification.obj" "./source/het.obj" "./source/esm.obj" "./source/dabort.obj" "C:/Work/Devices/Hercules/RM42/N2HET/source/sys_link.cmd" -l"libc.a" 
    <Linking>
    warning #10366-D: automatic library build: using library
       "C:\CCStudio_v6.0.0.00190\ccsv6\tools\compiler\arm_5.1.5\lib\rtsv7R4_A_le_ea
       bi.lib" for the first time, so it must be built.  This may take a few
       minutes.
    'Finished building target: N2HET_RM42.out'
    ' '
    
    **** Build Finished ****
    

  • Hi, Thanks for the reply.

    I understand that that should be the case, that the library should be built during the first compilation of the project. But I only got the warning that the library was trying to be built but that the compiler couldn't find the library file and that generated a lot of errors with unresolved symbols.

    However I now think the problem is solved, I re-installed windows and then installed CCS v5.5 again and this time everything works for the example projects and my old projects. I'm going to test some new projects with freeRTOS tomorrow to see that everything works as it should. So for now I can not generat the error messages again to post here, sorry.

    Maybe the error occurred because of other GCC compilers in the paths, I read something that cygwin could generate errors. Since I installed CCS v5.5 the first time I have actually installed WinAVR, that has modified user paths, because another project I'm working with uses MCUs from Atmel. By re-installing Windows I removed every path setting generated by WinAVR. So maybe that was the problem or at least part of the problem.

    Again thanks for the quick answer! I will mark the answer as solved. If I get any more problem with this I will create a new thread.

    /John-Eric

  • Please go here for more details about the automatic library builds, including a discussion of known problems.

    -George