FreeRTOS STM32f0 Eclipse reference problem

I’m using freertos with stm32f0 in eclipse i add all the required freertos sources and headers when i wanna use xtaskcreate function it shows an error of undefined reference to `xTaskGenericCreate’ by the way i included the headers in the project settings help plz

FreeRTOS STM32f0 Eclipse reference problem

xTaskCreate() used to be mapped to xTaskGenericCreate() in task.h (I don’t think it is any more). Which FreeRTOS version are you using? Are you building FreeRTOS/source/tasks.c?