Hi,
I want to use GateMutexPri in my DSP application. The code compiles just fine, but I encounter some errors during linking
undefined first referenced
symbol in file
--------- ----------------
ti_sysbios_gates_GateMutexPri_A_badContext__C /opt/ti/bios_6_32_05_54/packages/ti/sysbios/gates/lib/whole_program_debug/ti.sysbios.gates.ae674<GateMutexPri.oe674>
ti_sysbios_gates_GateMutexPri_Instance_State_pendQ__O /opt/ti/bios_6_32_05_54/packages/ti/sysbios/gates/lib/whole_program_debug/ti.sysbios.gates.ae674<GateMutexPri.oe674>
ti_sysbios_gates_GateMutexPri_Module__diagsEnabled__C /opt/ti/bios_6_32_05_54/packages/ti/sysbios/gates/lib/whole_program_debug/ti.sysbios.gates.ae674<GateMutexPri.oe674>
ti_sysbios_gates_GateMutexPri_Module__diagsIncluded__C /opt/ti/bios_6_32_05_54/packages/ti/sysbios/gates/lib/whole_program_debug/ti.sysbios.gates.ae674<GateMutexPri.oe674>
ti_sysbios_gates_GateMutexPri_Module__diagsMask__C /opt/ti/bios_6_32_05_54/packages/ti/sysbios/gates/lib/whole_program_debug/ti.sysbios.gates.ae674<GateMutexPri.oe674>
ti_sysbios_gates_GateMutexPri_Module__id__C /opt/ti/bios_6_32_05_54/packages/ti/sysbios/gates/lib/whole_program_debug/ti.sysbios.gates.ae674<GateMutexPri.oe674>
ti_sysbios_gates_GateMutexPri_Object__create__S [OwnOutFile]
ti_sysbios_gates_GateMutexPri_Object__delete__S [OwnOutFile]
ti_sysbios_gates_GateMutexPri_Params__init__S [OwnOutFile]
I included the following line in my SysBIOS configuration file:
var GateMutexPri = xdc.useModule('ti.sysbios.gates.GateMutexPri');
However, I still get these linker errors. I used objectdump on on the pre-compiled SysBIOS archive at
/opt/ti/bios_6_32_05_54/packages/ti/sysbios/gates/lib/whole_program_debug/ti.sysbios.gates.ae674
and saw that those symbols are indeed undefined. I'm wondering where those symbols should be defined if not in that archive? Did I made a mistake in my SysBIOS configuration? Any advice would be great.
As you can see in the file paths above: I'm on SysBIOS 6.32.05.54.
Regards
Martin