AnsweredAssumed Answered

sprintf with KDS 3.2.0

Question asked by Alvaro Martinez on Sep 19, 2016
Latest reply on Sep 20, 2016 by Alvaro Martinez

Dear all,

I get the following linker error (Cross ARM C++ Linker)  : undefined reference to `_sbrk'

when I try to compile some code like this:


char mystring[10];

int mynumber=5;




however, if I just format the sprintf without addional parameters, like this:

sprintf(mystring,"This is mystring");


it works! Could you please give me any hint?


Thank you very much in advance.



P.D. I use KE06Z microcontroller.