linphone-developers
[Top][All Lists]
Advanced

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

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


From: Margaux Clerc
Subject: Re: [Linphone-developers] Windows mingw build of current git
Date: Mon, 30 Dec 2013 10:44:27 +0100

Hi,

For now, compiling linphone android under windows is not officially supported.

Cheers,

--
Margaux CLERC
www.belledonne-communications.com


2013/12/27 Dang Quang Vinh <address@hidden>

Dear Quinn and all,

 

I think it’s great if someone can write a tutorial to build linphone (for Android) in MS Windows environment

 

From: linphone-developers-bounces+dqvinh87=address@hidden [mailto:linphone-developers-bounces+dqvinh87=address@hidden] On Behalf Of Angelo
Sent: Friday, December 27, 2013 5:34 PM
To: address@hidden
Subject: Re: [Linphone-developers] Windows mingw build of current git

 

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
'sal_op_se
nd_and_create_refresher' from incompatible pointer type [-Werror]
  return
sal_op_send_and_create_refresher(op,req,expires,register_refresher_list
ener);
  ^
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.

~Quinn




_______________________________________________
Linphone-developers mailing list

address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers

 




This email is free from viruses and malware because avast! Antivirus protection is active.



_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers



reply via email to

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