Hi,
I followed the "Getting Started" guide and created Hello World example for AM3359 chip. But I received the following error on first build:
**** Build of configuration Debug for project hello_AM3359_CortexA ****
"C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
'Building file: ../hello.cfg'
'Invoking: XDCtools'
"C:/TI/xdctools_3_25_02_70/xs" --xdcpath="C:/TI/bios_6_35_03_47/packages;C:/ti/ccsv5/ccs_base;" xdc.tools.configuro -o configPkg -t gnu.targets.arm.A8F -p ti.platforms.beaglebone -r release -c "C:/ti/ccsv5/tools/compiler/gcc-arm-none-eabi-4_7-2012q4" "../hello.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring hello.xa8fg from package/cfg/hello_pa8fg.cfg ...
generating custom ti.sysbios library makefile ...
Starting build of library sources ...
making C:/TI/workspace_v5_4/hello_AM3359_CortexA/src/sysbios.aa8fg ...
asma8fg C:/TI/bios_6_35_03_47/packages/ti/sysbios/family/arm/IntrinsicsSupport_asm_gnu.asm ...
asma8fg C:/TI/bios_6_35_03_47/packages/ti/sysbios/family/arm/TaskSupport_asm_gnu.asm ...
asma8fg C:/TI/bios_6_35_03_47/packages/ti/sysbios/family/arm/exc/Exception_asm_gnu.asm ...
asma8fg C:/TI/bios_6_35_03_47/packages/ti/sysbios/family/arm/a8/TimestampProvider_asm_gnu.sv7A ...
asma8fg C:/TI/bios_6_35_03_47/packages/ti/sysbios/family/arm/a8/Mmu_asm_gnu.sv7A ...
asma8fg C:/TI/bios_6_35_03_47/packages/ti/sysbios/family/arm/a8/Cache_asm_gnu.sv7A ...
asma8fg C:/TI/bios_6_35_03_47/packages/ti/sysbios/family/arm/a8/intcps/Hwi_asm_gnu.sv7A ...
asma8fg C:/TI/bios_6_35_03_47/packages/ti/sysbios/timers/gptimer/Timer_asm_gnu.sv7A ...
asma8fg C:/TI/bios_6_35_03_47/packages/ti/sysbios/timers/dmtimer/Timer_asm_gnu.sv7A ...
cla8fg C:/TI/bios_6_35_03_47/packages/ti/sysbios/BIOS.c ...
cla8fg C:/TI/bios_6_35_03_47/packages/ti/sysbios/family/arm/IntrinsicsSupport.c ...
cla8fg C:/TI/bios_6_35_03_47/packages/ti/sysbios/family/arm/TaskSupport.c ...
cla8fg C:/TI/bios_6_35_03_47/packages/ti/sysbios/hal/Hwi.c ...
cla8fg C:/TI/bios_6_35_03_47/packages/ti/sysbios/hal/Hwi_stack.c ...
cla8fg C:/TI/bios_6_35_03_47/packages/ti/sysbios/hal/Hwi_startup.c ...
cla8fg C:/TI/bios_6_35_03_47/packages/ti/sysbios/hal/Timer.c ...
cla8fg C:/TI/bios_6_35_03_47/packages/ti/sysbios/hal/Cache.c ...
cla8fg C:/TI/bios_6_35_03_47/packages/ti/sysbios/knl/Clock.c ...
cla8fg C:/TI/bios_6_35_03_47/packages/ti/sysbios/knl/Idle.c ...
cla8fg C:/TI/bios_6_35_03_47/packages/ti/sysbios/knl/Intrinsics.c ...
cla8fg C:/TI/bios_6_35_03_47/packages/ti/sysbios/knl/Queue.c ...
cla8fg C:/TI/bios_6_35_03_47/packages/ti/sysbios/knl/Semaphore.c ...
cla8fg C:/TI/bios_6_35_03_47/packages/ti/sysbios/knl/Swi.c ...
cla8fg C:/TI/bios_6_35_03_47/packages/ti/sysbios/knl/Swi_andn.c ...
cla8fg C:/TI/bios_6_35_03_47/packages/ti/sysbios/knl/Task.c ...
cla8fg C:/TI/bios_6_35_03_47/packages/ti/sysbios/family/arm/a8/Cache.c ...
cla8fg C:/TI/bios_6_35_03_47/packages/ti/sysbios/family/arm/a8/Mmu.c ...
cla8fg C:/TI/bios_6_35_03_47/packages/ti/sysbios/family/arm/a8/TimestampProvider.c ...
cla8fg C:/TI/bios_6_35_03_47/packages/ti/sysbios/heaps/HeapMem.c ...
cla8fg C:/TI/bios_6_35_03_47/packages/ti/sysbios/gates/GateHwi.c ...
cla8fg C:/TI/bios_6_35_03_47/packages/ti/sysbios/gates/GateMutex.c ...
cla8fg C:/TI/bios_6_35_03_47/packages/ti/sysbios/family/arm/a8/intcps/Hwi.c ...
cla8fg C:/TI/bios_6_35_03_47/packages/ti/sysbios/family/arm/exc/Exception.c ...
cla8fg C:/TI/bios_6_35_03_47/packages/ti/sysbios/rts/gnu/ReentSupport.c ...
cla8fg C:/TI/bios_6_35_03_47/packages/ti/sysbios/timers/dmtimer/Timer.c ...
cla8fg C:/TI/bios_6_35_03_47/packages/ti/sysbios/family/arm/a8/ti81xx/TimerSupport.c ...
ara8fg arm_IntrinsicsSupport_asm_gnu.o arm_TaskSupport_asm_gnu.o exc_Exception_asm_gnu.o a8_TimestampProvider_asm_gnu.o a8_Mmu_asm_gnu.o a8_Cache_asm_gnu.o intcps_Hwi_asm_gnu.o gptimer_Timer_asm_gnu.o dmtimer_Timer_asm_gnu.o _BIOS.o arm_IntrinsicsSupport.o arm_TaskSupport.o hal_Hwi.o hal_Hwi_stack.o hal_Hwi_startup.o hal_Timer.o hal_Cache.o knl_Clock.o knl_Idle.o knl_Intrinsics.o knl_Queue.o knl_Semaphore.o knl_Swi.o knl_Swi_andn.o knl_Task.o a8_Cache.o a8_Mmu.o a8_TimestampProvider.o heaps_HeapMem.o gates_GateHwi.o gates_GateMutex.o intcps_Hwi.o exc_Exception.o gnu_ReentSupport.o dmtimer_Timer.o ti81xx_TimerSupport.o ...
Build of libraries done.
cla8fg package/cfg/hello_pa8fg.c ...
'Finished building: ../hello.cfg'
' '
1 file(s) copied.
making ../src/sysbios.aa8fg ...
gmake[1]: Nothing to be done for `all'.
'Building file: ../hello.c'
'Invoking: GNU Compiler'
"C:/ti/ccsv5/tools/compiler/gcc-arm-none-eabi-4_7-2012q4/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -marm -mfloat-abi=hard -Dam3359 -I"C:/ti/ccsv5/tools/compiler/gcc-arm-none-eabi-4_7-2012q4/arm-none-eabi/include" -g -gstrict-dwarf -Wall -MMD -MP -MF"hello.d" -MT"hello.d" -o"hello.o" @"./configPkg/compiler.opt" "../hello.c"
'Finished building: ../hello.c'
' '
'Building target: hello_AM3359_CortexA.out'
'Invoking: GNU Linker'
"C:/ti/ccsv5/tools/compiler/gcc-arm-none-eabi-4_7-2012q4/bin/arm-none-eabi-gcc.exe" -mfloat-abi=hard -Dam3359 -g -gstrict-dwarf -Wall -Wl,-Map,"hello_AM3359_CortexA.map" -nostartfiles -static -Wl,--gc-sections -L"C:/TI/xdctools_3_25_02_70/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu" -Wl,--defsym,STACKSIZE=0x10000 -Wl,--defsym,HEAPSIZE=0x400 -o"hello_AM3359_CortexA.out" "./hello.o" -Wl,--start-group -l"c" -l"gcc" -l"m" -l"nosys" -Wl,--end-group -Wl,-T"./configPkg/linker.cmd"
C:\TI\workspace_v5_4\hello_AM3359_CortexA\Debug\configPkg\package\cfg\hello_pa8fg.oa8fg: In function `xdc_runtime_SysMin_output(int0_t)':
C:\TI\workspace_v5_4\hello_AM3359_CortexA\Debug\configPkg/package/cfg/hello_pa8fg.c:2326: undefined reference to `_write'
C:/TI/xdctools_3_25_02_70/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libg.a(lib_a-signalr.o): In function `_kill_r':
/db/ztree/library/trees/gnu/gnu-b09x/src/linaro/gcc-arm-none-eabi-4_7-2012q4-20121208/src/newlib/newlib/libc/reent/signalr.c:61: undefined reference to `_kill'
C:/TI/xdctools_3_25_02_70/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu\libg.a(lib_a-signalr.o): In function `_getpid_r':
/db/ztree/library/trees/gnu/gnu-b09x/src/linaro/gcc-arm-none-eabi-4_7-2012q4-20121208/src/newlib/newlib/libc/reent/signalr.c:96: undefined reference to `_getpid'
collect2.exe: error: ld returned 1 exit status
gmake: *** [hello_AM3359_CortexA.out] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****
What's wrong and how do I fix it?
Regards,
Vasili