Re: [Sofia-sip-devel] Building sofia-sip with mingw

2009-03-13 Thread Della Betta Filippo
Hi, Hm, wonder what was the reason to drop the extern in first place? What do you mean ? Sorry I don't get it :( generated defining HAVE_GAI_STRERROR to 1 You could have a peek in config.log and see config.log which diagnostics the gcc spews out there. Attached the program that configure

Re: [Sofia-sip-devel] Building sofia-sip with mingw

2009-03-13 Thread Della Betta Filippo
There is also some problems with thread-specific storage in su_uniqueid.c. Currently, I plan to solve the issue with pthread_once, pthread_key and a cleanup function declared with GCC __attribute__((destructor)) on Unix systems. I plan to call the destructor fucntion from a DllMain() function in

Re: [Sofia-sip-devel] Building sofia-sip with mingw

2009-03-13 Thread Pekka Pessi
2009/3/13 Della Betta Filippo filippo.dellabe...@telecomitalia.it: Hm, wonder what was the reason to drop the extern in first place? What do you mean ? Sorry I don't get it :( At some point in Sofia history, there was extern there. But it has been removed, and I wonder (aloud) why. generated

Re: [Sofia-sip-devel] Building sofia-sip with mingw

2009-03-11 Thread Jonas Jalminger
-Original Message- From: Jonas Jalminger [mailto:jo...@jalminger.com] Sent: venerdì 6 marzo 2009 14.56 To: Pekka Pessi Cc: sofia-sip-devel@lists.sourceforge.net Subject: Re: [Sofia-sip-devel] Building sofia-sip with mingw Dear Pekka and Kai, Thanks for your replies. I did what Kai

Re: [Sofia-sip-devel] Building sofia-sip with mingw

2009-03-11 Thread Jonas Jalminger
-Original Message- From: Jonas Jalminger [mailto:jo...@jalminger.com] Sent: venerdì 6 marzo 2009 14.56 To: Pekka Pessi Cc: sofia-sip-devel@lists.sourceforge.net Subject: Re: [Sofia-sip-devel] Building sofia-sip with mingw Dear Pekka and Kai, Thanks for your replies. I did what Kai suggested

[Sofia-sip-devel] Building sofia-sip with mingw

2009-03-06 Thread Jonas Jalminger
Dear All, Building sofia-sip on Windows using mingw/msys is hard. I have not seen too many posts regarding this so I will share my experience so far. I started by doing an autreconf in the top directory. Trying configure gave the following problem: ./configure: line 16805: syntax error near

Re: [Sofia-sip-devel] Building sofia-sip with mingw

2009-03-06 Thread Pekka Pessi
2009/3/6 Jonas Jalminger jo...@jalminger.com: Building sofia-sip on Windows using mingw/msys is hard. I have not seen too many posts regarding this so I will share my experience so far. Thanks for sharing. I started by doing an autreconf in the top directory. I'm afraid that this is a

Re: [Sofia-sip-devel] Building sofia-sip with mingw

2009-03-06 Thread Jonas Jalminger
Dear Pekka and Kai, Thanks for your replies. I did what Kai suggested and used the latest release tarball (1.12.10). It does not complain about any PKG_CHECK_MODULE. In the config.log I can see the following: It fails when checking for iphlpapi.h as the winbase.h include gives a syntax error