Page 1 of 1

"undefined reference to _sbrk" error whenever using Malloc

Posted: Wed 28. Jan 2015, 02:24
by eprasetio
Hi,
I got a problem whenever calling malloc() function in my code. My code is based on the Routing example code that was given from the installation package. I read from other forums saying that the way to fix this is to change the newlib(none) to newlib(nohost). However, i'm not sure how to do this. Could you help me fixing this issue?

Thanks

Re: "undefined reference to _sbrk" error whenever using Mall

Posted: Thu 29. Jan 2015, 10:55
by PEAK-Support
Hi, we are sorry, but we could not support any problems using the GCC compiler - only PEAK-System Hardware relevant questions. Please post your question in one of the GCC forums for ARM µC.