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]

undefined to '__error' after disable libgloss(systemcalls) for arm!


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!





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