[prev in list] [next in list] [prev in thread] [next in thread]
List: freeswitch-dev
Subject: Re: [Freeswitch-dev] FreeBSD build problem
From: Kim Culhan <w8hdkim () gmail ! com>
Date: 2011-01-02 14:07:46
Message-ID: AANLkTimP6WutaVxuBYc4b79WicUXbUPeVPa=kMA8+1+o () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
On Sat, January 1, 2011 11:39 pm, Oleg Khovayko wrote:
> Hi,
>
> During last build from GIT version on FreeBSD v7.2,
> I see following error message:
>
> {{{
>
> In file included from libs/spandsp/src/plc.c:47:
> libs/spandsp/src/spandsp/saturated.h: In function 'fsaturate':
> libs/spandsp/src/spandsp/saturated.h:129: warning: implicit declaration
> of function 'lrintl'
> libs/spandsp/src/spandsp/saturated.h:129: warning: incompatible implicit
> declaration of built-in function 'lrintl'
> gmake[1]: *** [libfreeswitch_la-plc.lo] Error 1
> gmake: *** [all] Error 2
>
> }}}
>
> I checked source,
> File: libs/spandsp/src/spandsp/saturated.h
>
> Line #129 contains:
> return (int16_t) lrint((float)damp);
>
>
> I assume, somewhere in the headers is redefinition lrint -> lrintl,
> and FreeBSD can not found this function.
>
>
> I substituted that problem line by:
>
> 131 return (int16_t) lrintf((float)damp);
>
> And now everything builds OK.
FWIW git of this date builds without this problem on FreeBSD 8.2-RC1.
-kim
[Attachment #5 (text/html)]
<div>On Sat, January 1, 2011 11:39 pm, Oleg Khovayko wrote:<br>> Hi,<br>=
> <br>> During last build from GIT version on FreeBSD v7.2,<br>> I=
see following error message:<br>> <br>> {{{<br>> <br>> In file=
included from libs/spandsp/src/plc.c:47:<br>
> libs/spandsp/src/spandsp/saturated.h: In function 'fsaturate':=
<br>> libs/spandsp/src/spandsp/saturated.h:129: warning: implicit declar=
ation<br>> of function 'lrintl'<br>> libs/spandsp/src/spandsp=
/saturated.h:129: warning: incompatible implicit<br>
> declaration of built-in function 'lrintl'<br>> gmake[1]: **=
* [libfreeswitch_la-plc.lo] Error 1<br>> gmake: *** [all] Error 2<br>>=
; <br>> }}}<br>> <br>> I checked source,<br>> File: libs/spands=
p/src/spandsp/saturated.h<br>
> <br>> Line #129 contains:<br>> return (int16_t) lrint((float)dam=
p);<br>> <br>> <br>> I assume, somewhere in the headers is redefin=
ition lrint -> lrintl,<br>> and FreeBSD can not found this function.<=
br>
> <br>> <br>> I substituted that problem line by:<br>> <br>>=
131=A0=A0 return (int16_t) lrintf((float)damp);<br>> <br>> And now e=
verything builds OK.<br></div>
<div>FWIW git of this date builds without this problem on FreeBSD 8.2-RC1.<=
/div>
<div>=A0</div>
<div>-kim</div>
<div>=A0</div>
_______________________________________________
FreeSWITCH-dev mailing list
FreeSWITCH-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic