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.

RTOS/AM3358: Build fails with XDC Tool related error

Part Number: AM3358
Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI-RTOS

I am attempting to bring a BeagleBone Black board up with TI RTOS. I'm using CCS 6.2.0.00050, compiler TI v15.12.7.LTS, SYS/BIOS 6.50.1.12, and XDCTools version 3.32.0.06, building for the platform ti.platforms.beaglebone. The project is imported from TI's wiki via the Resource Explorer Classic within CCS 6. I followed the instructions in the Resource Explorer Classic window to import, configure and build the project. I repeatedly get the following errors (look for the ">>Compilation Failure" line below). Keep in mind I have not modified the source code at all.

**** Build of configuration Debug__TI for project hello_BeagleBone_Black_CortexA ****

"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building file: ../hello.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_32_00_06_core/xs" --xdcpath="C:/ti/bios_6_50_01_12/packages;C:/ti/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.A8Fnv -p ti.platforms.beaglebone -r release -c "C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.7.LTS" "../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.xea8fnv from package/cfg/hello_pea8fnv.cfg ...
generating custom ti.sysbios library makefile ...
Starting build of library sources ...
making C:/TI_RTOS_BBB/hello_BeagleBone_Black_CortexA/src/sysbios/sysbios.aea8fnv ...
gmake[1]: Entering directory `C:/TI_RTOS_BBB/hello_BeagleBone_Black_CortexA/src/sysbios'
clea8fnv C:/ti/bios_6_50_01_12/packages/ti/sysbios/BIOS.c ...
asmea8fnv C:/ti/bios_6_50_01_12/packages/ti/sysbios/family/arm/IntrinsicsSupport_asm.asm ...
asmea8fnv C:/ti/bios_6_50_01_12/packages/ti/sysbios/family/arm/TaskSupport_asm.asm ...
asmea8fnv C:/ti/bios_6_50_01_12/packages/ti/sysbios/family/arm/a8/intcps/Hwi_asm.s470 ...
asmea8fnv C:/ti/bios_6_50_01_12/packages/ti/sysbios/family/arm/a8/intcps/Hwi_asm_switch.s470 ...
asmea8fnv C:/ti/bios_6_50_01_12/packages/ti/sysbios/family/arm/exc/Exception_asm.asm ...
asmea8fnv C:/ti/bios_6_50_01_12/packages/ti/sysbios/family/arm/a8/Cache_asm.asm ...
asmea8fnv C:/ti/bios_6_50_01_12/packages/ti/sysbios/family/arm/a8/Mmu_asm.asm ...
asmea8fnv C:/ti/bios_6_50_01_12/packages/ti/sysbios/family/arm/a8/TimestampProvider_asm.asm ...
asmea8fnv C:/ti/bios_6_50_01_12/packages/ti/sysbios/timers/dmtimer/Timer_asm.s470 ...
area8fnv BIOS.obj arm_IntrinsicsSupport_asm.obj arm_TaskSupport_asm.obj intcps_Hwi_asm.obj intcps_Hwi_asm_switch.obj exc_Exception_asm.obj a8_Cache_asm.obj a8_Mmu_asm.obj a8_TimestampProvider_asm.obj dmtimer_Timer_asm.obj ...
gmake[1]: Leaving directory `C:/TI_RTOS_BBB/hello_BeagleBone_Black_CortexA/src/sysbios'
Build of libraries done.
clea8fnv package/cfg/hello_pea8fnv.c ...

>> Compilation failure

