[Freeswitch-users] FreeSwitch on WinXP

Brian Young ARA/CFD byoung at ara.com
Tue Feb 19 04:08:48 PST 2008


Thanks for the heads up. trunk as of last night (and this morning EST)
gives VS2005 build errors. See below:


Error	2	error C2220: warning treated as error - no 'object' file
generated
d:\Projects\EMST\VOIP\Freeswitch\trunk\src\switch_core_speech.c	84
Error	4	error C2220: warning treated as error - no 'object' file
generated	d:\Projects\EMST\VOIP\Freeswitch\trunk\src\switch_ivr.c
1521
Error	6	error LNK2019: unresolved external symbol
__imp__switch_core_session_flush_private_events at 4 referenced in function
_fifo_function	mod_fifo.obj
Error	7	fatal error LNK1120: 1 unresolved externals
D:\Projects\EMST\VOIP\Freeswitch\trunk\Debug\mod\mod_fifo.dll	1
Error	1	Unable to find source file
'D:\Projects\EMST\VOIP\Freeswitch\trunk\conf\dialplan\US.conf.xml' for
file 'US.conf.xml', located in '[TARGETDIR]\conf\dialplan', the file may
be absent or locked.
D:\Projects\EMST\VOIP\Freeswitch\trunk\w32\Setup\Setup.vdproj


-Brian Young <brian.young at ara.com>

-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of
Michael Jerris
Sent: Monday, February 18, 2008 6:03 PM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] FreeSwitch on WinXP

This issue should now be fixed in svn trunk.  Thanks for the report.

Mike

On Feb 17, 2008, at 4:36 PM, Brian Young ARA/CFD wrote:

