link error with uclibc

Mike Frysinger vapier at gentoo.org
Mon Oct 5 05:01:38 UTC 2009


On Sunday 04 October 2009 12:16:16 loody wrote:
> I cross-compile a standalone test program with toolchain build with uclibc.
> and there are some errors as what I attach at the end of letter.
> I search the uclibc source and I find the  there is no variable,
> __nedf2, in _fpmaxtostr.c.
> but why linker tell me he cannot find it?
> should I link some other libraries before -lc for variable, __nedf2?

those symbols are from gcc, not uClibc.  if you link statically, it's your 
problem to make sure you link everything needed.  especially when invoking the 
linker directly.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20091005/45f7bbda/attachment.pgp>


More information about the uClibc mailing list