"package/cfg/hello_pea8fnv.c", line 1025: warning: a value of type "xdc_Ptr (*)(xdc_CPtr, const xdc_UChar *, xdc_SizeT, xdc_runtime_Error_Block *)" cannot be used to initialize an entity of type "xdc_Ptr (*)(xdc_Ptr, xdc_SizeT, xdc_Ptr, const xdc_UChar *, xdc_SizeT, xdc_runtime_Error_Block *)"
"package/cfg/hello_pea8fnv.c", line 1046: warning: a value of type "xdc_Ptr (*)(xdc_CPtr, const xdc_UChar *, xdc_SizeT, xdc_runtime_Error_Block *)" cannot be used to initialize an entity of type "xdc_Ptr (*)(xdc_Ptr, xdc_SizeT, xdc_Ptr, const xdc_UChar *, xdc_SizeT, xdc_runtime_Error_Block *)"
"package/cfg/hello_pea8fnv.c", line 1093: warning: a value of type "xdc_Ptr (*)(xdc_CPtr, const xdc_UChar *, xdc_SizeT, xdc_runtime_Error_Block *)" cannot be used to initialize an entity of type "xdc_Ptr (*)(xdc_Ptr, xdc_SizeT, xdc_Ptr, const xdc_UChar *, xdc_SizeT, xdc_runtime_Error_Block *)"
"package/cfg/hello_pea8fnv.c", line 4769: error: identifier "CT__ti_sysbios_BIOS_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 4769: error: identifier "CT__ti_sysbios_BIOS_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 4769: error: expected a ")"
"package/cfg/hello_pea8fnv.c", line 4902: error: identifier "CT__ti_sysbios_family_arm_IntrinsicsSupport_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 4902: error: identifier "CT__ti_sysbios_family_arm_IntrinsicsSupport_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 4902: error: expected a ")"
"package/cfg/hello_pea8fnv.c", line 4979: error: identifier "CT__ti_sysbios_family_arm_TaskSupport_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 4979: error: identifier "CT__ti_sysbios_family_arm_TaskSupport_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 4979: error: expected a ")"
"package/cfg/hello_pea8fnv.c", line 5091: error: identifier "CT__ti_sysbios_family_arm_a8_Cache_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 5091: error: identifier "CT__ti_sysbios_family_arm_a8_Cache_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 5091: error: expected a ")"
"package/cfg/hello_pea8fnv.c", line 5204: error: identifier "CT__ti_sysbios_family_arm_a8_Mmu_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 5204: error: identifier "CT__ti_sysbios_family_arm_a8_Mmu_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 5204: error: expected a ")"
"package/cfg/hello_pea8fnv.c", line 5322: error: identifier "CT__ti_sysbios_family_arm_a8_TimestampProvider_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 5322: error: identifier "CT__ti_sysbios_family_arm_a8_TimestampProvider_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 5322: error: expected a ")"
"package/cfg/hello_pea8fnv.c", line 5607: error: identifier "CT__ti_sysbios_family_arm_a8_intcps_Hwi_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 5607: error: identifier "CT__ti_sysbios_family_arm_a8_intcps_Hwi_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 5607: error: expected a ")"
"package/cfg/hello_pea8fnv.c", line 5799: error: identifier "CT__ti_sysbios_family_arm_a8_ti81xx_TimerSupport_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 5799: error: identifier "CT__ti_sysbios_family_arm_a8_ti81xx_TimerSupport_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 5799: error: expected a ")"
"package/cfg/hello_pea8fnv.c", line 5922: error: identifier "CT__ti_sysbios_family_arm_exc_Exception_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 5922: error: identifier "CT__ti_sysbios_family_arm_exc_Exception_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 5922: error: expected a ")"
"package/cfg/hello_pea8fnv.c", line 6056: error: identifier "CT__ti_sysbios_gates_GateHwi_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 6056: error: identifier "CT__ti_sysbios_gates_GateHwi_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 6056: error: expected a ")"
"package/cfg/hello_pea8fnv.c", line 6191: error: identifier "CT__ti_sysbios_gates_GateMutex_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 6191: error: identifier "CT__ti_sysbios_gates_GateMutex_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 6191: error: expected a ")"
"package/cfg/hello_pea8fnv.c", line 6272: error: identifier "CT__ti_sysbios_hal_Cache_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 6272: error: identifier "CT__ti_sysbios_hal_Cache_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 6272: error: expected a ")"
"package/cfg/hello_pea8fnv.c", line 6354: error: identifier "CT__ti_sysbios_hal_Core_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 6354: error: identifier "CT__ti_sysbios_hal_Core_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 6354: error: expected a ")"
"package/cfg/hello_pea8fnv.c", line 6435: error: identifier "CT__ti_sysbios_hal_CoreNull_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 6435: error: identifier "CT__ti_sysbios_hal_CoreNull_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 6435: error: expected a ")"
"package/cfg/hello_pea8fnv.c", line 6560: error: identifier "CT__ti_sysbios_hal_Hwi_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 6560: error: identifier "CT__ti_sysbios_hal_Hwi_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 6560: error: expected a ")"
"package/cfg/hello_pea8fnv.c", line 6704: error: identifier "CT__ti_sysbios_heaps_HeapMem_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 6704: error: identifier "CT__ti_sysbios_heaps_HeapMem_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 6704: error: expected a ")"
"package/cfg/hello_pea8fnv.c", line 6887: error: identifier "CT__ti_sysbios_knl_Clock_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 6887: error: identifier "CT__ti_sysbios_knl_Clock_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 6887: error: expected a ")"
"package/cfg/hello_pea8fnv.c", line 7029: error: identifier "CT__ti_sysbios_knl_Idle_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 7029: error: identifier "CT__ti_sysbios_knl_Idle_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 7029: error: expected a ")"
"package/cfg/hello_pea8fnv.c", line 7114: error: identifier "CT__ti_sysbios_knl_Intrinsics_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 7114: error: identifier "CT__ti_sysbios_knl_Intrinsics_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 7114: error: expected a ")"
"package/cfg/hello_pea8fnv.c", line 7218: error: identifier "CT__ti_sysbios_knl_Queue_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 7218: error: identifier "CT__ti_sysbios_knl_Queue_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 7218: error: expected a ")"
"package/cfg/hello_pea8fnv.c", line 7320: error: identifier "CT__ti_sysbios_knl_Semaphore_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 7320: error: identifier "CT__ti_sysbios_knl_Semaphore_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 7320: error: expected a ")"
"package/cfg/hello_pea8fnv.c", line 7606: error: identifier "CT__ti_sysbios_knl_Swi_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 7606: error: identifier "CT__ti_sysbios_knl_Swi_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 7606: error: expected a ")"
"package/cfg/hello_pea8fnv.c", line 7926: error: identifier "CT__ti_sysbios_knl_Task_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 7926: error: identifier "CT__ti_sysbios_knl_Task_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 7926: error: expected a ")"
"package/cfg/hello_pea8fnv.c", line 8355: error: identifier "CT__ti_sysbios_timers_dmtimer_Timer_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 8355: error: identifier "CT__ti_sysbios_timers_dmtimer_Timer_Module__startupDoneFxn" is undefined
"package/cfg/hello_pea8fnv.c", line 8355: error: expected a ")"

I am also getting errors reported as follows:

"gmake:***No rule to make target 'build-327623855', needed by 'configPkg/compiler.opt'.

"gmake: Target 'all' not remade because of errors."

"identifier "CT__ti_sysbios_BIOS_Module_startupDoneFxn" is undefinied"

I'm not clear on which package it is that is causing the problem. I have made no modifications to the imported project so I'm not sure if the undefined identifier is a bug in the sample code or a misleading error driven by the earlier .I'm new to TI CCS and SYS/BIOS. I've reviewed the e2e forums and have yet to find a solution to this, nor anything in the offline documentation so far. Any assistance would be greatly appreciated. I have been through the self guided training from TI, as well as considerable experience with embedded software development but not on the CCS IDE.

Thanks.

TimC