_sbrk problems when linking newlib (for h8300s)

Michael M Delaney mmdst23+@pitt.edu
Mon Mar 31 00:35:00 GMT 2003


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




More information about the Newlib mailing list