tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Where does lrint get changed to lrintl?



I have asked this question on the FreeSWITCH mailing list but perhaps
it is more of a NetBSD question.

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.  This is from the ports
Makefile.

# 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 <darcy%druid.net@localhost>         |  Democracy is three 
wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.
IM: darcy%Vex.Net@localhost


Home | Main Index | Thread Index | Old Index