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


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

_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



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