link error with uclibc

loody miloody at gmail.com
Fri Oct 9 04:15:10 UTC 2009


hi:
thanks for your help.
2009/10/5 Mike Frysinger <vapier at gentoo.org>:
> 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.
Why will uClibc need gcc header files while linking?
In my opinion, the header files which the static or dynamic lib of
uClibc need should already be compiled when building uClibc.
Are my assumptions wrong?
appreciate your help,
miloody


More information about the uClibc mailing list