malloc problem with H8300

Mohammad Saleem
Mon Nov 12 00:08:00 GMT 2001

Hi all,

I have a question regarding malloc.
I am using H8300 cross compiler and when I try to use malloc in one of 
my  c-files I get the following
c:/dsp/lib/libc.a(sbrk.o): In function `__sbrk':
sbrk.c:17: undefined reference to `_end'
make: *** [test.srec] Error 1
When I do search for sbrk.c I get a number of such files.
I don't in which file should I look.
Why I get that and how I can solve this?
Any kind of help in this regard will be appreciated.

Thanks in advance

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list