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.

Problem with Compiler TI 5.2.7

Hello

 I tried to build the bootloader code from your example with the compiler TI 5.2.7 and get the following problems:

Description    Resource    Path    Location    Type
#10010 errors encountered during linking; "CAN_Bootloader.out" not    CAN_Bootloader             C/C++ Problem


Description    Resource    Path    Location    Type
<a href="file:/c:/ti/ccsv6/tools/compiler/dmed/HTML/10234.html">#10234-D</a>  unresolved symbols remain    CAN_Bootloader             C/C++ Problem

Description    Resource    Path    Location    Type
unresolved symbol __TI_decompress_none    CAN_Bootloader             C/C++ Problem

Description    Resource    Path    Location    Type
unresolved symbol __TI_decompress_rle24    CAN_Bootloader             C/C++ Problem

Description    Resource    Path    Location    Type
unresolved symbol __TI_zero_init    CAN_Bootloader             C/C++ Problem

Description    Resource    Path    Location    Type
unresolved symbol copy_in, first referenced in ./source/sys_startup.obj    CAN_Bootloader             C/C++ Problem

Description    Resource    Path    Location    Type
unresolved symbol exit, first referenced in ./source/sys_startup.obj    CAN_Bootloader             C/C++ Problem

And the following warnings:

Description    Resource    Path    Location    Type
#10207-D automatic RTS selection:  resolving index library "libc.a" to    CAN_Bootloader             C/C++ Problem

Description    Resource    Path    Location    Type
#10366-D automatic library build: using library    CAN_Bootloader             C/C++ Problem

Description    Resource    Path    Location    Type
#112-D statement is unreachable    bl_dcan.c    /CAN_Bootloader/source    line 745    C/C++ Problem

Description    Resource    Path    Location    Type
#303-D typedef name has already been declared (with same type)    Types.h    /CAN_Bootloader/inc/F021_API    line 86    C/C++ Problem

If I compile with TI 5.2.2 - TI 5.2.6,  I only get these warnings:

Description    Resource    Path    Location    Type
#112-D statement is unreachable    bl_dcan.c    /CAN_Bootloader/source    line 745    C/C++ Problem

Description    Resource    Path    Location    Type
#303-D typedef name has already been declared (with same type)    Types.h    /CAN_Bootloader/inc/F021_API    line 86    C/C++ Problem

I use CCS  Version: 6.1.1.00022

 

 

  • Reto Ammann said:
    I tried to build the bootloader code from your example

    Please understand that we compiler experts do not create examples like this, and thus have no special knowledge of them.

    It is hard to see what is going on from the Problems View snippets shown.  The Console view shows everything.  Please perform the problem build again.  Then use the Copy Build Log icon in the Console view to save all the diagnostics to a text file.  Be sure to use the extension .txt.  Then attach that file to your next post.

    Thanks and regards,

    -George

  • Hi George


    Thanks for your informations. Here is the log file.0602.buildLog.txt

  • Your problems here ...

    warning #10366-D: automatic library build: using library
       "C:\ti\ccsv6\tools\compiler\ti-cgt-arm_5.2.7\lib\rtsv7R4_A_le_v3D16_eabi.lib
       " for the first time, so it must be built.  This may take a few minutes.
    Der Befehl "[" ist entweder falsch geschrieben oder
    konnte nicht gefunden werden.
    Der Befehl "[" ist entweder falsch geschrieben oder
    konnte nicht gefunden werden.
    process_begin: CreateProcess(NULL, armcl array_del.cpp -O --embed_icode --keep_asm --diag_warning=225 --quiet -mv7R4 --abi=eabi --fp_mode=strict --no_visible_enums --float_support=vfpv3d16 -c --ti_lib --keep_unneeded_types=false -me -fg --rtti --building_runtime -Ic:/ti/ccsv6/tools/compiler/ti-cgt~2.7/lib/src -fr c:/users/reto~1.amm/appdata/local/temp/ti7f24~1/obj -fs c:/users/reto~1.amm/appdata/local/temp/ti7f24~1/obj -ft c:/users/reto~1.amm/appdata/local/temp/ti7f24~1/obj, ...) failed.
    

    The linker tries to build the RTS library you need.  But this build fails.  Those first few system messages (in German?) may be helpful.

    The linker builds the RTS library by invoking a helper utility named mklib.  There is a wiki article about mklib.  Please see if the troubleshooting section is helpful.

    Thanks and regards,

    -George

  • George Mock said:
    There is a wiki article about mklib.  Please see if the troubleshooting section is helpful.

    The output shows that the automatic library build is failing for ARM v5.2.7.

    I couldn't get the automatic library build to work for ARM v5.2.7, even though the automatic library build worked for other versions of the ARM compiler on the same PC. The errors I got were the same as on https://e2e.ti.com/support/development_tools/compiler/f/343/t/501518 for which SDSCM00052840 has been raised.

    Am I correct in thinking that the automatic library build for ARM v5.2.7 under Windows is broken?

  • Good catch!  I agree that the troubleshooting steps in the wiki article are unlikely to work.  This is probably the same as SDSCM00052840, a bug already filed in the SDOWP system.  I updated that entry to be associated with this forum thread as well.

    Thanks and regards,

    -George

  • Thank you for your time and effort. At the moment, I will take the TI 5.2.6.