This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
undefined to '__error' after disable libgloss(systemcalls) for arm!
- To: <newlib at sources dot redhat dot com>
- Subject: undefined to '__error' after disable libgloss(systemcalls) for arm!
- From: "Cliff Tsai" <clifftsai at minecard dot com dot tw>
- Date: Fri, 11 May 2001 09:55:41 +0800
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!