libm does not contain round() and log2() ?

Mike Frysinger vapier at gentoo.org
Thu Nov 3 23:58:00 UTC 2005


On Thu, Oct 27, 2005 at 08:12:19AM +0200, Peter S. Mazinger wrote:
> On Wed, 26 Oct 2005, Lior Balkohen wrote:
> 
> > >trying linking code that uses these functions I get undefined
> > >reference to. i have self-made toolchain, binutils-2.16.1, gcc-3.4.4,
> > >uclibc-0.9.28 target powerpc/nofpu, if this information helps.
> > 
> > lot of math functions are defined as macros in tgmath.h. I'll fix my code.
> 
> log2 and round are not in uClibc, you could use them from bugs.uclibc.org, 
> look for SuSv3 math functions (patches from me)

round/lround/llround are now in uClibc in svn
-mike



More information about the uClibc mailing list