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/AM4377: Not able build CCS project

Part Number: AM4377

Tool/software: Code Composer Studio

Hi,

I am getting below error and not able to build my project.
Please suggest me what can be the issue. I have attached the CCS project.

**** Build of configuration Debug for project Jtag ****

make all

make all
Cannot run program "make": Launching failed

Error: Program "make" not found in PATH
PATH=[C:\ti\gcc-arm-none-eabi-6-2017-q1-update\bin;C:\ti\ccsv7\ccs_base\common\bin;C:\ti\ccsv7\ccs_base\common\uscif;C:/ti/ccsv7/eclipse/jre/bin/client;C:/ti/ccsv7/eclipse/jre/bin;C:/ti/ccsv7/eclipse/jre/lib/i386;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin;C:\ti\ccsv7\eclipse]

Error: Program "make" is not found in PATH

PATH=[C:\ti\gcc-arm-none-eabi-6-2017-q1-update\bin;C:\ti\ccsv7\ccs_base\common\bin;C:\ti\ccsv7\ccs_base\common\uscif;C:/ti/ccsv7/eclipse/jre/bin/client;C:/ti/ccsv7/eclipse/jre/bin;C:/ti/ccsv7/eclipse/jre/lib/i386;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin;C:\ti\ccsv7\eclipse]

**** Build Finished ****

https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/81/Jtag.7z

  • Hello,

    Abhinav said:

    make all

    make all
    Cannot run program "make": Launching failed

    Error: Program "make" not found in PATH

    CCS ships with 'gmake', not 'make'. CCS projects should default to using 'gmake'. Your error message indicates that the default option is not being used. Looking at your project, this is the case:

    The "Use default build command" checkbox has been disabled. If you look at the other build configuration (Debug__GNU), this option looks correct:

    Thanks

    ki

  • Hi Ki,

    Thanks for the help. I have not much experience on CCS.
    After enabling the check for building default build command getting below error. PFA for full logs.
    Not able to understand what is the issue.

    makefile:152: recipe for target 'Jtag.out' failed
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libboard.a(board.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libboard.a(board.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libboard.a(dcard.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libboard.a(dcard.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libboard.a(platform.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libboard.a(platform.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libboard.a(pinmux.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libboard.a(pinmux.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libboard.a(board_am43xx.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libboard.a(board_am43xx.o)
    c:/ti/gcc-a

    **** Clean-only build of configuration Debug for project Jtag ****
    
    "C:\\ti\\ccsv7\\utils\\bin\\gmake" clean 
     
    DEL /F  "Jtag.hex"  "Jtag.out" 
    DEL /F "startup_ARMCA9.d" 
    DEL /F "i2c.o" "qspi.o" "qspi_app.o" "startup_ARMCA9.o" "uart.o" "mmcsd\hsmmcsd_app_pol.o" "read_write\read_write_app_main.o" 
    DEL /F "i2c.d" "qspi.d" "qspi_app.d" "uart.d" "mmcsd\hsmmcsd_app_pol.d" "read_write\read_write_app_main.d" 
    Could Not Find C:\Users\ee209357\workspace_v7\Jtag\Debug\Jtag.hex
    Could Not Find C:\Users\ee209357\workspace_v7\Jtag\Debug\startup_ARMCA9.d
    Could Not Find C:\Users\ee209357\workspace_v7\Jtag\Debug\i2c.o
    Could Not Find C:\Users\ee209357\workspace_v7\Jtag\Debug\mmcsd\hsmmcsd_app_pol.o
    Could Not Find C:\Users\ee209357\workspace_v7\Jtag\Debug\read_write\read_write_app_main.o
    Could Not Find C:\Users\ee209357\workspace_v7\Jtag\Debug\i2c.d
    Could Not Find C:\Users\ee209357\workspace_v7\Jtag\Debug\mmcsd\hsmmcsd_app_pol.d
    Could Not Find C:\Users\ee209357\workspace_v7\Jtag\Debug\read_write\read_write_app_main.d
    'Finished clean'
     
    
    **** Build Finished ****
    
    **** Build of configuration Debug for project Jtag ****
    
    "C:\\ti\\ccsv7\\utils\\bin\\gmake" all 
     
    'Building file: "../i2c.c"'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -Dam4379 -I"C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/examples/qspi" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/library/qspilib/include" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/device" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/examples/example_utils" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/examples/mmcsd" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/include" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/include/am43xx/am437x" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/include/hw" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/include/am43xx" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/include/utils" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/library/mmcsd/include" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/library/third_party/ff9b/src" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/library/third_party/ff9b/port" -Wall -MMD -MP -MF"i2c.d" -MT"i2c.o"  -o"i2c.o" "../i2c.c"
    'Finished building: "../i2c.c"'
     
    'Building file: "../qspi.c"'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -Dam4379 -I"C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/examples/qspi" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/library/qspilib/include" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/device" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/examples/example_utils" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/examples/mmcsd" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/include" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/include/am43xx/am437x" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/include/hw" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/include/am43xx" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/include/utils" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/library/mmcsd/include" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/library/third_party/ff9b/src" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/library/third_party/ff9b/port" -Wall -MMD -MP -MF"qspi.d" -MT"qspi.o"  -o"qspi.o" "../qspi.c"
    'Finished building: "../qspi.c"'
     
    'Building file: "../qspi_app.c"'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -Dam4379 -I"C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/examples/qspi" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/library/qspilib/include" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/device" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/examples/example_utils" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/examples/mmcsd" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/include" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/include/am43xx/am437x" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/include/hw" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/include/am43xx" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/include/utils" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/library/mmcsd/include" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/library/third_party/ff9b/src" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/library/third_party/ff9b/port" -Wall -MMD -MP -MF"qspi_app.d" -MT"qspi_app.o"  -o"qspi_app.o" "../qspi_app.c"
    'Finished building: "../qspi_app.c"'
     
    'Building file: "../startup_ARMCA9.S"'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -Dam4379 -I"C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/examples/qspi" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/library/qspilib/include" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/device" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/examples/example_utils" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/examples/mmcsd" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/include" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/include/am43xx/am437x" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/include/hw" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/include/am43xx" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/include/utils" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/library/mmcsd/include" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/library/third_party/ff9b/src" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/library/third_party/ff9b/port" -Wall -MMD -MP -MF"startup_ARMCA9.d" -MT"startup_ARMCA9.o"  -o"startup_ARMCA9.o" "../startup_ARMCA9.S"
    'Finished building: "../startup_ARMCA9.S"'
     
    'Building file: "../uart.c"'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -Dam4379 -I"C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/examples/qspi" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/library/qspilib/include" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/device" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/examples/example_utils" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/examples/mmcsd" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/include" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/include/am43xx/am437x" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/include/hw" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/include/am43xx" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/include/utils" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/library/mmcsd/include" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/library/third_party/ff9b/src" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/library/third_party/ff9b/port" -Wall -MMD -MP -MF"uart.d" -MT"uart.o"  -o"uart.o" "../uart.c"
    'Finished building: "../uart.c"'
     
    'Building file: "../mmcsd/hsmmcsd_app_pol.c"'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -Dam4379 -I"C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/examples/qspi" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/library/qspilib/include" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/device" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/examples/example_utils" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/examples/mmcsd" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/include" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/include/am43xx/am437x" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/include/hw" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/include/am43xx" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/include/utils" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/library/mmcsd/include" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/library/third_party/ff9b/src" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/library/third_party/ff9b/port" -Wall -MMD -MP -MF"mmcsd/hsmmcsd_app_pol.d" -MT"mmcsd/hsmmcsd_app_pol.o"  -o"mmcsd/hsmmcsd_app_pol.o" "../mmcsd/hsmmcsd_app_pol.c"
    'Finished building: "../mmcsd/hsmmcsd_app_pol.c"'
     
    'Building file: "../read_write/read_write_app_main.c"'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -Dam4379 -I"C:/ti/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/examples/qspi" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/library/qspilib/include" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/device" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/examples/example_utils" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/examples/mmcsd" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/include" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/include/am43xx/am437x" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/include/hw" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/include/am43xx" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/include/utils" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/library/mmcsd/include" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/library/third_party/ff9b/src" -I"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/library/third_party/ff9b/port" -Wall -MMD -MP -MF"read_write/read_write_app_main.d" -MT"read_write/read_write_app_main.o"  -o"read_write/read_write_app_main.o" "../read_write/read_write_app_main.c"
    'Finished building: "../read_write/read_write_app_main.c"'
     
    'Building target: "Jtag.out"'
    'Invoking: GNU Linker'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -mtune=cortex-a9 -marm -Dam4379 -Wall -mcpu=cortex-a9 -L"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/binary/device/lib/am43xx-evm/a9/release/gcc" -Wl,--defsym,STACKSIZE=0x18000 -Wl,--defsym,HEAPSIZE=0x400 -o"Jtag.out" "./i2c.o" "./qspi.o" "./qspi_app.o" "./startup_ARMCA9.o" "./uart.o" "./mmcsd/hsmmcsd_app_pol.o" "./read_write/read_write_app_main.o" -Wl,-T"../AM437x.lds"  -Wl,--start-group -lc -Wl,--end-group   ../libboard.a ../libboard_boot.a ../libdal.a ../libdal_boot.a ../libdevice.a ../libdevice_boot.a ../libexample_utils.a ../libff9b_lib.a ../libmmcsd_lib.a ../libnand_lib.a ../libqspi_lib.a ../libqspi_lib_boot.a ../libsoc.a ../libsoc_boot.a ../libutils.a ../libutils_boot.a 
    makefile:152: recipe for target 'Jtag.out' failed
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libboard.a(board.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libboard.a(board.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libboard.a(dcard.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libboard.a(dcard.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libboard.a(platform.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libboard.a(platform.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libboard.a(pinmux.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libboard.a(pinmux.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libboard.a(board_am43xx.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libboard.a(board_am43xx.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libboard.a(dcard_am43xx.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libboard.a(dcard_am43xx.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libboard.a(am43xx_gpevm.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libboard.a(am43xx_gpevm.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libboard.a(am43xx_evmsk.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libboard.a(am43xx_evmsk.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libboard.a(am43xx_idkevm.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libboard.a(am43xx_idkevm.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libboard.a(am43xx_eposevm.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libboard.a(am43xx_eposevm.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libboard.a(am43xx_custom.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libboard.a(am43xx_custom.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libboard.a(am43xx_gpevm_pinmux_data.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libboard.a(am43xx_gpevm_pinmux_data.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libboard.a(am43xx_evmsk_pinmux_data.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libboard.a(am43xx_evmsk_pinmux_data.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libboard.a(am43xx_idkevm_pinmux_data.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libboard.a(am43xx_idkevm_pinmux_data.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libboard.a(am43xx_eposevm_pinmux_data.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libboard.a(am43xx_eposevm_pinmux_data.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libdal.a(gpio.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libdal.a(gpio.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libdal.a(hs_mmcsd.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libdal.a(hs_mmcsd.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libdevice.a(qspi_flash.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libdevice.a(qspi_flash.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libexample_utils.a(example_utils_mmu.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libexample_utils.a(example_utils_mmu.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libmmcsd_lib.a(mmcsd_lib.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libmmcsd_lib.a(mmcsd_lib.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libmmcsd_lib.a(hsmmcsd_lib_port.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libmmcsd_lib.a(hsmmcsd_lib_port.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libqspi_lib.a(qspi_lib.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libqspi_lib.a(qspi_lib.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libsoc.a(soc.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libsoc.a(soc.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libsoc.a(startup.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libsoc.a(startup.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libsoc.a(am43xx_chipdb.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libsoc.a(am43xx_chipdb.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libsoc.a(hw_am43xx_chipdb.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libsoc.a(hw_am43xx_chipdb.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libsoc.a(hw_am43xx_chipdb_baseaddr.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libsoc.a(hw_am43xx_chipdb_baseaddr.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libsoc.a(hw_am43xx_chipdb_interrupt.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libsoc.a(hw_am43xx_chipdb_interrupt.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libsoc.a(am43xx_prcm.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libsoc.a(am43xx_prcm.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libsoc.a(hw_prcm_data.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libsoc.a(hw_prcm_data.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libsoc.a(cache_arm.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libsoc.a(cache_arm.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libsoc.a(mmu_arm.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libsoc.a(mmu_arm.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libsoc.a(cpu.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libsoc.a(cpu.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libsoc.a(gic.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libsoc.a(gic.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libutils.a(console_utils.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libutils.a(console_utils.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libutils.a(agraph.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libutils.a(agraph.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libutils.a(i2c_utils.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libutils.a(i2c_utils.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libutils.a(console_utils_uart.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libutils.a(console_utils_uart.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libutils.a(ascii_utils.o) uses VFP register arguments, Jtag.out does not
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file ../libutils.a(ascii_utils.o)
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-exit.o): In function `exit':
    exit.c:(.text.exit+0x1c): undefined reference to `_exit'
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-abort.o): In function `abort':
    abort.c:(.text.abort+0xa): undefined reference to `_exit'
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-sbrkr.o): In function `_sbrk_r':
    sbrkr.c:(.text._sbrk_r+0x12): undefined reference to `_sbrk'
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-signalr.o): In function `_kill_r':
    signalr.c:(.text._kill_r+0x16): undefined reference to `_kill'
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-signalr.o): In function `_getpid_r':
    signalr.c:(.text._getpid_r+0x0): undefined reference to `_getpid'
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-writer.o): In function `_write_r':
    writer.c:(.text._write_r+0x18): undefined reference to `_write'
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-closer.o): In function `_close_r':
    closer.c:(.text._close_r+0x12): undefined reference to `_close'
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-fstatr.o): In function `_fstat_r':
    fstatr.c:(.text._fstat_r+0x16): undefined reference to `_fstat'
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-isattyr.o): In function `_isatty_r':
    isattyr.c:(.text._isatty_r+0x12): undefined reference to `_isatty'
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-lseekr.o): In function `_lseek_r':
    lseekr.c:(.text._lseek_r+0x18): undefined reference to `_lseek'
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar\libc.a(lib_a-readr.o): In function `_read_r':
    readr.c:(.text._read_r+0x18): undefined reference to `_read'
    collect2.exe: error: ld returned 1 exit status
    gmake: *** [Jtag.out] Error 1
    
    **** Build Finished ****
    


  • Hi,

    From above list of errors some are resolved. Made changes in the Runtime settings for floating point.
    Now only below error exist. It's a undefined reference error but not able to understand why it is showing this path.

    Below are the logs-

    'Building target: "Jtag.out"'
    'Invoking: GNU Linker'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -mtune=cortex-a9 -marm -Dam4379 -g -gdwarf-3 -gstrict-dwarf -Wall -mfloat-abi=hard -Wl,-Map,"Jtag.map" -L"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/binary/device/lib/am43xx-evm/a9/release/gcc" -Wl,--defsym,STACKSIZE=0x18000 -Wl,--defsym,HEAPSIZE=0x400 -o"Jtag.out" "./i2c.o" "./qspi.o" "./qspi_app.o" "./startup_ARMCA9.o" "./uart.o" "./mmcsd/hsmmcsd_app_pol.o" "./read_write/read_write_app_main.o" -Wl,-T"../AM437x.lds" -Wl,--start-group -lc -Wl,--end-group ../libboard.a ../libboard_boot.a ../libdal.a ../libdal_boot.a ../libdevice.a ../libdevice_boot.a ../libexample_utils.a ../libff9b_lib.a ../libmmcsd_lib.a ../libnand_lib.a ../libqspi_lib.a ../libqspi_lib_boot.a ../libsoc.a ../libsoc_boot.a ../libutils.a ../libutils_boot.a
    makefile:152: recipe for target 'Jtag.out' failed
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/hard\libc.a(lib_a-exit.o): In function `exit':
    exit.c:(.text.exit+0x2c): undefined reference to `_exit'
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/hard\libg.a(lib_a-abort.o): In function `abort':
    abort.c:(.text.abort+0x10): undefined reference to `_exit'
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/hard\libg.a(lib_a-sbrkr.o): In function `_sbrk_r':
    sbrkr.c:(.text._sbrk_r+0x18): undefined reference to `_sbrk'
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/hard\libg.a(lib_a-signalr.o): In function `_kill_r':
    signalr.c:(.text._kill_r+0x20): undefined reference to `_kill'
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/hard\libg.a(lib_a-signalr.o): In function `_getpid_r':
    signalr.c:(.text._getpid_r+0x4): undefined reference to `_getpid'
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/hard\libg.a(lib_a-writer.o): In function `_write_r':
    writer.c:(.text._write_r+0x24): undefined reference to `_write'
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/hard\libg.a(lib_a-closer.o): In function `_close_r':
    closer.c:(.text._close_r+0x18): undefined reference to `_close'
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/hard\libg.a(lib_a-fstatr.o): In function `_fstat_r':
    fstatr.c:(.text._fstat_r+0x20): undefined reference to `_fstat'
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/hard\libg.a(lib_a-isattyr.o): In function `_isatty_r':
    isattyr.c:(.text._isatty_r+0x18): undefined reference to `_isatty'
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/hard\libg.a(lib_a-lseekr.o): In function `_lseek_r':
    lseekr.c:(.text._lseek_r+0x24): undefined reference to `_lseek'
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/hard\libg.a(lib_a-readr.o): In function `_read_r':
    readr.c:(.text._read_r+0x24): undefined reference to `_read'
    collect2.exe: error: ld returned 1 exit status
    gmake: *** [Jtag.out] Error 1
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****
  • Abhinav said:
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: ../libboard.a(board.o) uses VFP register arguments, Jtag.out does not

    Try the workaround described in the below post:

    https://e2e.ti.com/support/arm/sitara_arm/f/791/p/581556/2137227#2137227

  • Abhinav said:
    undefined reference to `_exit'

    The issue is similar to what is described in the link below:

    http://processors.wiki.ti.com/index.php/Compiler/diagnostic_messages/10234

    While the above link is for the TI compiler, it is basically the same issue. You need to determine which library/object defines those symbols and add them to the project

    Thanks

    ki

  • Abhinav,

    The invalid symbols you are getting are happening because there is no specification of a proper runtime library on your project.

    GCC has a few pre-defined sets of configurations that include the required libraries to be included in the option "-specs". Given it seems you are using a few extensive settings, I would first try the most comprehensive parameter that contains complete runtime support including Console I/O (or semihosting in GCC lingo).

    As you progress on the development and wants to optimize the memory usage, you may want to change this to "nano.specs" (for reduced support) or even "nosys.specs" (for a very lightweight support). 

    Hope this helps,

    Rafael

  • Hi,

    Thanks Ki for providing the links.

    The issue is resolved whatever Rafael have suggested. There is no specs mentioned for the runtime, now specified it as "rdimon.specs" and project is building properly.

    When changing this as "nosys.specs", below errors are coming.

    'Building target: "Jtag.out"'
    'Invoking: GNU Linker'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -mtune=cortex-a9 -marm -Dam4379 -Wall -specs="nosys.specs" -mfloat-abi=hard -L"C:/ti/pdk_am437x_1_0_9/packages/ti/starterware/binary/device/lib/am43xx-evm/a9/release/gcc" -Wl,--defsym,STACKSIZE=0x18000 -Wl,--defsym,HEAPSIZE=0x400 -o"Jtag.out" "./i2c.o" "./qspi.o" "./qspi_app.o" "./startup_ARMCA9.o" "./uart.o" "./mmcsd/hsmmcsd_app_pol.o" "./read_write/read_write_app_main.o" -Wl,--start-group -lc -Wl,--end-group ../libboard.a ../libboard_boot.a ../libdal.a ../libdal_boot.a ../libdevice.a ../libdevice_boot.a ../libexample_utils.a ../libff9b_lib.a ../libmmcsd_lib.a ../libnand_lib.a ../libqspi_lib.a ../libqspi_lib_boot.a ../libsoc.a ../libsoc_boot.a ../libutils.a ../libutils_boot.a
    makefile:151: recipe for target 'Jtag.out' failed
    c:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/hard/crt0.o: In function `_start':
    (.text+0xf8): undefined reference to `__stack'
    collect2.exe: error: ld returned 1 exit status
    gmake: *** [Jtag.out] Error 1

    My runtime settings are as follows-

  • Abhinav,

    Interesting; I was able to properly build your project using nosys.specs. Please check attached. 

    flash_tool.zip

    Regards,

    Rafael