<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Try again svn revision 8177 or later, see if that does the trick.<div><br></div><div>Mike</div><div><br><div><html>On Apr 23, 2008, at 4:32 AM, Sluschny, Thomas wrote:</html><br class="Apple-interchange-newline"><blockquote type="cite"> <div style="WORD-WRAP: break-word; webkit-nbsp-mode: space; webkit-line-break: after-white-space"> <div dir="ltr" align="left"><span class="275272108-23042008"><font face="Arial" color="#0000ff" size="2">yes, it compiles now,</font></span></div> <div dir="ltr" align="left"><span class="275272108-23042008"><font face="Arial" color="#0000ff" size="2">thank you Mike.</font></span></div> <div dir="ltr" align="left"><span class="275272108-23042008"><font face="Arial" color="#0000ff" size="2"></font></span> </div> <div dir="ltr" align="left"><span class="275272108-23042008"><font face="Arial" color="#0000ff" size="2">the only thing i get now are these 2 warnings:</font></span></div> <div dir="ltr" align="left"><span class="275272108-23042008"><font face="Arial" color="#0000ff" size="2">Warnung 1 warning C4552: '-' : operator has no effect; expected operator with side-effect d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\voipcodecs\src\lpc10_decode.c 448 <br>Warnung 2 warning C4552: '*' : operator has no effect; expected operator with side-effect d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\voipcodecs\src\lpc10_decode.c 449 <br></font></span></div> <div dir="ltr" align="left"><span class="275272108-23042008"><font face="Arial" color="#0000ff" size="2">I'm not shure, that the calculation will be correct with this warnings (i didn't test it and i've got not so much experience here)?</font></span></div> <div dir="ltr" align="left"><span class="275272108-23042008"><font face="Arial" color="#0000ff" size="2">(do not misunderstand me, i don't want to bother you ;) )</font></span></div><font face="Arial" color="#0000ff" size="2"></font> <div dir="ltr" align="left"><span class="275272108-23042008"><font face="Arial" color="#0000ff" size="2"></font></span> </div> <div><font face="Arial" color="#0000ff" size="2"><span class="275272108-23042008">Thomas</span></font></div> <div><font face="Arial" color="#0000ff" size="2"></font> </div> <div><br></div> <div class="OutlookMessageHeader" lang="de" dir="ltr" align="left"> <hr tabindex="-1"> <font face="Tahoma" size="2"><b>Von:</b> freeswitch-dev-bounces@lists.freeswitch.org [<a href="mailto:freeswitch-dev-bounces@lists.freeswitch.org">mailto:freeswitch-dev-bounces@lists.freeswitch.org</a>] <b>Im Auftrag von </b>Michael Jerris<br><b>Gesendet:</b> Dienstag, 22. April 2008 17:04<br><b>An:</b> <a href="mailto:freeswitch-dev@lists.freeswitch.org">freeswitch-dev@lists.freeswitch.org</a><br><b>Betreff:</b> Re: [Freeswitch-dev] lock unlock in PortAudio<br></font><br></div> <div></div>Please update and see if that fixes the lpc10_decode.c:447 issue. <div><br></div> <div>Mike</div> <div><br> <div>On Apr 22, 2008, at 10:22 AM, Sluschny, Thomas wrote:<br class="Apple-interchange-newline"> <blockquote type="cite"> <div style="WORD-WRAP: break-word; webkit-nbsp-mode: space; webkit-line-break: after-white-space"> <div dir="ltr" align="left"><span class="166181714-22042008"><font face="Arial" color="#0000ff" size="2">ok, inet_pton problem is solved now :)</font></span></div> <div dir="ltr" align="left"><span class="166181714-22042008"><font face="Arial" color="#0000ff" size="2">but ... ;(</font></span></div> <div dir="ltr" align="left"><span class="166181714-22042008"><font face="Arial" color="#0000ff" size="2">Fehler 1 Die Datei "d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\pthreads-w32-2-7-0-release" konnte nicht gelöscht werden.<br>Stellen Sie sicher, dass die Datei nicht geöffnet oder schreibgeschützt ist. Download PTHREAD <br>Fehler 2 Die Datei "d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\howl-1.0.0" konnte nicht gelöscht werden.<br>Stellen Sie sicher, dass die Datei nicht geöffnet oder schreibgeschützt ist. Download HOWL <br>Warnung 3 warning C4244: '+=' : conversion from 'int' to 'int16_t', possible loss of data d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\voipcodecs\src\oki_adpcm.c 180 <br>Warnung 4 warning C4244: '+=' : conversion from 'int' to 'int16_t', possible loss of data d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\voipcodecs\src\oki_adpcm.c 195 <br>Warnung 5 warning C4244: '-=' : conversion from 'int' to 'int16_t', possible loss of data d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\voipcodecs\src\oki_adpcm.c 224 <br>Warnung 6 warning C4244: '-=' : conversion from 'int' to 'int16_t', possible loss of data d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\voipcodecs\src\oki_adpcm.c 230 <br>Warnung 7 warning C4244: '+=' : conversion from 'int' to 'int16_t', possible loss of data d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\voipcodecs\src\lpc10_decode.c 69 <br>Fehler 8 error C2143: syntax error : missing ')' before ';' d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\voipcodecs\src\lpc10_decode.c 447 <br>Warnung 9 warning C4552: '*' : operator has no effect; expected operator with side-effect d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\voipcodecs\src\lpc10_decode.c 447 <br>Warnung 10 warning C4552: '-' : operator has no effect; expected operator with side-effect d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\voipcodecs\src\lpc10_decode.c 447 <br>Fehler 11 error C2059: syntax error : ')' d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\voipcodecs\src\lpc10_decode.c 447 <br>Warnung 12 warning C4718: 'burnStack' : recursive call has no side effects, deleting d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\libdingaling\src\sha1.c 542 <br>Fehler 13 fatal error LNK1181: cannot open input file '..\..\..\..\release\libvoipcodecs.lib' mod_voipcodecs <br></font></span></div> <div dir="ltr" align="left"><span class="166181714-22042008"><font face="Arial" color="#0000ff" size="2"></font></span> </div> <div dir="ltr" align="left"><span class="166181714-22042008"><font face="Arial" color="#0000ff" size="2">the only real problem i see is line 447 in lpc10_decode.c:</font></span></div> <div dir="ltr" align="left"><span class="166181714-22042008"><p><font face="Arial" color="#0000ff" size="2">rmsi[*nout - 1] = logf(s->rmso) + prop*(logf(*rms) - logf(s->rmso));</font></p><p><span class="166181714-22042008"><font face="Arial" color="#0000ff" size="2">i don't know exactly the problem but it worked with:</font></span></p><span class="166181714-22042008"><p><font size="2">f1 = logf(*rms);</font></p><p><font size="2">f2 = f1 - logf(s->rmso);</font></p><p><font size="2">f1 = prop * f2;</font></p><p><font size="2">f2 = logf(s->rmso);</font></p><p><font size="2">rmsi[*nout - 1] = f2 + f1;</font></p> <div><font size="2"></font><br class="webkit-block-placeholder"> </div><p><span class="166181714-22042008"><font face="Arial" color="#0000ff" size="2">hope this helps,</font></span></p><p><span class="166181714-22042008"><font face="Arial" color="#0000ff" size="2">Thomas</font></span></p></span></span></div><br> <div class="OutlookMessageHeader" lang="de" dir="ltr" align="left"> <hr tabindex="-1"> <font face="Tahoma" size="2"><b>Von:</b> <a href="mailto:freeswitch-dev-bounces@lists.freeswitch.org">freeswitch-dev-bounces@lists.freeswitch.org</a> [<a href="mailto:freeswitch-dev-bounces@lists.freeswitch.org">mailto:freeswitch-dev-bounces@lists.freeswitch.org</a>] <b>Im Auftrag von </b>Michael Jerris<br><b>Gesendet:</b> Dienstag, 22. April 2008 14:37<br><b>An:</b> <a href="mailto:freeswitch-dev@lists.freeswitch.org">freeswitch-dev@lists.freeswitch.org</a><br><b>Betreff:</b> Re: [Freeswitch-dev] lock unlock in PortAudio<br></font><br></div> <div></div>I had forgotten to update the msvc 2005 build files, those are in tree now. Are there any other warnings/errors from your build now without the workarounds? <div><br></div> <div>Mike</div> <div><br> <div>On Apr 22, 2008, at 5:45 AM, Sluschny, Thomas wrote:<br class="Apple-interchange-newline"> <blockquote type="cite"> <div style="WORD-WRAP: break-word; webkit-nbsp-mode: space; webkit-line-break: after-white-space"> <div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="039254409-22042008">sry i forgot: i updated to rev. 8165</span></font></div><br> <div class="OutlookMessageHeader" lang="de" dir="ltr" align="left"> <hr tabindex="-1"> <font face="Tahoma" size="2"><b>Von:</b> Sluschny, Thomas <br><b>Gesendet:</b> Dienstag, 22. April 2008 11:42<br><b>An:</b> <a href="mailto:'freeswitch-dev@lists.freeswitch.org">'freeswitch-dev@lists.freeswitch.org</a>'<br><b>Betreff:</b> AW: [Freeswitch-dev] lock unlock in PortAudio<br></font><br></div> <div></div> <div dir="ltr" align="left"><span class="025483809-22042008"><font face="Arial" color="#0000ff" size="2">I updated complete, but errors still exists, here my complete output:</font></span></div> <div dir="ltr" align="left"><span class="025483809-22042008"><font face="Arial" color="#0000ff" size="2"></font></span> </div> <div dir="ltr" align="left"><span class="025483809-22042008"><font face="Arial" color="#0000ff" size="2">Fehler 1 Die Datei "d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\pthreads-w32-2-7-0-release" konnte nicht gelöscht werden.<br>Stellen Sie sicher, dass die Datei nicht geöffnet oder schreibgeschützt ist. Download PTHREAD <br>Fehler 2 error LNK2001: unresolved external symbol _switch_inet_pton switch_core.obj <br>Fehler 3 error LNK2001: unresolved external symbol _switch_inet_pton switch_utils.obj <br>Fehler 4 fatal error LNK1120: 1 unresolved externals D:\download\svn-win32-1.4.5\bin\freeswitch1.0\Release\FreeSwitch.dll <br>Fehler 5 Die Datei "d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\howl-1.0.0" konnte nicht gelöscht werden.<br>Stellen Sie sicher, dass die Datei nicht geöffnet oder schreibgeschützt ist. Download HOWL <br>Warnung 6 warning C4244: '+=' : conversion from 'int' to 'int16_t', possible loss of data d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\voipcodecs\src\oki_adpcm.c 180 <br>Warnung 7 warning C4244: '+=' : conversion from 'int' to 'int16_t', possible loss of data d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\voipcodecs\src\oki_adpcm.c 195 <br>Warnung 8 warning C4244: '-=' : conversion from 'int' to 'int16_t', possible loss of data d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\voipcodecs\src\oki_adpcm.c 224 <br>Warnung 9 warning C4244: '-=' : conversion from 'int' to 'int16_t', possible loss of data d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\voipcodecs\src\oki_adpcm.c 230 <br>Warnung 10 warning C4244: '+=' : conversion from 'int' to 'int16_t', possible loss of data d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\voipcodecs\src\lpc10_decode.c 69 <br>Fehler 11 error C2143: syntax error : missing ')' before ';' d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\voipcodecs\src\lpc10_decode.c 447 <br>Warnung 12 warning C4552: '*' : operator has no effect; expected operator with side-effect d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\voipcodecs\src\lpc10_decode.c 447 <br>Warnung 13 warning C4552: '-' : operator has no effect; expected operator with side-effect d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\voipcodecs\src\lpc10_decode.c 447 <br>Fehler 14 error C2059: syntax error : ')' d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\voipcodecs\src\lpc10_decode.c 447 <br>Warnung 15 warning C4718: 'burnStack' : recursive call has no side effects, deleting d:\download\svn-win32-1.4.5\bin\freeswitch1.0\libs\libdingaling\src\sha1.c 542 <br>Fehler 16 fatal error LNK1181: cannot open input file '..\..\..\..\release\libvoipcodecs.lib' mod_voipcodecs <br></font></span></div> <div dir="ltr" align="left"><span class="025483809-22042008"><font face="Arial" color="#0000ff" size="2">To prevent Fehler (error) 11 and 14 i created some helper variables as i mentioned before.</font></span></div> <div dir="ltr" align="left"><span class="025483809-22042008"><font face="Arial" color="#0000ff" size="2"></font></span> </div> <div dir="ltr" align="left"><span class="025483809-22042008"><font face="Arial" color="#0000ff" size="2">Thomas</font></span></div> <div dir="ltr" align="left"><span class="025483809-22042008"><font face="Arial" color="#0000ff" size="2"></font></span> </div><font face="Arial" color="#0000ff" size="2"></font><font face="Arial" color="#0000ff" size="2"></font><br> <div class="OutlookMessageHeader" lang="de" dir="ltr" align="left"> <hr tabindex="-1"> <font face="Tahoma" size="2"><b>Von:</b> <a href="mailto:freeswitch-dev-bounces@lists.freeswitch.org">freeswitch-dev-bounces@lists.freeswitch.org</a> [<a href="mailto:freeswitch-dev-bounces@lists.freeswitch.org">mailto:freeswitch-dev-bounces@lists.freeswitch.org</a>] <b>Im Auftrag von </b>Michael Jerris<br><b>Gesendet:</b> Montag, 21. April 2008 16:37<br><b>An:</b> <a href="mailto:freeswitch-dev@lists.freeswitch.org">freeswitch-dev@lists.freeswitch.org</a><br><b>Betreff:</b> Re: [Freeswitch-dev] lock unlock in PortAudio<br></font><br></div> <div></div>I fixed the inet_pton and a few other windows build issues. Please report back if you have any other modules not building right with current trunk. <div><br></div> <div>Mike</div> <div><br> <div>On Apr 21, 2008, at 9:48 AM, Anthony Minessale wrote:<br class="Apple-interchange-newline"> <blockquote type="cite">please try rev 8130<br><br> <div class="gmail_quote">On Mon, Apr 21, 2008 at 7:47 AM, Sluschny, Thomas <<a href="mailto:Thomas.Sluschny@siemens.com">Thomas.Sluschny@siemens.com</a>> wrote:<br> <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid"> <div> <div><span><font face="Arial" size="2">Hi all,</font></span></div> <div><span><font face="Arial" size="2"></font></span> </div> <div><span><font face="Arial" size="2">i use a very old version of freeswitch so i decided to give the version 1.0.pre4 (8124M) a try.</font></span></div> <div><span><font face="Arial" size="2"></font></span> </div> <div><span><font face="Arial" size="2">I use WinXP and VS2005 Prof.</font></span></div> <div><span><font face="Arial" size="2"></font></span> </div> <div><span><font face="Arial" size="2">At first a had to cope with some compile errors:</font></span></div> <div><span><font face="Arial" size="2">1. <font size="2">inet_pton() was not defined, i use <font size="2">Curl_inet_pton() for that now, but what is the "official" way</font></font></font></span></div> <div><span><font face="Arial" size="2">2. some lpc10_decode errors, where i had to define some helper variables</font></span></div> <div><span><font face="Arial" size="2"></font></span> </div> <div><span><font face="Arial" size="2">And now my problem:</font></span></div> <div><span><font face="Arial" size="2">i make a call from portaudio to a sip device, 1st call is ok,</font></span></div> <div><span><font face="Arial" size="2">BUT if i do the same call again i hang in mod_PortAudio.c in line 1141:</font></span></div> <div><span><p><font face="Arial" size="2">switch_mutex_lock(globals.device_lock);</font></p><p><span><font face="Arial" size="2">So it seams that someone doesnt unlock it :(</font></span></p><p><span><font face="Arial" size="2">Anybody else have seen this problem? Has it to do with the compile error?</font></span></p> <div><span><font face="Arial" size="2"></font></span><br class="webkit-block-placeholder"> </div><p><span><font face="Arial" size="2">Thanx in advance,</font></span></p><p><span><font face="Arial" size="2">Thomas Sluschny</font></span></p></span></div> <div><span><font face="Arial" size="2"></font></span> </div></div><br>_______________________________________________<br>Freeswitch-dev mailing list<br><a href="mailto:Freeswitch-dev@lists.freeswitch.org">Freeswitch-dev@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br><a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400 _______________________________________________<br>Freeswitch-dev mailing list<br><a href="mailto:Freeswitch-dev@lists.freeswitch.org">Freeswitch-dev@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br></blockquote></div><br></div></div>______________________________________________________________________________________________<br>Freeswitch-dev mailing list<br><a href="mailto:Freeswitch-dev@lists.freeswitch.org">Freeswitch-dev@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev<br>http://www.freeswitch.org<br></blockquote></div></div></div></blockquote></div><br></div></div> _______________________________________________<br>Freeswitch-dev mailing list<br><a href="mailto:Freeswitch-dev@lists.freeswitch.org">Freeswitch-dev@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev<br>http://www.freeswitch.org<br></blockquote></div><br></div></body></html>