[Freeswitch-dev] lock unlock in PortAudio

Michael Jerris mike at jerris.com
Tue Apr 22 08:36:53 EDT 2008


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?

Mike

On Apr 22, 2008, at 5:45 AM, Sluschny, Thomas wrote:

> sry i forgot: i updated to rev. 8165
>
> Von: Sluschny, Thomas
> Gesendet: Dienstag, 22. April 2008 11:42
> An: 'freeswitch-dev at lists.freeswitch.org'
> Betreff: AW: [Freeswitch-dev] lock unlock in PortAudio
>
> I updated complete, but errors still exists, here my complete output:
>
> 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.
> Stellen Sie sicher, dass die Datei nicht geöffnet oder  
> schreibgeschützt ist. Download PTHREAD
> Fehler 2 error LNK2001: unresolved external symbol _switch_inet_pton  
> switch_core.obj
> Fehler 3 error LNK2001: unresolved external symbol _switch_inet_pton  
> switch_utils.obj
> Fehler 4 fatal error LNK1120: 1 unresolved externals D:\download\svn- 
> win32-1.4.5\bin\freeswitch1.0\Release\FreeSwitch.dll
> Fehler 5 Die Datei "d:\download\svn-win32-1.4.5\bin 
> \freeswitch1.0\libs\howl-1.0.0" konnte nicht gelöscht werden.
> Stellen Sie sicher, dass die Datei nicht geöffnet oder  
> schreibgeschützt ist. Download HOWL
> 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
> 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
> 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
> 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
> 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
> 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
> 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
> 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
> Fehler 14 error C2059: syntax error : ')' d:\download\svn- 
> win32-1.4.5\bin\freeswitch1.0\libs\voipcodecs\src\lpc10_decode.c 447
> 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
> Fehler 16 fatal error LNK1181: cannot open input file '..\..\..\.. 
> \release\libvoipcodecs.lib' mod_voipcodecs
> To prevent Fehler (error) 11 and 14 i created some helper variables  
> as i mentioned before.
>
> Thomas
>
>
> Von: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org 
> ] Im Auftrag von Michael Jerris
> Gesendet: Montag, 21. April 2008 16:37
> An: freeswitch-dev at lists.freeswitch.org
> Betreff: Re: [Freeswitch-dev] lock unlock in PortAudio
>
> 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.
>
> Mike
>
> On Apr 21, 2008, at 9:48 AM, Anthony Minessale wrote:
>> please try rev 8130
>>
>> On Mon, Apr 21, 2008 at 7:47 AM, Sluschny, Thomas <Thomas.Sluschny at siemens.com 
>> > wrote:
>> Hi all,
>>
>> i use a very old version of freeswitch so i decided to give the  
>> version 1.0.pre4 (8124M) a try.
>>
>> I use WinXP and VS2005 Prof.
>>
>> At first a had to cope with some compile errors:
>> 1. inet_pton() was not defined, i use Curl_inet_pton() for that  
>> now, but what is the "official" way
>> 2. some lpc10_decode errors, where i had to define some helper  
>> variables
>>
>> And now my problem:
>> i make a call from portaudio to a sip device, 1st call is ok,
>> BUT if i do the same call again i hang in mod_PortAudio.c in line  
>> 1141:
>> switch_mutex_lock(globals.device_lock);
>>
>> So it seams that someone doesnt unlock it :(
>>
>> Anybody else have seen this problem? Has it to do with the compile  
>> error?
>>
>>
>>
>> Thanx in advance,
>>
>> Thomas Sluschny
>>
>>
>>
>> _______________________________________________
>> Freeswitch-dev mailing list
>> Freeswitch-dev at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- 
>> dev
>> http://www.freeswitch.org
>>
>>
>>
>>
>> -- 
>> Anthony Minessale II
>>
>> FreeSWITCH http://www.freeswitch.org/
>> ClueCon http://www.cluecon.com/
>>
>> AIM: anthm
>> MSN:anthony_minessale at hotmail.com
>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
>> IRC: irc.freenode.net #freeswitch
>>
>> FreeSWITCH Developer Conference
>> sip:888 at conference.freeswitch.org
>> iax:guest at conference.freeswitch.org/888
>> googletalk:conf+888 at conference.freeswitch.org
>> pstn:213-799-1400 _______________________________________________
>> Freeswitch-dev mailing list
>> Freeswitch-dev at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- 
>> dev
>> http://www.freeswitch.org
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20080422/00273dc7/attachment-0001.html 


More information about the Freeswitch-dev mailing list