This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

malloc problem with H8300


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]