Part Number: TDA2PXEVM
Tool/software: Code Composer Studio
Hi,
I am new on arm code development. I am writing a dummy code on arm A15 core, but am not able to build that on ccs6.2. Please find the attached error which I am getting during the build. What needs to be changed in ccs, can you please tell.
**** Build of configuration Debug__GNU for project ProjectARM ****
ti/ccsv6/utils/bin/gmake -k all
Building file: ../main.c
Invoking: GNU Compiler
"ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc" -c -s -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=softfp -mfpu=neon -DTDA2xx -I"PROCESSOR_SDK_VISION_03_06_00_00/ti_components/os_tools/linux/linaro/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"main.d" -MT"main.o" -o"main.o" "../main.c"
Finished building: ../main.c
Building file: ../startup_ARMCA15.S
Invoking: GNU Compiler
"ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc" -c -s -mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=softfp -mfpu=neon -DTDA2xx -I"PROCESSOR_SDK_VISION_03_06_00_00/ti_components/os_tools/linux/linaro/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"startup_ARMCA15.d" -MT"startup_ARMCA15.o" -o"startup_ARMCA15.o" "../startup_ARMCA15.S"
Finished building: ../startup_ARMCA15.S
Building target: ProjectARM.out
Invoking: GNU Linker
"ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/arm-none-eabi-gcc" -mcpu=cortex-a15 -marm -mfloat-abi=softfp -mfpu=neon -DTDA2xx -g -gdwarf-3 -gstrict-dwarf -Wall -Wl,-Map,"ProjectARM.map" -Wl,--defsym,STACKSIZE=0x10000 -Wl,--defsym,HEAPSIZE=0x400 -o"ProjectARM.out" "./main.o" "./startup_ARMCA15.o" -Wl,--start-group -lc -Wl,--end-group
makefile:140: recipe for target 'ProjectARM.out' failed
ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-ar/thumb/softfp/libc.a(lib_a-exit.o): In function `exit':
exit.c:(.text.exit+0x1c): undefined reference to `_exit'
ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7-ar/thumb/softfp/crt0.o: In function `_start':
(.text+0x58): undefined reference to `__stack'
collect2: error: ld returned 1 exit status
gmake: *** [ProjectARM.out] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
Regards
surbhi
