Subject: RE: vfprintf errors
To: Klaus Klein <kleink@reziprozitaet.de>
From: Madhvesh R S <madhvesh.s@ap.sony.com>
List: netbsd-help
Date: 03/05/2004 10:20:33
Hi,
Thank you very much, after including quad
functions now i am able to link properly
Thanks
Best Regards
-MS
-----Original Message-----
From: Klaus Klein [mailto:kleink@reziprozitaet.de]
Sent: Friday, March 05, 2004 3:48 AM
To: Madhvesh Sulibhavi
Cc: netbsd-help@NetBSD.org
Subject: Re: vfprintf errors
On Sunday 04 January 2004 16:15, Madhvesh R S wrote:
> I am building the libc/stdio functions on arm platform
> I am getting the following undefined errors.
>
> Does anybody know why these errors are coming on arm platform?
> Does this mean, NetBSD does not support these functions in the form
> of soft-fp for arm?
>
> Errors:
> ================================================================
> (vfprintf.o): In function `vfprintf':
> vfprintf.c:747: undefined reference to `__eqdf2'
> vfprintf.c:775: undefined reference to `__nedf2'
> vfprintf.c:501: undefined reference to `__ltdf2'
> [...]
You're not linking against the softfloat code, which is in
src/lib/libc/softfloat. This is normally built into the arm
libc, so you shouldn't be seeing this.
> (strtod.o): In function `quorem':
> strtod.c:1856: undefined reference to `__udivsi3'
> .....
This is different; you're not linking against quad
support functions. Again, these are normally built
into the arm libc, so you shouldn't be seeing this.
- Klaus