osthreadDef problem on STM32

I am still unable to understand the problem but it seems like the call to the function main_GW(); is problematic. What is the definition of that function?

Please do the following:

Thanks.