[Freeswitch-users] windows build problems

Michael Jerris mike at jerris.com
Wed Apr 9 12:02:33 PDT 2008


What os/compiler versions?

Mike

On Apr 9, 2008, at 2:16 PM, Tamas Cseke wrote:

> Hello,
>
> I have 2 problems:
>
> 1, libvoipcodecs
> C2143: syntax error : missing ')' before '
> I don't know what the problem with brackets, but with the attached  
> modification it complies.
> Do you have any idea, why? :)
> 2. freeswitchcorelib
> acl functions can't find inet_pton symbol.
>
> Thanks,
> Tamas
>
> Index: lpc10_decode.c
> ===================================================================
> --- lpc10_decode.c	(revision 8061)
> +++ lpc10_decode.c	(working copy)
> @@ -249,6 +249,7 @@
>     float slope;
>     float uvpit;
>     float xxy;
> +   float tmp;
>
>     rci_dim1 = LPC10_ORDER;
>     rci_offset = rci_dim1 + 1;
> @@ -444,7 +445,9 @@
>                         xxy = expf(xxy);
>                         rci[j + *nout*rci_dim1 + 1] = (xxy - 1.0f)/ 
> (xxy + 1.0f);
>                     }
> -                    rmsi[*nout - 1] = logf(s->rmso) +  
> prop*(logf(*rms) - logf(s->rmso));
> +                   //rmsi[*nout - 1] = logf(s->rmso) + prop  
> *(logf((float)*rms) - logf(s->rmso));
> +                   tmp = logf(*rms) - logf(s->rmso);
> +		     rmsi[*nout - 1] = logf(s->rmso) + prop * tmp ;
>                     rmsi[*nout - 1] = expf(rmsi[*nout - 1]);
>                 }
>             }
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org





More information about the FreeSWITCH-users mailing list