[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] Windows mingw build of current git

From: Angelo
Subject: Re: [Linphone-developers] Windows mingw build of current git
Date: Fri, 27 Dec 2013 17:34:12 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

On 12/27/2013 7:44 AM, Quinn Storm wrote:

I've been working on extending linphone for a project we are working on, and have gotten to thepoint of needing to do a windows build.  Unfortunately i am having a little trouble.

Hi Quinn I'm having problems as well with building linphone on windows with mingw

Depending on the version Iuse I get different errors.
Which version are you working on?
I would be very curious to see the exact errors, that you got, just to see if they're the same.

DId you try to follow the instructions in README.mingw.
They suggest to NOT try to build some of the libraries, that linphone depends on, but to download the
linphone-deps, which is supposed to contain precompiled versions of the 'most difficult to compile libraries'

With the git head 9938815efff6f5f2385730f857cb008ed0c39c9c from 12/20 I get following error:
linphonecore.h:36:28: fatal error: belle-sip/dict.h: No such file or directory
 #include <belle-sip/dict.h>

With a tagged version (I took the most recenttagged  one, which is 3.6.99)
I got another error:
  CC     sal_op_call.lo
  CC     sal_op_registration.lo
bellesip_sal/sal_op_registration.c: In function 'sal_register':
bellesip_sal/sal_op_registration.c:92:2: error: passing argument 4 of
nd_and_create_refresher' from incompatible pointer type [-Werror]
In file included from bellesip_sal/sal_op_registration.c:19:0:
bellesip_sal/sal_impl.h:119:5: note: expected
'belle_sip_refresher_listener_t' b
ut argument is of type 'void (*)(const struct belle_sip_refresher_t *,
void *, u
nsigned int,  const char *)'
 int sal_op_send_and_create_refresher(SalOp* op,belle_sip_request_t*
req, int ex
pires,belle_sip_refresher_listener_t listener );
cc1.exe: all warnings being treated as errors
make[4]: *** [sal_op_registration.lo] Error 1

libantlr3c does not by default build a dll
Attempting to hack its build script to do so has caused it to fail to link needing winsock symbols.
Attempting to build belle-sip static works, but then linphone won't get through the mediastreamer build as it has to be told to build statictoo, mediastreamer bailing on missing libstdc++ symbols.
Attempting to build belle-sip dynamic fails because of no libantlr3c dll.

I can get you specific errors but I think this is fairly clear.  The errors where it is demanding a missing dll are very clear, libtool complaining it can only find the static version and spewing missing symbols; the error in mediastreamer has no complaint but the build for it clearly isn't correct for building static, as it fails to link properly against libstdc++ and possibly other libs (symbols like new are missing).  The issue building libantlr3c dynamic is equally clear, the missing symbol list being very specifically all socket symbols.  The configure/libtool alterations to build dynamic turn off allow-undefined, which is likely why this happens.

Any suggestions?  At this point i'm happy to go with whatever recent version of things builds properly too, this has held me up for two weeks scratchig y head and hacking at build scripts.  My modifications are only in the linphone core, so even a prebuilt antlr/belle-sip would allow me to continue.  My target is win32 for this build, and on linux i've been using the debian source package.


Linphone-developers mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]