Re: Cross compile errors with i686-w64-mingw32

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 28.07.2014 19:19, Mario Reichel wrote:
> After this i tried to compile gtk+ 3.13.5 with ./configure 
> --host=i686-w64-mingw32 --prefix=/home/mario/build32 and environment 
> variables CC, CXX und PKG_CONFIG_LIBDIR set.
> 
> On make i get the following and many more (error logfile is nearly 500kb)
> 
> In file included from 
> /home/mario/build32/include/glib-2.0/glib/glist.h:32:0, from
> /home/mario/build32/include/glib-2.0/glib/ghash.h:33, from
> /home/mario/build32/include/glib-2.0/glib.h:50, from
> extract-strings.c:18: /home/mario/build32/include/glib-2.0/glib/gmem.h: In
> function ‘__declspec’: 
> /home/mario/build32/include/glib-2.0/glib/gmem.h:293:10: error: expected 
> ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘GMemVTable’ GLIB_VAR
> GMemVTable *glib_mem_profiler_table; ^

Try `make V=1 -j1`, dump output into a file, inspect the file, find the gcc
invocation that failed, copy it, cd into the build directory where the
failure occurred (i.e. where extract-strings is being built), paste the gcc
invocation command, edit it by adding a '-E' flag and changing the output
filename to something else (instead of .o or whatever it is), then look at
the output file. It will contain preprocessed source code. Look for
glib_mem_profiler_table declaration, see what happened to it after preprocessing.


- -- 
O< ascii ribbon - stop html email! - www.asciiribbon.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)

iQEcBAEBAgAGBQJT1nF/AAoJEOs4Jb6SI2Cw8p0H/0QBvISW0MhBawTE1uHIYd0C
8MX2ynxa3jYjOS1WwjzFUltEmLlvnU5EW47d0bwrGqQXNOZJ/3FH5Rj9UBLa/gAk
rDkg9AvSIOs4i8crxxPRlL/agYbAb6fSFSCpjIoKXNaKVn3+8IZhkpXiW1gCiTX0
HnicvsxlDnV6Pk7P/w+SYMP1XGzANzGl5JWJdpUSNpZ5mwsKNzkXFOCvjW/FaOqr
oC/pQWr5o/9u9RzYCzgmrTESH+C6r/fp8HXIXLBnOizPaNgRLdBugNI1xb44RoyL
AB3C02z+Cq9fmsGQLJOR/lBQlgWmTrNXngjtIy9rI/ZA5+p3tJK9nd1FHPjKmZc=
=7e3q
-----END PGP SIGNATURE-----
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list





[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux