AnsweredAssumed Answered

"undefined reference to _sbrk" error ( yagarto )

Question asked by karakaya.mehmet on Dec 6, 2012
Latest reply on Dec 6, 2012 by Clive One
hello dear forum,
I am trying to compile a C program for STM32F4 microcontroller with yagarto I have run into following error
--------------------------------------------

c:/olimexods/yagarto/bin/../lib/gcc/arm-none-eabi/4.5.1/../../../../arm-none-eabi/lib\libg.a(lib_a-sbrkr.o): In function `_sbrk_r':

C:\msys\1.0\home\yagarto\newlib-build\arm-none-eabi\newlib\libc\reent/../../../../../newlib-1.18.0/newlib/libc/reent/sbrkr.c:60: undefined reference to `_sbrk'







I have been told to implement this sbrk by myself
If only I knew anything about it! :-(
becouse of this I first decided to ask in the forum if somebody
faced this error before ?

now my question

did anybody face this error before ?
how did you solve it ?
or could you solve it ?

thanks

Outcomes