MPLAB C30 fails on xSemaphoreCreateMutex

Hi, I’m tring to use a Mutex Semaphore into my code. When i compile the code " xSemaphore =  xSemaphoreCreateMutex(); " the linker returns errors: "undefined reference to `xQueueCreateMutex’" I also see that #define configUSE_MUTEXES should be defined = 1 but this is not done nowhere in the code and the file freeRTOSConfig.h doesn’t have this define. What wrong? Thank for the help..

MPLAB C30 fails on xSemaphoreCreateMutex

Just add it the the FreeRTOSConfig.h file then you should be ok.  Missing constants are just defaulted to 0. Regards.