This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
_sbrk problems when linking newlib (for h8300s)
- From: Michael M Delaney <mmdst23+ at pitt dot edu>
- To: newlib at sources dot redhat dot com
- Date: Sun, 30 Mar 2003 19:35:10 -0500 (EST)
- Subject: _sbrk problems when linking newlib (for h8300s)
I'm trying to link newlib, and if I use a function from newlib I get the
following error:
/usr/local/h8newlib/h8300-linux-hms/lib/h8300s/int32/libc.a(sbrk.o): In
function `_sbrk':
sbrk.c:17: undefined reference to `end'
make: *** [test] Error 1
I don't understand whats going on here, since I could not find any
refrences to 'end' in the file, just a few #endif's. I'm using the latest
CVS, I had a problem with the newest release (I forgot exactly what it
was, but it may have been the same thing.) Does anyone have any
suggestions for how I can fix this?
thanks,
Mike