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

Peter S. Mazinger ps.m at gmx.net
Thu Oct 27 06:12:19 UTC 2005


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)

Peter

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2




More information about the uClibc mailing list