On 12/27/2013 7:44 AM, Quinn Storm
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
With a tagged version (I took the most recenttagged one, which is
I got another error:
bellesip_sal/sal_op_registration.c: In function 'sal_register':
bellesip_sal/sal_op_registration.c:92:2: error: passing argument
nd_and_create_refresher' from incompatible pointer type
In file included from bellesip_sal/sal_op_registration.c:19:0:
bellesip_sal/sal_impl.h:119:5: note: expected
ut argument is of type 'void (*)(const struct
void *, u
nsigned int, const char *)'
req, int ex
pires,belle_sip_refresher_listener_t listener );
cc1.exe: all warnings being treated as errors
make: *** [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++
Attempting to build belle-sip dynamic fails because of no
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