Compile Linker Error

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I am getting an undefined reference to _sbrk when I am compiling my code. Is there any solution that you can provide?

0 Likes
2 Replies
RaN_283461
Level 2
Level 2

Hi,

   

Did you use the program written with a previous version of sdk with a new SDK ??

   

Can you be more specific on which SDK you use currently..

0 Likes

same for me: the issue appeared as soon as I started using dynamic allocation  malloc and free library functions in my EZUSB-based program.

Since I cannot imagine C programming w/o dynamic memory allocation i assume some link / compile some missing library or add some options to the compiler I guess. Please help: I am scary to mess up the project

0 Likes