[Sofia-sip-devel] Problem compiling sofia-sip 1.12.10 for MinGW

2010-06-10 Thread Stefano Sabatini
Hi,

see the related thread:
[1] http://thread.gmane.org/gmane.comp.telephony.sofia-sip.devel/3344

I have still the problem with the 64-bit integers, it tells it cannot
handle them, I simply disabled the check in the auto-generated
configure file.

Then I get the error:

su_addrinfo.c:825: error: redefinition of 'gai_strerrorA'
c:\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/ws2tcpip.h:308: note:
previous definition of 'gai_strerrorA' was here
make[4]: *** [su_addrinfo.lo] Error 1
make[4]: Leaving directory `/home/ssabatini/src/reilabs/flash2sip/contrib/sofia-
sip_1_12_10/libsofia-sip-ua/su'
make[3]: *** [all] Error 2

I applied the same workaround suggested in [1], I set
HAVE_GAI_STRERROR to 1 in config.h, but now I get this error:

 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libsofia-sip-ua/su/sofia-sip -Wall
-g -O2 -I../../win32/pthread -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 -DIN_LIBSOFIA
_SIP_UA -DIN_LIBSOFIA_SRES -mms-bitfields -pipe -mno-cygwin -mwindows -mconsole
-Wall -g -O0 -MT su_taglist.lo -MD -MP -MF .deps/su_taglist.Tpo -c su_taglist.c
 -DDLL_EXPORT -DPIC -o .libs/su_taglist.o
su_taglist.c: In function 't_snprintf':
su_taglist.c:153: warning: unknown conversion type character 'l' in format
su_taglist.c:153: warning: too many arguments for format
su_taglist.c: In function 't_size_snprintf':
su_taglist.c:1273: warning: format '%lu' expects type 'long unsigned int', but a
rgument 4 has type 'unsigned int'
su_taglist.c: In function 't_socket_snprintf':
su_taglist.c:1484: error: 'LLI' undeclared (first use in this function)
su_taglist.c:1484: error: (Each undeclared identifier is reported only once
su_taglist.c:1484: error: for each function it appears in.)
make[4]: *** [su_taglist.lo] Error 1

I'd like to know if these problems have been worked out in the current
darcs version, and in general I'd like to know which is the state of
activity / maintainance of the project.

Regards.

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] Problem compiling sofia-sip 1.12.10 for MinGW

2010-06-10 Thread Michael Jerris
I am not sure about mingw builds, but the visual studio build in the freeswitch 
tree tends to build everywhere.  We have a few patches that have not made it 
upstream yet, but should in the near future. in the mean time, feel free to 
pull whaterver you need from our repo.  The build is modified a bit to 
integrate into our tree but it should be easy enough to change the paths for 
that.

Mike

On Jun 10, 2010, at 9:20 AM, Stefano Sabatini wrote:

> Hi,
> 
> see the related thread:
> [1] http://thread.gmane.org/gmane.comp.telephony.sofia-sip.devel/3344
> 
> I have still the problem with the 64-bit integers, it tells it cannot
> handle them, I simply disabled the check in the auto-generated
> configure file.
> 
> Then I get the error:
> 
> su_addrinfo.c:825: error: redefinition of 'gai_strerrorA'
> c:\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/ws2tcpip.h:308: 
> note:
> previous definition of 'gai_strerrorA' was here
> make[4]: *** [su_addrinfo.lo] Error 1
> make[4]: Leaving directory 
> `/home/ssabatini/src/reilabs/flash2sip/contrib/sofia-
> sip_1_12_10/libsofia-sip-ua/su'
> make[3]: *** [all] Error 2
> 
> I applied the same workaround suggested in [1], I set
> HAVE_GAI_STRERROR to 1 in config.h, but now I get this error:
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libsofia-sip-ua/su/sofia-sip -Wall
> -g -O2 -I../../win32/pthread -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 
> -DIN_LIBSOFIA
> _SIP_UA -DIN_LIBSOFIA_SRES -mms-bitfields -pipe -mno-cygwin -mwindows 
> -mconsole
> -Wall -g -O0 -MT su_taglist.lo -MD -MP -MF .deps/su_taglist.Tpo -c 
> su_taglist.c
> -DDLL_EXPORT -DPIC -o .libs/su_taglist.o
> su_taglist.c: In function 't_snprintf':
> su_taglist.c:153: warning: unknown conversion type character 'l' in format
> su_taglist.c:153: warning: too many arguments for format
> su_taglist.c: In function 't_size_snprintf':
> su_taglist.c:1273: warning: format '%lu' expects type 'long unsigned int', 
> but a
> rgument 4 has type 'unsigned int'
> su_taglist.c: In function 't_socket_snprintf':
> su_taglist.c:1484: error: 'LLI' undeclared (first use in this function)
> su_taglist.c:1484: error: (Each undeclared identifier is reported only once
> su_taglist.c:1484: error: for each function it appears in.)
> make[4]: *** [su_taglist.lo] Error 1
> 
> I'd like to know if these problems have been worked out in the current
> darcs version, and in general I'd like to know which is the state of
> activity / maintainance of the project.
> 
> Regards.
> 
> --
> ThinkGeek and WIRED's GeekDad team up for the Ultimate 
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
> lucky parental unit.  See the prize list and enter to win: 
> http://p.sf.net/sfu/thinkgeek-promo
> ___
> Sofia-sip-devel mailing list
> Sofia-sip-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel