[Sofia-sip-devel] sofia-sip-1.12.5 Compile failure on win32, VC 6

2007-03-08 Thread Brian Moody
I’m getting the following compiler errors (and more) when compiling 
sofia-sip-1.12.5 win32, using Visual C 6:


C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(82) 
: error C2065: 'msg_error_hash' : undeclared identifier
C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(82) 
: error C2099: initializer is not a constant
C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(82) 
: error C2065: 'msg_error_d' : undeclared identifier
C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(82) 
: error C2099: initializer is not a constant
C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(82) 
: error C2065: 'msg_error_e' : undeclared identifier
C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(82) 
: error C2099: initializer is not a constant
C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(82) 
: warning C4047: 'initializing' : 'int ' differs in levels of indirection 
from 'unsigned int (__cdecl *)(const union msg_header_u *,unsigned int )'
C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(82) 
: warning C4047: 'initializing' : '__int32 (__cdecl *)(struct su_home_s 
*,union msg_header_u *,char *,unsigned int )' differs in levels of 
indirection f
rom 'char *(__cdecl *)(union msg_header_u *,const union msg_header_u *,char 
*,unsigned int )'
C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(82) 
: warning C4047: 'initializing' : 'unsigned int (__cdecl *)(const union 
msg_header_u *,unsigned int )' differs in levels of indirection from 'char 
[1]'
C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(82) 
: warning C4047: 'initializing' : 'int (__cdecl *)(struct msg_common_s 
*,const char *,unsigned int ,const char *)' differs in levels of indirection 
from

'char [1]'
C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(82) 
: warning C4047: 'initializing' : 'const char *' differs in levels of 
indirection from 'const unsigned int '
C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(85) 
: error C2373: 'msg_error_d' : redefinition; different type modifiers
C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(90) 
: error C2373: 'msg_error_e' : redefinition; different type modifiers
C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(129) 
: error C2065: 'msg_unknown_hash' : undeclared identifier
C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(129) 
: error C2099: initializer is not a constant
C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(129) 
: error C2065: 'msg_unknown_d' : undeclared identifier
C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(129) 
: error C2099: initializer is not a constant
C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(129) 
: error C2065: 'msg_unknown_e' : undeclared identifier
C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(129) 
: error C2099: initializer is not a constant
C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(129) 
: warning C4047: 'initializing' : 'int ' differs in levels of indirection 
from 'unsigned int (__cdecl *)(const union msg_header_u *,unsigned int )'
C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(129) 
: warning C4047: 'initializing' : '__int32 (__cdecl *)(struct su_home_s 
*,union msg_header_u *,char *,unsigned int )' differs in levels of 
indirection
from 'char *(__cdecl *)(union msg_header_u *,const union msg_header_u *,char 
*,unsigned int )'
C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(129) 
: warning C4047: 'initializing' : 'unsigned int (__cdecl *)(const union 
msg_header_u *,unsigned int )' differs in levels of indirection from 'char 
[1]'
C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(129) 
: warning C4047: 'initializing' : 'int (__cdecl *)(struct msg_common_s 
*,const char *,unsigned int ,const char *)' differs in levels of indirection 
fro

m 'char [1]'

_
Win a Zune™—make MSN® your homepage for your chance to win! 
http://homepage.msn.com/zune?icid=hmetagline



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's 

Re: [Sofia-sip-devel] sofia-sip-1.12.5 Compile failure on win32, VC 6

2007-03-07 Thread brian_moody
Thanks - using your latest code, it compiles now.

-Original Message-
From: Kai Vehmanen [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 06, 2007 9:49 AM
To: [EMAIL PROTECTED]
Cc: sofia-sip-devel@lists.sourceforge.net
Subject: RE: [Sofia-sip-devel] sofia-sip-1.12.5 Compile failure on win32, VC 6

Hi,

On 06 March 2007,  [EMAIL PROTECTED] wrote:
I tried it on 1.12.4 and 1.12.5 and got the same errors.  I 
ran sofia-sip\win32\autogen.cmd before hand.  I did have to 
edit build_sources.cmd because I was using gawk 3.1.3 (as the 
comment in build_sources.cmd directs you to do).  I'll try 
your latest code and report back.

aa, ok -- you could also try with mawk. Your error hints at a problem
with the autogenerated header files, so it could be an issue with
the version of gawk you are using. You can get mawk from:

http://gnuwin32.sourceforge.net/packages/mawk.htm

I've tested our current code with both gawk-3.1.5 and mawk-1.3.3,
and the code compiled fine.

-- 
 under work: Sofia-SIP at http://sofia-sip.sf.net


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] sofia-sip-1.12.5 Compile failure on win32, VC 6

2007-03-06 Thread Kai Vehmanen
Hi,

On Mon, 5 Mar 2007, [EMAIL PROTECTED] wrote:

 I'm getting the following compiler errors (and more) when compiling 
 sofia-sip-1.12.5 win32, using Visual C 6:

hmmm, I just pushed a few VC6 specific fixes to our darcs tree, so it 
should compile again (will be in 1.12.6, but you can get the latest tree 
already now with darcs get http://sofia-sip.org/repos/sofia-sip;). I'm 
not entirely sure whether 1.12.5 has these same issues (it probably does).

 C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(82)
  : error C2065: 'msg_error_hash' : undeclared identifier

 C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(82)
  : error C2099: initializer is not a constant

 C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(82)
  : error C2065: 'msg_error_d' : undeclared identifier


Hmm, this is from 1.12.4, not 1.12.5...? :o Anyways, these look different 
from the errors I fixed today. Have you run 
sofia-sip\win32\autogen.cmd before building?

-- 
  under work: Sofia-SIP at http://sofia-sip.sf.net

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] sofia-sip-1.12.5 Compile failure on win32, VC 6

2007-03-06 Thread brian_moody
I tried it on 1.12.4 and 1.12.5 and got the same errors.  I ran 
sofia-sip\win32\autogen.cmd before hand.  I did have to edit 
build_sources.cmd because I was using gawk 3.1.3 (as the comment in 
build_sources.cmd directs you to do).  I'll try your latest code and report 
back.


-Original Message-
From: Kai Vehmanen [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 06, 2007 9:17 AM
To: [EMAIL PROTECTED]
Cc: sofia-sip-devel@lists.sourceforge.net
Subject: Re: [Sofia-sip-devel] sofia-sip-1.12.5 Compile failure on win32, VC 6

Hi,

On Mon, 5 Mar 2007, [EMAIL PROTECTED] wrote:

 I'm getting the following compiler errors (and more) when compiling 
 sofia-sip-1.12.5 win32, using Visual C 6:

hmmm, I just pushed a few VC6 specific fixes to our darcs tree, so it 
should compile again (will be in 1.12.6, but you can get the latest tree 
already now with darcs get http://sofia-sip.org/repos/sofia-sip;). I'm 
not entirely sure whether 1.12.5 has these same issues (it probably does).

 C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(82)
  : error C2065: 'msg_error_hash' : undeclared identifier

 C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(82)
  : error C2099: initializer is not a constant

 C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(82)
  : error C2065: 'msg_error_d' : undeclared identifier


Hmm, this is from 1.12.4, not 1.12.5...? :o Anyways, these look different 
from the errors I fixed today. Have you run 
sofia-sip\win32\autogen.cmd before building?

-- 
  under work: Sofia-SIP at http://sofia-sip.sf.net

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] sofia-sip-1.12.5 Compile failure on win32, VC 6

2007-03-06 Thread Kai Vehmanen
Hi,

On 06 March 2007,  [EMAIL PROTECTED] wrote:
I tried it on 1.12.4 and 1.12.5 and got the same errors.  I 
ran sofia-sip\win32\autogen.cmd before hand.  I did have to 
edit build_sources.cmd because I was using gawk 3.1.3 (as the 
comment in build_sources.cmd directs you to do).  I'll try 
your latest code and report back.

aa, ok -- you could also try with mawk. Your error hints at a problem
with the autogenerated header files, so it could be an issue with
the version of gawk you are using. You can get mawk from:

http://gnuwin32.sourceforge.net/packages/mawk.htm

I've tested our current code with both gawk-3.1.5 and mawk-1.3.3,
and the code compiled fine.

-- 
 under work: Sofia-SIP at http://sofia-sip.sf.net


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] sofia-sip-1.12.5 Compile failure on win32, VC 6

2007-03-06 Thread Michael Jerris
Also, we use http://www.freeswitch.org/downloads/win32/gawk.exe on
freeswitch, and it seems to work fine.

