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: Mon, 25 Mar 2013 18:41:46 +0100 Message-ID: <87sj3jcr6t.fsf@wanadoo.es> References: <87zjxumbjf.fsf@wanadoo.es> <83vc8f1t0x.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1364233356 2838 80.91.229.3 (25 Mar 2013 17:42:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Mar 2013 17:42:36 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 25 18:43:02 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 1UKBQ8-0000j2-UR for ged-emacs-devel@m.gmane.org; Mon, 25 Mar 2013 18:42:57 +0100 Original-Received: from localhost ([::1]:37285 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKBPl-0003NB-6E for ged-emacs-devel@m.gmane.org; Mon, 25 Mar 2013 13:42:33 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKBPD-0002mx-QT for emacs-devel@gnu.org; Mon, 25 Mar 2013 13:42:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKBPC-0007ig-69 for emacs-devel@gnu.org; Mon, 25 Mar 2013 13:41:59 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:39647) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKBPC-0007ia-0B for emacs-devel@gnu.org; Mon, 25 Mar 2013 13:41:58 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UKBPY-0008DE-0m for emacs-devel@gnu.org; Mon, 25 Mar 2013 18:42:20 +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 ; Mon, 25 Mar 2013 18:42:19 +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 ; Mon, 25 Mar 2013 18:42:19 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 39 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:kHprao665Pw1muvE/7Lr68njiaY= 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:158160 Archived-At: Eli Zaretskii writes: > If you have a few moments to spare, please try again with the latest > trunk, I tried to fix at least these problems, so that Emacs will > compile with MinGW64. But I don't have the headers installed by > MinGW64 GCC, and couldn't find them on the net, and I don't have time > to install MinGW64 and try the build myself. > > Please report any problems you still have. I'm stuck on this: w32.c:4725:7: error: unknown type name 'REPARSE_DATA_BUFFER' In my install, that name is defined in c:/mingw/i686-w64-mingw32/include/ddk/ntifs.h Adding #include to w32.c doesn't work because the ddk directory is not in the automatic search path of the compiler. #include doesn't work either because ntifs.h includes other files from the same directory. Searching the web shows that the "solution" is to add the ddk directory to the search path with -I. But that creates a dependency on where MinGWw64 was installed (not everybody installs con c:/mingw!) Two places where the problem is discussed: http://sourceforge.net/mailarchive/forum.php?thread_name=4E52E193.7090706%40users.sourceforge.net&forum_name=mingw-w64-public http://sourceforge.net/tracker/?func=detail&aid=3407293&group_id=202880&atid=983355