I'm using ChibiOS 3.x to write an embedded application. When compiling/linking it, I encounter an error message like this:
/usr/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/armv7e-m/libg.a(lib_a-sbrkr.o): In function `_sbrk_r':
sbrkr.c:(.text._sbrk_r+0xc): undefined reference to `_sbrk'
Where is _sbrk
defined and how can I resolve this issue?