> Runtime goes a little further with a release build. Little help with 
> the XML include errors or the crash?
>
> ---
> Here is the runtime output:
> Error including
> d:\projects\emst\voip\freeswitch\trunk\release\conf\dialplan
> \extensions/
> *.xml
> Error including
> d:\projects\emst\voip\freeswitch\trunk\release\conf\lang/*/*.xml
> WARNING: no real random source present!
> 2008-02-17 16:30:00 [CONSOLE] switch_core.c:904
> switch_core_init_and_modload() Bringing up environment.
> 2008-02-17 16:30:00 [CONSOLE] switch_core.c:905
> switch_core_init_and_modload() Loading Modules.
> 2008-02-17 16:30:00 [CONSOLE] switch_loadable_module.c:749
> switch_loadable_module_load_file() Successfully Loaded [softtimer]
> 2008-02-17 16:30:00 [CONSOLE] switch_loadable_module.c:749
> switch_loadable_module_load_file() Successfully Loaded [mod_console]
> 2008-02-17 16:30:00 [NOTICE] switch_loadable_module.c:245
> switch_loadable_module_process() Adding API Function 'console'
> 2008-02-17 16:30:00 [CONSOLE] switch_loadable_module.c:749
> switch_loadable_module_load_file() Successfully Loaded [mod_logfile]
> 2008-02-17 16:30:01 [CONSOLE] switch_loadable_module.c:749
> switch_loadable_module_load_file() Successfully Loaded [mod_enum]
> 2008-02-17 16:30:01 [NOTICE] switch_loadable_module.c:189
> switch_loadable_module_process() Adding Dialplan 'enum'
> 2008-02-17 16:30:01 [CONSOLE] switch_loadable_module.c:749
> switch_loadable_module_load_file() Successfully Loaded [mod_cdr_csv]
> 2008-02-17 16:30:01 [CONSOLE] switch_loadable_module.c:749
> switch_loadable_module_load_file() Successfully Loaded 
> [mod_event_socket]
> 2008-02-17 16:30:01 [CONSOLE] switch_loadable_module.c:749
> switch_loadable_module_load_file() Successfully Loaded [mod_commands]
> 2008-02-17 16:30:02 [CONSOLE] switch_loadable_module.c:749
> switch_loadable_module_load_file() Successfully Loaded 
> [mod_conference]
> 2008-02-17 16:30:02 [CONSOLE] switch_loadable_module.c:749
> switch_loadable_module_load_file() Successfully Loaded [mod_dptools]
> 2008-02-17 16:30:02 [CONSOLE] switch_loadable_module.c:749
> switch_loadable_module_load_file() Successfully Loaded [mod_expr]
> 2008-02-17 16:30:02 [CONSOLE] switch_loadable_module.c:749
> switch_loadable_module_load_file() Successfully Loaded [mod_fifo]
> 2008-02-17 16:30:02 [CONSOLE] switch_loadable_module.c:749
> switch_loadable_module_load_file() Successfully Loaded [mod_voicemail]
> 2008-02-17 16:30:02 [CONSOLE] switch_loadable_module.c:749
> switch_loadable_module_load_file() Successfully Loaded [mod_limit]
> 2008-02-17 16:30:02 [CONSOLE] switch_loadable_module.c:749
> switch_loadable_module_load_file() Successfully Loaded [mod_esf]
> 2008-02-17 16:30:02 [CONSOLE] switch_loadable_module.c:749
> switch_loadable_module_load_file() Successfully Loaded 
> [mod_dialplan_xml]
> 2008-02-17 16:30:02 [CONSOLE] switch_loadable_module.c:749
> switch_loadable_module_load_file() Successfully Loaded 
> [mod_dialplan_asterisk]
> 2008-02-17 16:30:02 [CONSOLE] switch_loadable_module.c:749
> switch_loadable_module_load_file() Successfully Loaded [mod_g711]
> 2008-02-17 16:30:02 [CONSOLE] switch_loadable_module.c:749
> switch_loadable_module_load_file() Successfully Loaded [mod_g723_1]
> 2008-02-17 16:30:02 [CONSOLE] switch_loadable_module.c:749
> switch_loadable_module_load_file() Successfully Loaded [mod_g729]
> 2008-02-17 16:30:02 [CONSOLE] switch_loadable_module.c:749
> switch_loadable_module_load_file() Successfully Loaded [mod_g722]
> 2008-02-17 16:30:02 [CONSOLE] switch_loadable_module.c:749
> switch_loadable_module_load_file() Successfully Loaded [mod_g726]
> 2008-02-17 16:30:02 [CONSOLE] switch_loadable_module.c:749
> switch_loadable_module_load_file() Successfully Loaded [mod_gsm]
> 2008-02-17 16:30:02 [CONSOLE] switch_loadable_module.c:749
> switch_loadable_module_load_file() Successfully Loaded [mod_amr]
> 2008-02-17 16:30:02 [CONSOLE] switch_loadable_module.c:749
> switch_loadable_module_load_file() Successfully Loaded [mod_ilbc]
> 2008-02-17 16:30:02 [CONSOLE] switch_loadable_module.c:749
> switch_loadable_module_load_file() Successfully Loaded [mod_l16]
> 2008-02-17 16:30:02 [CONSOLE] switch_loadable_module.c:749
> switch_loadable_module_load_file() Successfully Loaded [mod_speex]
> 2008-02-17 16:30:02 [CONSOLE] switch_loadable_module.c:749
> switch_loadable_module_load_file() Successfully Loaded [mod_sndfile] 
> Press any key to continue . . .
>
>
> -Brian Young
>
> -----Original Message-----
> From: freeswitch-users-bounces at lists.freeswitch.org
> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of 
> Brian Young ARA/CFD
> Sent: Wednesday, February 13, 2008 10:50 PM
> To: freeswitch-users at lists.freeswitch.org
> Subject: [Freeswitch-users] FreeSwitch on WinXP
>
> I am running WinXP SP2, built latest trunk (rev 7602) with VS2005. I 
> get a very similar error to a post I found from October 2007
> ([Freeswitch-users] FeeSwitch doesn't start on windows 2003   Hassan
> Firouzbakht). The thread indicates that issue was resolved though.
>
> This is my first time using FreeSwitch (or any voip app for that
> matter)
> so it may be I am missing something. I am using the default config 
> (havent yet modified anything from conf/*). I simply built the 
> FreeSwitchConsole project. Pls advise if there are required setup 
> steps.
> This page (http://wiki.freeswitch.org/wiki/Getting_Started_Guide)
> has a
> section labelled "Preprocessor Variables" which says to update the sip

> profile, but best I can gather that is now autodetected. Pls verify.
>
> ------------
> Here is my stdout:
> D:\Projects\EMST\VOIP\Freeswitch\trunk\debug>FreeSwitch.exe
> Error including
> D:\Projects\EMST\VOIP\Freeswitch\trunk\debug\conf\dialplan
> \extensions/*.
> xml
> Error including
> D:\Projects\EMST\VOIP\Freeswitch\trunk\debug\conf\lang/*/*.xml
> WARNING: no real random source present!
> 2008-02-13 22:23:50 [CONSOLE] switch_core.c:904
> switch_core_init_and_modload() Bringing up environment.
> 2008-02-13 22:23:50 [CONSOLE] switch_core.c:905
> switch_core_init_and_modload() Loading Modules.
> 2008-02-13 22:23:50 [CONSOLE] switch_loadable_module.c:749
> switch_loadable_module_load_file() Successfully Loaded [softtimer]
> ------------
> Here is stacktrace from the debugger:
>> 	FreeSwitch.dll!switch_hash_this(HashElem * hi=0xf2200000, const
> void * * key=0x00000000, int * klen=0x00000000, void * *
> val=0x0012f48c)
> Line 148 + 0x6 bytes	C
> 	FreeSwitch.dll!switch_loadable_module_runtime()  Line 114 C
> 	FreeSwitch.dll!switch_loadable_module_init()  Line 1058	C
> 	FreeSwitch.dll!switch_core_init_and_modload(switch_core_flag_t
> flags=SCF_USE_SQL, switch_bool_t console=SWITCH_TRUE, const char * *
> err=0x0012fe20)  Line 906 + 0x5 bytes	C
> 	FreeSwitch.exe!main(int argc=1, char * * argv=0x008f8fa0)  Line
> 475 + 0x23 bytes	C
> 	FreeSwitch.exe!__tmainCRTStartup()  Line 597 + 0x19 bytes C
> 	FreeSwitch.exe!mainCRTStartup()  Line 414	C
> 	kernel32.dll!7c816fd7() 	
> 	[Frames below may be incorrect and/or missing, no symbols loaded
> for kernel32.dll]	
> ------------
> I have noticed a very strange phenomena. You'll notice "hi" in the 
> trace above looks suspicious (0xf2200000). It is the value returned 
> from switch_hash_first(). But if you look at the value that hi should 
> receive (as far as I can gather) from the debugger "quick watch" 
> below, which is loadable_modules.module_hash.table.first (0x00e1f220) 
> you'll see 2 bytes
> (f220) match.
> ------------
> -		loadable_modules.module_hash	0x00b00fa0 {table={...}
> }	switch_hash *
> -		table	{keyClass='' copyKey='' count=1 ...}	Hash
> 		keyClass	3 '?'	char
> 		copyKey	1 '?'	char
> 		count	1	int
> +		first	0x00e1f220 {next=0x00000000 prev=0x00000000
> data=0x00b016f0 ...}	HashElem *
> 		xMalloc	0x10081240 sqlite3MallocX(int)	void * (int)*
> 		xFree	0x10081220 sqlite3FreeX(void *)	void (void *)*
> 		htsize	8	int
> +		ht	0x00afaee0 {count=0 chain=0x00000000 }	_ht *
> ------------
> Almost appears to be some byte alignment issue... Any help getting 
> FreeSwitch up and running would be greatly appreciated.
>
> -Brian
>
> _______________________________________________
> 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-use
> rs
> http://www.freeswitch.org


_______________________________________________
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