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.

Linker error with GateMutexPri

Other Parts Discussed in Thread: SYSBIOS, CC2650, TIMAC

Hi,

I am making modifications to the TI-MAC sample application and I'm running into problems when I try to use GateMutexPri modules.

TI-MAC 1.5.2
TI-RTOS 2.11.01.09
SysBios: 6.41.02.41


The files compile properly, but the linker is complaining that it cannot find some function definitions:

Error[Li005]: no definition for "ti_sysbios_gates_GateMutexPri_create" [referenced from C:\ti\simplelink\timac_1_05_02_43299\Projects\mac\Sample\cc26xx_RTOS\IAR Projects\Application\CC2650\CC2650-PG2-RFD\Obj\Network.o]

Error[Li005]: no definition for "ti_sysbios_gates_GateMutexPri_enter__E" [referenced from C:\ti\simplelink\timac_1_05_02_43299\Projects\mac\Sample\cc26xx_RTOS\IAR Projects\Application\CC2650\CC2650-PG2-RFD\Obj\Network.o]

Error[Li005]: no definition for "ti_sysbios_gates_GateMutexPri_leave__E" [referenced from C:\ti\simplelink\timac_1_05_02_43299\Projects\mac\Sample\cc26xx_RTOS\IAR Projects\Application\CC2650\CC2650-PG2-RFD\Obj\Network.o]

What am I missing?

Thank you in advance

Michel


Here is the list of includes in my file:

#include <xdc/std.h>

#include <xdc/runtime/Error.h>
#include <xdc/runtime/System.h>

#include <ti/sysbios/BIOS.h>

#include <ti/sysbios/knl/Task.h>
#include <ti/sysbios/knl/Clock.h>
#include <ti/sysbios/knl/Mailbox.h>
#include <ti/sysbios/knl/Event.h>
#include <ti/sysbios/knl/Semaphore.h>
#include <ti/sysbios/gates/GateMutexPri.h>
#include <ti/sysbios/family/arm/cc26xx/Power.h>
#include <string.h>
#include <inc/hw_ints.h>

#include "Macs.h"
#include "MacStackMSG.h"

#include <aon_event.h>
#include <ioc.h>