undefined to '__error' after disable libgloss(systemcalls) for arm!
Cliff Tsai
clifftsai@minecard.com.tw
Thu May 10 19:21:00 GMT 2001
Hi:
I've seen a msg about this topic.
http://sources.redhat.com/ml/newlib/1999/msg00027.thml
According the msg,I modified the coonfigure.host as:
arm-*-*)
- sys_dir=arm
+ #sys_dir+arm
;;
The created libc.a doesn't include systemcalls.c (libgloss for ARM
angel)
But When I use functions in libm.The error occurs: undefined reference
to `__error'.
I think the '__error' should be defined in error.h,error.c or somewhere
else but not in systemcalls.c
Why the error occured after I disable the arm systemcalls?
Thanks!
More information about the Newlib
mailing list