Skip to main content
bully
Senior
Solved

Why doesn't compiler find defintion of the function (it says undefined reference to `osSemaphoreWait') on the link step ?

I have #include "cmsis_os.h" statement in my .c file. Also Ctrl+click works in CubeIDE to get to the correct file that includes definition of the function (cmsis_os.h) and also reports correct directory (CMSIS_RTOS_V2)...

Really weird behaviour, I'd kindly ask for some guidance or help.

Thanks,

regards Rob.

This topic has been closed for replies.
bully
bullyBest answer
Senior

found the solution (function is renamed and only exists in header file)...

1 reply

bully
bullyAuthorBest answer
Senior

found the solution (function is renamed and only exists in header file)...