Cross-compiling from Linux to Windows
Daniel Atallah
daniel.atallah at gmail.com
Sun Feb 16 11:32:49 EST 2014
On Sat, Feb 15, 2014 at 9:37 AM, Timm Bla <tymmm1 at gmail.com> wrote:
> Thank you,
>
> that made a lot clearer.
>
> Unfortunately now I'm not able to build Pidgin for Windows.
> The cross-compilation process fails when trying to link libgg.dll.
>
> »/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/libssp.a(ssp.o):(.text+0x100):
> multiple definition of `___stack_chk_fail'
> ../../../libpurple/libpurple.dll.a(d000002.o):(.text+0x0): first defined
> here
> collect2: ld returned 1 exit status«
>
> See here for the full log: http://pastebin.com/TcQw5w3p
>
It looks like libssp has been statically linked into libpurple.dll, which
is subsequently causing confusion when trying to link libgg.
You're using an old version of gcc - it's possible that version does static
linking of libssp by default - newer versions do not appear to (and the
released build, which is made with gcc 4.7.2, links to libssp dynamically).
-D
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pidgin.im/pipermail/devel/attachments/20140216/fb4facd3/attachment.html>
More information about the Devel
mailing list