[Freeswitch-users] freeswitch startup issue

ivancoder ivancoder at gmail.com
Mon Jul 17 14:35:06 PDT 2006


So I followed the instructions and it almost builds completely (==========
Build: 33 succeeded, 1 failed, 0 up-to-date, 4 skipped ==========)

 

1. the only remaining error is:

 

Compiling...

mod_spidermonkey.c

Compiling manifest to resources...

Linking...

LINK : fatal error LNK1104: cannot open file 'libetpan.lib'

Build log was saved at
"file://c:\cCode\fswitch\src\mod\languages\mod_spidermonkey\Debug\BuildLog.h
tm"

mod_spidermonkey - 1 error(s), 1 warning(s)

 

The full output is attached as well (is being held for moderator approval -
too large)

 

 

2. Also, is there a recommended set of tests that should be run to validate
the build ?

 

Thanks,

Ivan

 

 

  _____  

From: Michael Jerris [mailto:mike at jerris.com] 
Sent: Saturday, July 15, 2006 5:00 PM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] freeswitch startup issue

 

It would appear you are using the express edition of the compiler.. please
make sure you have completely installed the platform sdk from the
instructions on the express eddition download site:
http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/ , and followed
all the other steps necessary for express eddition to use it, the
instructions are a bit confusing, but when you follow them closely, they
should work every time

 

After you get through that, do a fresh checkout of freeswitch (not quite
sure what happened to yours).

 

Make sure you have an internet connection on your first build, it downloads
some required files and creates switch_version.h after doing some version
lookups that require access to the subversion repository.

 

open up w32/vsnet/freeswitch.sln

 

Select the main solution node at the top of the solution explorer

 

Right Click -> select build.   

 

 

If you continue to have issues after that, can you paste the ENTIRE initial
build log in so I can take a look and/or catch me on IRC and let me into the
box to take a look.  

 

 

Also, I just commited the updates to the installer this morning that
includes all the more recent modules, I hope to do a daily snapshot msi for
download soon.

 

Mike

 

 


  _____  


From: ivancoder [mailto:ivancoder at gmail.com] 
Sent: Saturday, July 15, 2006 4:39 PM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] freeswitch startup issue

1. I didn't really see those instructions - and was getting errors like
could not find windows.h -> anyway those got resolved by looking at this
post (http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=7004
<http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=7004&SiteID=1>
&SiteID=1) and copying over files as suggested.

 

2. That got me past basic installation type errors. But then I hit errors
like could not find switch_version.h -> I saw a file called
switch_version.h.in so I renamed it 

 

3. Then I got errors of the type to prevent FreeSwitchCoreLib from being
created:

c:\ccode\freeswitch\snapshot_freeswitch\src\switch_core.c(2875) : error
C2275: 'switch_xml_t' : illegal use of this type as an expression

 
c:\ccode\freeswitch\snapshot_freeswitch\src\include\switch_types.h(704) :
see declaration of 'switch_xml_t'

c:\ccode\freeswitch\snapshot_freeswitch\src\switch_core.c(2875) : error
C2146: syntax error : missing ';' before identifier 'xml'

c:\ccode\freeswitch\snapshot_freeswitch\src\switch_core.c(2875) : error
C2065: 'xml' : undeclared identifier

c:\ccode\freeswitch\snapshot_freeswitch\src\switch_core.c(2875) : warning
C4047: '=' : 'int' differs in levels of indirection from 'void *'

c:\ccode\freeswitch\snapshot_freeswitch\src\switch_core.c(2875) : error
C2065: 'cfg' : undeclared identifier

c:\ccode\freeswitch\snapshot_freeswitch\src\switch_core.c(2875) : warning
C4047: '=' : 'int' differs in levels of indirection from 'void *'

c:\ccode\freeswitch\snapshot_freeswitch\src\switch_core.c(2898) : warning
C4047: 'function' : 'switch_xml_t *' differs in levels of indirection from
'int *__w64 '

c:\ccode\freeswitch\snapshot_freeswitch\src\switch_core.c(2898) : warning
C4024: 'switch_xml_open_cfg' : different types for formal and actual
parameter 2

c:\ccode\freeswitch\snapshot_freeswitch\src\switch_core.c(2898) : warning
C4047: '=' : 'int' differs in levels of indirection from 'switch_xml_t'

c:\ccode\freeswitch\snapshot_freeswitch\src\switch_core.c(2901) : warning
C4047: 'function' : 'switch_xml_t' differs in levels of indirection from
'int'

c:\ccode\freeswitch\snapshot_freeswitch\src\switch_core.c(2901) : warning
C4024: 'switch_xml_child' : different types for formal and actual parameter
1

c:\ccode\freeswitch\snapshot_freeswitch\src\switch_core.c(2911) : warning
C4047: 'function' : 'switch_xml_t' differs in levels of indirection from
'int'

c:\ccode\freeswitch\snapshot_freeswitch\src\switch_core.c(2911) : warning
C4024: 'switch_xml_free' : different types for formal and actual parameter 1

switch_loadable_module.c

c:\ccode\freeswitch\snapshot_freeswitch\src\switch_loadable_module.c(671) :
error C2220: warning treated as error - no 'object' file generated

c:\ccode\freeswitch\snapshot_freeswitch\src\switch_loadable_module.c(671) :
warning C4244: '=' : conversion from '__w64 int' to 'uint32_t', possible
loss of data

c:\ccode\freeswitch\snapshot_freeswitch\src\switch_loadable_module.c(686) :
warning C4389: '==' : signed/unsigned mismatch

 

Any insight will be much appreciated.

 

Thanks,

Ivan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20060717/33b48b9c/attachment-0003.html 


More information about the FreeSWITCH-users mailing list