Struggling with compilation of pidgin for windows

Kontostathis, April akontostathis at
Wed Oct 20 17:44:31 EDT 2010

I followed the instructions here:

Which was non-trivial because the mingw links all take me to some high level directory that I needed to drill into to find what I thought was the right file to download/install/use.  My current directory structure appears to be correct, but when I try to compile, I get:

$ make -f Makefile.mingw install
(cd . && mtn --root=. automate get_base_revision_id) 2>/dev/null >package_revisi
on_raw.txt \
        || rm -f package_revision_raw.txt
if [ -f package_revision_raw.txt ]; then \
                sed 's/^\(.\{1,\}\)$/#define REVISION "\1"/' package_revision_ra
w.txt > package_revision.h; \
[ -f package_revision.h ] || echo "#define REVISION \"unknown\"" > package_revis
make -C ./libpurple -f Makefile.mingw
make[1]: Entering directory `/cygdrive/c/devel/pidgin-devel/pidgin-2.7.1/libpurple'
gcc.exe -shared account.o accountopt.o blist.o buddyicon.o certificate.o cipher.
o circbuffer.o cmds.o connection.o conversation.o core.o debug.o dnsquery.o dnss
rv.o eventloop.o ft.o idle.o imgstore.o log.o mediamanager.o media.o mime.o nat-
pmp.o network.o notify.o ntlm.o plugin.o pluginpref.o pounce.o prefs.o privacy.o
 proxy.o prpl.o request.o roomlist.o savedstatuses.o server.o signals.o smiley.o
 sound-theme-loader.o sound-theme.o sound.o sslconn.o status.o stringref.o stun.
o theme-loader.o theme-manager.o theme.o upnp.o util.o value.o version.o whitebo
ard.o xmlnode.o win32/giowin32.o win32/libc_interface.o win32/win32dep.o win32/l
ibpurplerc.o -L../../win32-dev/gtk_2_0-2.14/lib -L../../win32-dev/libxml2-2.7.4/
lib -lglib-2.0 -lgthread-2.0 -lgobject-2.0 -lgmodule-2.0 -lintl -lws2_32 -lxml2
-Wl,--enable-auto-image-base -Wl,--output-def,libpurple.def,--out-implib,libpurp
le.dll.a -o libpurple.dll
Creating library file: libpurple.dll.a
make -C ../libpurple/protocols -f Makefile.mingw
make[2]: Entering directory `/cygdrive/c/devel/pidgin-devel/pidgin-2.7.1/libpurple/protocols'
for subdir in gg irc jabber msn mxit novell null oscar qq sametime silc simple yahoo bonjour myspace; do \
                make -C $subdir -f Makefile.mingw || exit 1; \
make[3]: Entering directory `/cygdrive/c/devel/pidgin-devel/pidgin-2.7.1/libpurple/protocols/gg'
gcc.exe -O2 -Wall -Waggregate-return -Wcast-align -Wdeclaration-after-statement
-Werror-implicit-function-declaration -Wextra -Wno-sign-compare -Wno-unused-para
meter -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -
Wpointer-arith -Wundef -pipe -mno-cygwin -mms-bitfields -g -include win32dep.h -
. -I./lib -I../../../../win32-dev/gtk_2_0-2.14/include -I../../../../win32-dev/g
tk_2_0-2.14/include/glib-2.0 -I../../../../win32-dev/gtk_2_0-2.14/lib/glib-2.0/i
nclude -I../../../libpurple -I../../../libpurple/win32 -I../../.. -o lib/common.
o -c lib/common.c
make[3]: *** [lib/common.o] Error 1
make[3]: Leaving directory `/cygdrive/c/devel/pidgin-devel/pidgin-2.7.1/libpurpl
make[2]: *** [all] Error 1
make[2]: Leaving directory `/cygdrive/c/devel/pidgin-devel/pidgin-2.7.1/libpurpl
make[1]: *** [all] Error 2
make[1]: Leaving directory `/cygdrive/c/devel/pidgin-devel/pidgin-2.7.1/libpurpl
make: *** [all] Error 2

Some of the commands have wrapped due to windows copy/paste.

Further investigation revealed that just trying to compile something with gcc.exe (which is currently pointing to)
$ which gcc.exe

Gets completely ignored (no errors, no compilation output either).   However, the libpurple.dll was created and if I reset my path to use the cygwin gcc (from /usr/bin) I can get it to compile, but it dies further down the road (probably when it tries to make a dll).

Any insight would be appreciated.

Thank you

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Support mailing list