Hello,<br>
<br>
Unfortunately I don't know what was the problem with voipcodecs in my environment :(<br>
I tried clean latest trunk.<br>
os is the same as by Jalsot - win xp sp2<br>
Platform sdk 2003 <br>
Visual Studio 2005 pro (only difference is Jalsot tried with express) <br>
I have installed 2005 express, maybe on uninstall something where left. I don't know.<br>
I installed 2008 express, and problem didn't appear already.<br>
<br>
Regards,<br>
Tamas<br><br><div><span class="gmail_quote">On 4/10/08, <b class="gmail_sendername">Michael Jerris</b> <<a href="mailto:mike@jerris.com">mike@jerris.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Whoops. Missed that. Fixed the switch_ivr_play_say issue and another<br> build prob on msvc 2005 for mod_openzap. Unable to reproduce the<br> voipcodecs build problem on msvc 2005 pro, and jalsot on irc confirmed<br> the same on 2005 express. Can you try to track down what could cause<br>
that that is different between our environments. I will fix up the<br> inet_pton issues tomorrow (later today) and let you know.<br> <br> Mike<br> <br><br> On Apr 10, 2008, at 1:57 AM, Tamas wrote:<br> <br> > Hi,<br>
><br> > As I wrote in previous mail, it was svn trunk r8070.<br> ><br> > Regards,<br> > Tamas<br> ><br> > Michael Jerris írta:<br> >> Is this with svn trunk (what svn revision?)<br> >><br>
>> Mike<br> >><br> >><br> >> On Apr 9, 2008, at 5:01 PM, Tamas wrote:<br> >><br> >><br> >>> Hello,<br> >>><br> >>> I tried to compile r8070 on win XP SP2 with<br>
>>> Microsoft Visual Studio 2005<br> >>> Version 8.0.50727.762 (SP.050727-7600)<br> >>> Microsoft .NET Framework<br> >>> Version 2.0.50727 SP1<br> >>> Installed Edition: VC Express<br>
>>> Microsoft Visual C++ 2005<br> >>><br> >>> What I got:<br> >>> 12>switch_ivr_play_say.c<br> >>> 12>..\..\src\switch_ivr_play_say.c(1779) : error C2220: warning<br> >>> treated<br>
>>> as error - no 'object' file generated<br> >>> 12>..\..\src\switch_ivr_play_say.c(1779) : warning C4267: '=' :<br> >>> conversion from 'size_t' to 'uint32_t', possible loss of data<br>
>>><br> >>> 12>switch_utils.c<br> >>> 12>..\..\src\switch_utils.c(123) : error C2220: warning treated as<br> >>> error<br> >>> - no 'object' file generated<br> >>> 12>..\..\src\switch_utils.c(123) : warning C4013: 'inet_pton'<br>
>>> undefined;<br> >>> assuming extern returning int<br> >>><br> >>> 24>conn.c<br> >>> 23>c:\documents and<br> >>> settings\jalsot\asztal\fs\libs\voipcodecs\src\lpc10_decode.c(69) :<br>
>>> warning C4244: '+=' : conversion from 'int' to 'int16_t', possible<br> >>> loss<br> >>> of data<br> >>><br> >>><br> >>> 24>Generating Code...<br>
>>> 24>Compiling...<br> >>> 23>c:\documents and<br> >>> settings\jalsot\asztal\fs\libs\voipcodecs\src\oki_adpcm.c(180) :<br> >>> warning<br> >>> C4244: '+=' : conversion from 'int' to 'int16_t', possible loss of<br>
>>> data<br> >>> 23>c:\documents and<br> >>> settings\jalsot\asztal\fs\libs\voipcodecs\src\oki_adpcm.c(195) :<br> >>> warning<br> >>> C4244: '+=' : conversion from 'int' to 'int16_t', possible loss of<br>
>>> data<br> >>> 23>c:\documents and<br> >>> settings\jalsot\asztal\fs\libs\voipcodecs\src\oki_adpcm.c(224) :<br> >>> warning<br> >>> C4244: '-=' : conversion from 'int' to 'int16_t', possible loss of<br>
>>> data<br> >>> 23>c:\documents and<br> >>> settings\jalsot\asztal\fs\libs\voipcodecs\src\oki_adpcm.c(230) :<br> >>> warning<br> >>> C4244: '-=' : conversion from 'int' to 'int16_t', possible loss of<br>
>>> data<br> >>><br> >>> 27>Generating Code...<br> >>> 29>LINK : fatal error LNK1181: cannot open input file<br> >>> '..\..\..\..\w32\library\debug\freeswitchcore.lib'<br>
>>><br> >>> Regards,<br> >>> Tamas<br> >>><br> >>> Michael Jerris írta:<br> >>><br> >>>> What os/compiler versions?<br> >>>><br> >>>> Mike<br>
>>>><br> >>>> On Apr 9, 2008, at 2:16 PM, Tamas Cseke wrote:<br> >>>><br> >>>><br> >>>><br> >>>>> Hello,<br> >>>>><br> >>>>> I have 2 problems:<br>
>>>>><br> >>>>> 1, libvoipcodecs<br> >>>>> C2143: syntax error : missing ')' before '<br> >>>>> I don't know what the problem with brackets, but with the attached<br>
>>>>> modification it complies.<br> >>>>> Do you have any idea, why? :)<br> >>>>> 2. freeswitchcorelib<br> >>>>> acl functions can't find inet_pton symbol.<br>
>>>>><br> >>>>> Thanks,<br> >>>>> Tamas<br> >>>>><br> >>>>> Index: lpc10_decode.c<br> >>>>> =<br> >>>>> ==================================================================<br>
>>>>> --- lpc10_decode.c (revision 8061)<br> >>>>> +++ lpc10_decode.c (working copy)<br> >>>>> @@ -249,6 +249,7 @@<br> >>>>> float slope;<br> >>>>> float uvpit;<br>
>>>>> float xxy;<br> >>>>> + float tmp;<br> >>>>><br> >>>>> rci_dim1 = LPC10_ORDER;<br> >>>>> rci_offset = rci_dim1 + 1;<br> >>>>> @@ -444,7 +445,9 @@<br>
>>>>>
xxy = expf(xxy);<br>
>>>>>
rci[j + *nout*rci_dim1 + 1] = (xxy - 1.0f)/<br> >>>>> (xxy + 1.0f);<br>
>>>>>
}<br> >>>>>
- rmsi[*nout
- 1] = logf(s->rmso) +<br> >>>>> prop*(logf(*rms) - logf(s->rmso));<br>
>>>>>
+
//rmsi[*nout - 1] = logf(s->rmso) + prop<br> >>>>> *(logf((float)*rms) - logf(s->rmso));<br>
>>>>>
+
tmp = logf(*rms) - logf(s->rmso);<br> >>>>>
+ rmsi[*nout
- 1] = logf(s->rmso) + prop * tmp ;<br>
>>>>>
rmsi[*nout - 1] = expf(rmsi[*nout - 1]);<br> >>>>> }<br> >>>>> }<br> >>>>> _______________________________________________<br> >>>>> Freeswitch-users mailing list<br>
>>>>> <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br> >>>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br> >>>>> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
>>>>><br> >>>>><br> >>>> _______________________________________________<br> >>>> Freeswitch-users mailing list<br> >>>> <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
>>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br> >>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>>> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br> >>>><br> >>>><br> >>>><br> >>> _______________________________________________<br> >>> Freeswitch-users mailing list<br>
>>> <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br> >>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br> >>> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
>>><br> >><br> >><br> >> _______________________________________________<br> >> Freeswitch-users mailing list<br> >> <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br> >> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br> >><br> >><br> ><br> ><br> > _______________________________________________<br> > Freeswitch-users mailing list<br> > <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br> <br> <br> _______________________________________________<br> Freeswitch-users mailing list<br> <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br> </blockquote></div><br>