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

2009-03-13 Thread Pekka Pessi
2009/3/13 Della Betta Filippo : >>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 defining HAVE_GAI_STRERROR to

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

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-12 Thread Pekka Pessi
2009/3/11 Della Betta Filippo : > Dear Jonas, all > if you want to compile the latest version win mingw I found the following: > 1) to overcome the PKG_CHECK_MODULE problem, you need to install pkg-config > (see http://www.mingw.org/wiki/FAQ - How do I get pkg-config installed? -) > 2) I noticed t

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

2009-03-11 Thread Jonas Jalminger
-I and -L syntax with $(top_srcdir). I overcome this issue I put the >> full path of pthread dir (i.e. -I/home/Administrator/sofia-sip/win32/pthread >> and -L/home/Administrator/sofia-sip/win32/pthread) in sac-general.m4 >> >> Hope that helps, >> Regards, >> Filippo &g

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

2009-03-11 Thread Jonas Jalminger
dministrator/sofia-sip/win32/pthread) in sac-general.m4 > > Hope that helps, > Regards, > Filippo > > -Original Message- > From: Jonas Jalminger [mailto:jo...@jalminger.com] > Sent: venerdì 6 marzo 2009 14.56 > To: Pekka Pessi > Cc: sofia-sip-devel@lists.source

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

2009-03-11 Thread Della Betta Filippo
pthread) in sac-general.m4 Hope that helps, Regards, Filippo -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 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 o

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

2009-03-06 Thread Kai.Vehmanen
Hi, On 06 March 2009, Jonas Jalminger wrote: >I started by doing an autreconf in the top directory. Trying configure >gave the following problem: it might be a good idea to first try compiling a release tarball. This way you avoid a whole bunch of possible problems with autotool versions (relea

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

2009-03-06 Thread Pekka Pessi
2009/3/6 Jonas Jalminger : > 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 mistake. autoconf and a

[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 un