Fail to build pidgin with gcc in windows

z zzpidgin at 163.com
Sun Dec 4 09:11:24 EST 2011


Hello:

I fail to build pidgin with gcc in windows.

Environment:
1. Windows 7 Home, 64 bit
2. The MinGW is 4.4.

Below is the output what I saw in cygwin. Could you please give me any suggestion? Thanks in advanced.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------

zhuz at zhuz-PC /cygdrive/d/project/pidgin/pidgin-2.10.0
$ make -f Makefile.mingw
(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/d/project/pidgin/pidgin-2.10.0/libpurple'


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 -DHAVE_CYRUS_SASL -DH
AVE_CONFIG_H -DWIN32_LEAN_AND_MEAN -I../libpurple -I../libpurple/win32 -I.. -I..
/../win32-dev/gtk_2_0-2.14/include -I../../win32-dev/gtk_2_0-2.14/include/glib-2
.0 -I../../win32-dev/gtk_2_0-2.14/lib/glib-2.0/include -I../../win32-dev/libxml2
-2.7.4/include/libxml2 -o account.o -c account.c
gcc: The -mno-cygwin flag has been removed; use a mingw-targeted cross-compiler.




make[1]: *** [account.o] Error 1
make[1]: Leaving directory `/cygdrive/d/project/pidgin/pidgin-2.10.0/libpurple'
make: *** [all] Error 2
---------------------------------------------------------------------------------------------------------------------------------

Thanks

                                                                                                zz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pidgin.im/pipermail/support/attachments/20111204/f9a25bdf/attachment-0002.html>


More information about the Support mailing list