From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: Anyone building Emacs trunk with MinGW w64 (32 bits) Date: Tue, 26 Mar 2013 12:48:37 +0100 Message-ID: <87k3oubcve.fsf@wanadoo.es> References: <87zjxumbjf.fsf@wanadoo.es> <83vc8f1t0x.fsf@gnu.org> <87sj3jcr6t.fsf@wanadoo.es> <86zjxrs4jm.fsf@gmail.com> <87k3ovcn1r.fsf@wanadoo.es> <87fvzjcles.fsf@wanadoo.es> <83boa71a0u.fsf@gnu.org> <8738vjcgli.fsf@wanadoo.es> <834nfz16cy.fsf@gnu.org> <83wqsuzhxg.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1364298538 12659 80.91.229.3 (26 Mar 2013 11:48:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Mar 2013 11:48:58 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 26 12:49:25 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UKSNY-0005Fv-5a for ged-emacs-devel@m.gmane.org; Tue, 26 Mar 2013 12:49:24 +0100 Original-Received: from localhost ([::1]:40598 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKSNA-0002wk-A4 for ged-emacs-devel@m.gmane.org; Tue, 26 Mar 2013 07:49:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53963) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKSN5-0002wZ-9J for emacs-devel@gnu.org; Tue, 26 Mar 2013 07:48:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKSN3-0002Cy-De for emacs-devel@gnu.org; Tue, 26 Mar 2013 07:48:55 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:60120) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKSN3-0002Cr-41 for emacs-devel@gnu.org; Tue, 26 Mar 2013 07:48:53 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UKSNO-0004y9-0r for emacs-devel@gnu.org; Tue, 26 Mar 2013 12:49:14 +0100 Original-Received: from 87.red-88-15-56.dynamicip.rima-tde.net ([88.15.56.87]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 Mar 2013 12:49:14 +0100 Original-Received: from ofv by 87.red-88-15-56.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 Mar 2013 12:49:14 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 103 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 87.red-88-15-56.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:2/iOu9zPOqv9ofQzN4rIM4pum4s= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:158199 Archived-At: Eli Zaretskii writes: > I installed a few more changes on the trunk, please see if there are > any issues left with the 32-bit MinGW64 build. Fails in w32.c. This is the full output, not only the errors as in past reports. I've seen the warnings about _WIN32_WINNT, _ANONYMOUS_UNION etc before your changes. gcc -I. -c -gdwarf-2 -g3 -mtune=pentium4 -O2 -isystemc:/apps/GnuWin32/includ e -Demacs=1 -I../lib -I../nt/inc -DUSE_CRT_DLL=1 -DPURESIZE=5000000 -o oo-spd/i3 86/w32.o w32.c In file included from w32.c:32:0: ../nt/inc/sys/time.h:27:45: warning: 'struct timeval' declared inside parameter list [enabled by default] ../nt/inc/sys/time.h:27:45: warning: its scope is only this definition or declar ation, which is probably not what you want [enabled by default] ../nt/inc/sys/time.h:34:19: error: field 'it_interval' has incomplete type ../nt/inc/sys/time.h:35:19: error: field 'it_value' has incomplete type In file included from w32.c:35:0: c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w6 4-mingw32/include/time.h:260:8: error: redefinition of 'struct timezone' In file included from w32.c:32:0: ../nt/inc/sys/time.h:20:8: note: originally defined here In file included from ./conf_post.h:32:0, from ./config.h:1726, from w32.c:39: ../nt/inc/ms-w32.h:134:0: warning: "_WIN32_WINNT" redefined [enabled by default] In file included from c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7 .2/../../../../i686-w64-mingw32/include/crtdefs.h:10:0, from c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7 .2/../../../../i686-w64-mingw32/include/stddef.h:7, from c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7 .2/include/stddef.h:1, from w32.c:22: c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w6 4-mingw32/include/_mingw.h:252:0: note: this is the location of the previous def inition w32.c:73:0: warning: "_ANONYMOUS_UNION" redefined [enabled by default] In file included from c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7 .2/../../../../i686-w64-mingw32/include/crtdefs.h:10:0, from c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7 .2/../../../../i686-w64-mingw32/include/stddef.h:7, from c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7 .2/include/stddef.h:1, from w32.c:22: c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w6 4-mingw32/include/_mingw.h:575:0: note: this is the location of the previous def inition w32.c:74:0: warning: "_ANONYMOUS_STRUCT" redefined [enabled by default] In file included from c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7 .2/../../../../i686-w64-mingw32/include/crtdefs.h:10:0, from c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7 .2/../../../../i686-w64-mingw32/include/stddef.h:7, from c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7 .2/include/stddef.h:1, from w32.c:22: c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w6 4-mingw32/include/_mingw.h:576:0: note: this is the location of the previous def inition w32.c:103:16: error: redefinition of 'struct _PROCESS_MEMORY_COUNTERS_EX' In file included from w32.c:95:0: c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w6 4-mingw32/include/psapi.h:84:18: note: originally defined here w32.c:115:3: error: conflicting types for 'PROCESS_MEMORY_COUNTERS_EX' In file included from w32.c:95:0: c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w6 4-mingw32/include/psapi.h:96:5: note: previous declaration of 'PROCESS_MEMORY_CO UNTERS_EX' was here w32.c:115:31: error: conflicting types for 'PPROCESS_MEMORY_COUNTERS_EX' In file included from w32.c:95:0: c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w6 4-mingw32/include/psapi.h:97:39: note: previous declaration of 'PPROCESS_MEMORY_ COUNTERS_EX' was here w32.c:2392:1: error: conflicting types for 'gettimeofday' In file included from w32.c:32:0: ../nt/inc/sys/time.h:27:6: note: previous declaration of 'gettimeofday' was here w32.c:3216:1: warning: 'sys_chmod' redeclared without dllimport attribute: previ ous dllimport ignored [-Wattributes] w32.c: In function 'readlink': w32.c:4725:7: error: unknown type name 'REPARSE_DATA_BUFFER' w32.c:4725:44: error: 'REPARSE_DATA_BUFFER' undeclared (first use in this functi on) w32.c:4725:44: note: each undeclared identifier is reported only once for each f unction it appears in w32.c:4725:65: error: expected expression before ')' token w32.c:4732:28: error: request for member 'ReparseTag' in something not a structu re or union w32.c:4743:18: error: request for member 'SymbolicLinkReparseBuffer' in somethin g not a structure or union w32.c:4745:18: error: request for member 'SymbolicLinkReparseBuffer' in somethin g not a structure or union w32.c:4746:20: error: request for member 'SymbolicLinkReparseBuffer' in somethin g not a structure or union mingw32-make[3]: *** [oo-spd/i386/w32.o] Error 1 mingw32-make[3]: Leaving directory `D:/dev/emacs/emacs/src' mingw32-make[2]: *** [bootstrap-temacs-SH] Error 2 mingw32-make[2]: Leaving directory `D:/dev/emacs/emacs/src' mingw32-make[1]: *** [bootstrap-temacs] Error 2 mingw32-make[1]: Leaving directory `D:/dev/emacs/emacs/src' mingw32-make: *** [bootstrap-gmake] Error 2