malloc problem with H8300

Mohammad Saleem mosa@enea.se
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
message:
*******************************
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
regards
/Mohammad




------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com



More information about the crossgcc mailing list