Mike


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:sofia-sip-
 [EMAIL PROTECTED] On Behalf Of Kai Vehmanen
 Sent: Tuesday, March 06, 2007 11:49 AM
 To: [EMAIL PROTECTED]
 Cc: sofia-sip-devel@lists.sourceforge.net
 Subject: Re: [Sofia-sip-devel] sofia-sip-1.12.5 Compile failure on
 win32,VC 6
 
 Hi,
 
 On 06 March 2007,  [EMAIL PROTECTED] wrote:
 I tried it on 1.12.4 and 1.12.5 and got the same errors.  I
 ran sofia-sip\win32\autogen.cmd before hand.  I did have to
 edit build_sources.cmd because I was using gawk 3.1.3 (as the
 comment in build_sources.cmd directs you to do).  I'll try
 your latest code and report back.
 
 aa, ok -- you could also try with mawk. Your error hints at a problem
 with the autogenerated header files, so it could be an issue with
 the version of gawk you are using. You can get mawk from:
 
 http://gnuwin32.sourceforge.net/packages/mawk.htm
 
 I've tested our current code with both gawk-3.1.5 and mawk-1.3.3,
 and the code compiled fine.
 
 --
  under work: Sofia-SIP at http://sofia-sip.sf.net
 
 


-
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to
share
 your
 opinions on IT  business topics through brief surveys-and earn cash

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE
V
 ___
 Sofia-sip-devel mailing list
 Sofia-sip-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


[Sofia-sip-devel] sofia-sip-1.12.5 Compile failure on win32, VC 6

2007-03-05 Thread brian_moody
I'm getting the following compiler errors (and more) when compiling 
sofia-sip-1.12.5 win32, using Visual C 6:

 

C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(82)
 : error C2065: 'msg_error_hash' : undeclared identifier

C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(82)
 : error C2099: initializer is not a constant

C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(82)
 : error C2065: 'msg_error_d' : undeclared identifier

C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(82)
 : error C2099: initializer is not a constant

C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(82)
 : error C2065: 'msg_error_e' : undeclared identifier

C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(82)
 : error C2099: initializer is not a constant

C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(82)
 : warning C4047: 'initializing' : 'int ' differs in levels of indirection from 
'unsigned int (__cdecl *)(const union msg_header_u *,unsigned int )'

C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(82)
 : warning C4047: 'initializing' : '__int32 (__cdecl *)(struct su_home_s 
*,union msg_header_u *,char *,unsigned int )' differs in levels of indirection f

rom 'char *(__cdecl *)(union msg_header_u *,const union msg_header_u *,char 
*,unsigned int )'

C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(82)
 : warning C4047: 'initializing' : 'unsigned int (__cdecl *)(const union 
msg_header_u *,unsigned int )' differs in levels of indirection from 'char [1]'

C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(82)
 : warning C4047: 'initializing' : 'int (__cdecl *)(struct msg_common_s *,const 
char *,unsigned int ,const char *)' differs in levels of indirection from

 'char [1]'

C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(82)
 : warning C4047: 'initializing' : 'const char *' differs in levels of 
indirection from 'const unsigned int '

C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(85)
 : error C2373: 'msg_error_d' : redefinition; different type modifiers

C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(90)
 : error C2373: 'msg_error_e' : redefinition; different type modifiers

C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(129)
 : error C2065: 'msg_unknown_hash' : undeclared identifier

C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(129)
 : error C2099: initializer is not a constant

C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(129)
 : error C2065: 'msg_unknown_d' : undeclared identifier

C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(129)
 : error C2099: initializer is not a constant

C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(129)
 : error C2065: 'msg_unknown_e' : undeclared identifier

C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(129)
 : error C2099: initializer is not a constant

C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(129)
 : warning C4047: 'initializing' : 'int ' differs in levels of indirection from 
'unsigned int (__cdecl *)(const union msg_header_u *,unsigned int )'

C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(129)
 : warning C4047: 'initializing' : '__int32 (__cdecl *)(struct su_home_s 
*,union msg_header_u *,char *,unsigned int )' differs in levels of indirection 

from 'char *(__cdecl *)(union msg_header_u *,const union msg_header_u *,char 
*,unsigned int )'

C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(129)
 : warning C4047: 'initializing' : 'unsigned int (__cdecl *)(const union 
msg_header_u *,unsigned int )' differs in levels of indirection from 'char [1]'

C:\downloads\sofia-sip\sofia-sip-1.12.4.tar\sofia-sip-1.12.4\libsofia-sip-ua\msg\msg_basic.c(129)
 : warning C4047: 'initializing' : 'int (__cdecl *)(struct msg_common_s *,const 
char *,unsigned int ,const char *)' differs in levels of indirection fro

m 'char [1]'

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash