AnsweredAssumed Answered

Undefined reference to 'sbrk'

Question asked by Santhamurthy R on Mar 27, 2017
Latest reply on Mar 28, 2017 by Erwan Y

Hello All,

 

I am using SPC5studio version 5.2.3 and SPC560B54L5 board.

 

I have problem in using sprintf() library function.

In a normal application sprintf() works fine but while using it in bootloader application it is creating a problem with the below error. Tried inserting relevant header files (string.h,stdio.h) also reinstalled the Free PowerPC-VLE GCC 4.9.2 toolchain but still the issue.

 

Error log in console:

 

Kindly provide your suggestion to solve this issue.

 

 

Thanks in Advance,

 

With Regards,

R.Santhamurthy

Outcomes