Cross-compiling from Linux to Windows
tymmm1 at gmail.com
Sat Feb 15 09:37:02 EST 2014
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.
multiple definition of `___stack_chk_fail'
../../../libpurple/libpurple.dll.a(d000002.o):(.text+0x0): first defined
collect2: ld returned 1 exit status«
See here for the full log: http://pastebin.com/TcQw5w3p
Same error for both pidgin-2.10.7 and pidgin-2.10.9.
I'm using the win32api of my distribution (Debian Wheezy) since it didn't
compile at all after manually trying to use the most recent version from
the mingw website.
Any ideas are much appreciated.
2014-02-14 17:37 GMT+01:00 Daniel Atallah <daniel.atallah at gmail.com>:
> On Fri, Feb 14, 2014 at 6:22 AM, Timm Bla <tymmm1 at gmail.com> wrote:
>> Hello devel-list,
>> I'm the author of this small pidgin/finch plugin:
>> Until now I only have a precompiled version for 64-bit Linux.
>> Yesterday a user asked me to offer also a precompiled version for Windows
>> I tried to cross-compile it to Windows with mingw for several hours but
>> So far I can get the object file but linking fails (
>> Compiling works and looks like this: http://pastebin.com/Vgv3i44L
> There are a number of things that are wrong
> * you're compiling against your native headers (pkgconfig...) when you
> need to be compiling against the headers for the windows version.
> * even if you were compiling against the right architecture headers,
> you're asking for GTK+ 3.0.0 stuff, which is wrong, it needs to be GTK+2
> You'll need to compile pidgin itself using the instructions at
> https://developer.pidgin.im/wiki/BuildingWinPidgin and then you can
> compile your plugin pretty easily by following the instructions in the FAQ
> for compiling a simple plugin.
>> If someone knows what to do or maybe even has a working environment to
>> compile my plugin to Windows, I would be very grateful.
>> Best, Timm
>> Devel mailing list
>> Devel at pidgin.im
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Devel