This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
=?gb2312?B?T2xkIHByb2JsZW0gYnV0IGhhcmQgdG8ga2lsbA==?=
- From: mmxlee at 263 dot net
- To: newlib at sourceware dot cygnus dot com
- Date: Sat, 20 Jul 2002 14:48:03 +0800 (CST)
- Subject: =?gb2312?B?T2xkIHByb2JsZW0gYnV0IGhhcmQgdG8ga2lsbA==?=
Hello,
Yes , I have some problem with newlib , again it's for a mips-tx39-elf target.
The newlib is compiled smoothly but just don't work,
when I compile a simple "hello.c" , it always prompt the same error:
in function '_sbrk'
undefined reference to `sbrk'
in function '_read'
undefined reference to 'read'
Then I compile the newlib again with the -DREENTRANT-PROVIDED, then the error becomes:
in function '_sbrk_r'
undefined reference to 'sbrk'
in function '_read_r'
undefined reference to 'read'
seems no help.
I can't use a C compiler without a newlib support, but how can I provide a suitable library for my compiler...?
many thanks
Stewart