[Freeswitch-dev] Where does lrint get changed to lrintl?

D'Arcy J.M. Cain darcy at Vex.Net
Thu Oct 25 02:39:57 MSD 2012


In libs/spandsp/src/spandsp/saturated.h around line 129 there is a line
that calls "lrint(damp)".  This generates the following error on NetBSD:


libs/spandsp/src/spandsp/saturated.h:129:5: error: implicit declaration
of function 'lrintl'

I can't find any reference to lrintl in the FreeSWITCH sources and
nothing in the NetBSD include trees that would do the substitution.
Looks like FreeBSD has the same confusion:

# FreeBSD 7 doesn't have lrintl, but lrint will do the trick just fine
# It's quite cryptic as to why the reinplace doesn't work; there's no
mention # of lrintl anywhere in any source....
.if ${OSVERSION} < 800012
BROKEN= Requires lrintl, which is not present on FreeBSD 7 
.endif  

Anyone here have any idea where this substitution is happening?

-- 
D'Arcy J.M. Cain
System Administrator, Vex.Net
http://www.Vex.Net/ IM:darcy at Vex.Net



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev mailing list