I'm compiling glib 2.40.0 on windows 7 32bits with mingw32. I get some errors in the
"make" stage...the errors I get are:
make all-recursive
make[1]: Entering directory `/c/users/Doudieu/Desktop/Gtk windows/glib-2.40.0'
Making all in .
make[2]: Entering directory `/c/users/Doudieu/Desktop/Gtk windows/glib-2.40.0'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving
directory `/c/users/Doudieu/Desktop/Gtk windows/glib-2.40.0'
Making all in m4macros
make[2]: Entering directory `/c/users/Doudieu/Desktop/Gtk windows/glib-2.40.0/m4macros'
make all-am
make[3]: Entering directory `/c/users/Doudieu/Desktop/Gtk windows/glib-2.40.0/m4macros'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/c/users/Doudieu/Desktop/Gtk windows/glib-2.40.0/m4macros'
make[2]: Leaving directory `/c/users/Doudieu/Desktop/Gtk windows/glib-2.40.0/m4macros'
Making
all in glib
make[2]: Entering directory `/c/users/Doudieu/Desktop/Gtk windows/glib-2.40.0/glib'
make all-recursive
make[3]: Entering directory `/c/users/Doudieu/Desktop/Gtk windows/glib-2.40.0/glib'
Making all in libcharset
make[4]: Entering directory `/c/users/Doudieu/Desktop/Gtk windows/glib-2.40.0/glib/libcharset'
make all-am
make[5]: Entering directory `/c/users/Doudieu/Desktop/Gtk windows/glib-2.40.0/glib/libcharset'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/c/users/Doudieu/Desktop/Gtk windows/glib-2.40.0/glib/libcharset'
make[4]: Leaving directory `/c/users/Doudieu/Desktop/Gtk windows/glib-2.40.0/glib/libcharset'
Making all in gnulib
make[4]: Entering directory `/c/users/Doudieu/Desktop/Gtk windows/glib-2.40.0/glib/gnulib'
make all-am
make[5]: Entering directory `/c/users/Doudieu/Desktop/Gtk windows/glib-2.40.0/glib/gnulib'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/c/users/Doudieu/Desktop/Gtk
windows/glib-2.40.0/glib/gnulib'
make[4]: Leaving directory `/c/users/Doudieu/Desktop/Gtk windows/glib-2.40.0/glib/gnulib'
Making all in pcre
make[4]: Entering directory `/c/users/Doudieu/Desktop/Gtk windows/glib-2.40.0/glib/pcre'
make all-am
make[5]: Entering directory `/c/users/Doudieu/Desktop/Gtk windows/glib-2.40.0/glib/pcre'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/c/users/Doudieu/Desktop/Gtk windows/glib-2.40.0/glib/pcre'
make[4]: Leaving directory
`/c/users/Doudieu/Desktop/Gtk windows/glib-2.40.0/glib/pcre'
Making all in update-pcre
make[4]: Entering directory `/c/users/Doudieu/Desktop/Gtk windows/glib-2.40.0/glib/update-pcre'
make all-am
make[5]: Entering directory `/c/users/Doudieu/Desktop/Gtk windows/glib-2.40.0/glib/update-pcre'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/c/users/Doudieu/Desktop/Gtk windows/glib-2.40.0/glib/update-pcre'
make[4]: Leaving directory `/c/users/Doudieu/Desktop/Gtk windows/glib-2.40.0/glib/update-pcre'
Making all in .
make[4]: Entering directory `/c/users/Doudieu/Desktop/Gtk windows/glib-2.40.0/glib'
CC libglib_2_0_la-gatomic.lo
gatomic.c: In function '_gInterlockedAnd':
gatomic.c:484:5: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
In file included from c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/windows.h:50:0,
from gatomic.c:465:
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/winbase.h:1844:13: note: expected 'volatile LONG *' but argument is of type 'volatile guint *'
gatomic.c: At top level:
gatomic.c:489:0: warning: "InterlockedAnd" redefined [enabled by default]
gatomic.c:467:0: note: this is the location of the previous definition
gatomic.c: In function '_gInterlockedOr':
gatomic.c:499:5: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
In file included from c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/windows.h:50:0,
from gatomic.c:465:
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/winbase.h:1844:13: note: expected 'volatile LONG *' but argument is of type 'volatile guint *'
gatomic.c: At top level:
gatomic.c:504:0: warning: "InterlockedOr" redefined [enabled by default]
gatomic.c:468:0: note: this is the location of the previous definition
gatomic.c: In function '_gInterlockedXor':
gatomic.c:514:5: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by
default]
In file included from c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/windows.h:50:0,
from gatomic.c:465:
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/winbase.h:1844:13: note: expected 'volatile LONG *' but argument is of type 'volatile guint *'
gatomic.c: At top level:
gatomic.c:519:0: warning: "InterlockedXor" redefined [enabled by default]
gatomic.c:469:0: note: this is the location of the previous definition
gatomic.c: In function
'g_atomic_int_get':
gatomic.c:528:3: error: implicit declaration of function 'MemoryBarrier' [-Werror=implicit-function-declaration]
gatomic.c: In function 'g_atomic_int_inc':
gatomic.c:543:3: warning: passing argument 1 of 'InterlockedIncrement' from incompatible pointer type [enabled by default]
In file included from c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/windows.h:50:0,
from gatomic.c:465:
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/winbase.h:1857:13: note: expected 'volatile LONG *' but argument is of type
'volatile gint *'
gatomic.c: In function 'g_atomic_int_dec_and_test':
gatomic.c:549:3: warning: passing argument 1 of 'InterlockedDecrement' from incompatible pointer type [enabled by default]
In file included from c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/windows.h:50:0,
from gatomic.c:465:
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/winbase.h:1848:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint *'
gatomic.c: In function 'g_atomic_int_compare_and_exchange':
gatomic.c:557:3: warning: passing argument 1 of 'InterlockedCompareExchange' from incompatible pointer type [enabled by default]
In file included from c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/windows.h:50:0,
from gatomic.c:465:
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/winbase.h:1844:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint *'
gatomic.c: In function 'g_atomic_int_add':
gatomic.c:564:3: warning: passing argument 1 of 'InterlockedExchangeAdd' from incompatible pointer type [enabled by default]
In file included from c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/windows.h:50:0,
from gatomic.c:465:
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/winbase.h:1853:13: note: expected 'volatile LONG *' but argument is of type 'volatile gint *'
cc1.exe: some warnings being treated as errors
make[4]: *** [libglib_2_0_la-gatomic.lo] Error 1
make[4]: Leaving directory `/c/users/Doudieu/Desktop/Gtk windows/glib-2.40.0/glib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/c/users/Doudieu/Desktop/Gtk windows/glib-2.40.0/glib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/c/users/Doudieu/Desktop/Gtk windows/glib-2.40.0/glib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/users/Doudieu/Desktop/Gtk windows/glib-2.40.0'
make: *** [all] Error 2
are there some solutions please?