Struggling with compilation of pidgin for windows

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


I followed the instructions here:

http://developer.pidgin.im/wiki/BuildingWinPidgin

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; \
        fi
[ -f package_revision.h ] || echo "#define REVISION \"unknown\"" > package_revis
ion.h
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; \
        done;
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 -
DGG_IGNORE_DEPRECATED -DHAVE_CYRUS_SASL -DHAVE_CONFIG_H -DWIN32_LEAN_AND_MEAN -I
. -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
e/protocols/gg'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/cygdrive/c/devel/pidgin-devel/pidgin-2.7.1/libpurpl
e/protocols'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/cygdrive/c/devel/pidgin-devel/pidgin-2.7.1/libpurpl
e'
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
/cygdrive/c/devel/pidgin-devel/win32-dev/mingw/bin/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
April

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pidgin.im/pipermail/support/attachments/20101020/b2642b87/attachment-0001.htm>


More information about the Support mailing list