From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: York Zhao Newsgroups: gmane.emacs.windows,gmane.emacs.devel Subject: Re: Unable to build emacs 24.4 with libxml2 on Windows Date: Mon, 30 Dec 2013 21:05:14 -0500 Message-ID: References: <83d2ke13ak.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bdca4febf70bf04eecafd59 X-Trace: ger.gmane.org 1388455531 17143 80.91.229.3 (31 Dec 2013 02:05:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 31 Dec 2013 02:05:31 +0000 (UTC) Cc: "help-emacs-windows@gnu.org" , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: help-emacs-windows-bounces+gnu-help-emacs-windows=m.gmane.org@gnu.org Tue Dec 31 03:05:39 2013 Return-path: Envelope-to: gnu-help-emacs-windows@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 1Vxoi8-00032i-AZ for gnu-help-emacs-windows@m.gmane.org; Tue, 31 Dec 2013 03:05:36 +0100 Original-Received: from localhost ([::1]:60338 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vxoi7-0001OJ-RR for gnu-help-emacs-windows@m.gmane.org; Mon, 30 Dec 2013 21:05:35 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42680) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vxohp-0001Nu-0r for help-emacs-windows@gnu.org; Mon, 30 Dec 2013 21:05:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vxohn-0007kS-Qr for help-emacs-windows@gnu.org; Mon, 30 Dec 2013 21:05:16 -0500 Original-Received: from mail-ig0-x235.google.com ([2607:f8b0:4001:c05::235]:36066) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vxohn-0007kE-KC; Mon, 30 Dec 2013 21:05:15 -0500 Original-Received: by mail-ig0-f181.google.com with SMTP id k19so28806066igc.2 for ; Mon, 30 Dec 2013 18:05:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=5tD39IGHMIrJ5lpy10sOuxvch3YgVezeZ8WtObxWdVI=; b=D10fv2WYd/Zk0z87Vxi114rRFd2fS0sHK92SuarcjHlyKDT10iiM7+CWiHCp2sdh+w KcxjF2ELw+e5pyRKMmogToE4x8bSN1UU1F/zvc4Qq3+esf/FERUWSpIV6MsT98mqP1cA OJOnix5dHVYcy9VIVRyuXalQ43/FF8o25DdBQ96mf/P8ru+CUEcZENK8q+GI33kbiC+6 alvWZkEKs9aijx4IJqCuDeQ1P/jjZzfVZryTmp/B65tpV4fXaTnllymK/pmIfX6m3y/J d9KjSTCgwPwwPyA8Ns3FNueOSctA6KxTppRRmcv5veCI41iNsaqZDyG4sUySoR+RhRWS Dd9g== X-Received: by 10.50.66.208 with SMTP id h16mr40978086igt.0.1388455514827; Mon, 30 Dec 2013 18:05:14 -0800 (PST) Original-Received: by 10.64.17.200 with HTTP; Mon, 30 Dec 2013 18:05:14 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c05::235 X-BeenThere: help-emacs-windows@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion forum for users of the GNU Emacs port to Windows List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-emacs-windows-bounces+gnu-help-emacs-windows=m.gmane.org@gnu.org Original-Sender: help-emacs-windows-bounces+gnu-help-emacs-windows=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.windows:5838 gmane.emacs.devel:167004 Archived-At: --047d7bdca4febf70bf04eecafd59 Content-Type: text/plain; charset=ISO-8859-1 This patch worked for me Thanks Claudio Bley. To Eli Zaretskii, are you going to do anything about this? Or let MinGW to fix it? On Mon, Dec 30, 2013 at 7:58 PM, York Zhao wrote: > Hi Eli Zaretskii, > > Thanks a lot for the link, I'll take a look. Have no idea why I missed it. > > > On Mon, Dec 30, 2013 at 3:39 PM, Eli Zaretskii wrote: > >> > Date: Mon, 30 Dec 2013 15:19:39 -0500 >> > From: York Zhao >> > >> > Here's the errors I got from "make": >> > >> > In file included from d:/emacs.source/src/xml.c:19:0: >> > ./config.h:1761:19: error: two or more data types in declaration >> specifiers >> > #define mbstate_t int >> > ^ >> > In file included from d:/usr/gtk/include/iconv.h:106:0, >> > from d:/usr/gtk/include/libxml2/libxml/encoding.h:28, >> > from d:/usr/gtk/include/libxml2/libxml/parser.h:807, >> > from d:/usr/gtk/include/libxml2/libxml/globals.h:18, >> > from d:/usr/gtk/include/libxml2/libxml/threads.h:35, >> > from d:/usr/gtk/include/libxml2/libxml/xmlmemory.h:218, >> > from d:/usr/gtk/include/libxml2/libxml/tree.h:1248, >> > from d:/emacs.source/src/xml.c:23: >> > d:\usr\include\wchar.h:816:32: error: conflicting types for >> '_wstat64i32' >> > __CRT_MAYBE_INLINE int __cdecl _wstat64i32(const wchar_t *fname, struct >> > _stat64i32 *_stat) >> >> See the discussion starting here: >> >> http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00649.html >> > > --047d7bdca4febf70bf04eecafd59 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
This patch worked for me Thanks Claudio Bley.

To El= i Zaretskii, are you going to do anything about this? Or let MinGW to fixit?





On Mon, Dec 30, 2013 at 7:58 PM, York Zhao <gtdplatform@gmail.com&= gt; wrote:
Hi Eli Zaretskii,

Thanks a lot for the link, I'= ll take a look. Have no idea why I missed it.


On Mon, Dec 30, 2013 at 3:39 PM, Eli Zaretskii <eliz@gnu.org> wro= te:
> Date: Mon, 30 Dec 2013 15:19:39 -0500 > From: York Zhao <gtdplatform@gmail.com>
>
> Here's the errors I got from "make":
>
> In file included from d:/emacs.source/src/xml.c:19:0:
> ./config.h:1761:19: error: two or more data types in declaration speci= fiers
> =A0#define mbstate_t int
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0^
> In file included from d:/usr/gtk/include/iconv.h:106:0,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0from d:/usr/gtk/include/libxml2/lib= xml/encoding.h:28,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0from d:/usr/gtk/include/libxml2/lib= xml/parser.h:807,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0from d:/usr/gtk/include/libxml2/lib= xml/globals.h:18,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0from d:/usr/gtk/include/libxml2/lib= xml/threads.h:35,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0from d:/usr/gtk/include/libxml2/lib= xml/xmlmemory.h:218,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0from d:/usr/gtk/include/libxml2/lib= xml/tree.h:1248,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0from d:/emacs.source/src/xml.c:23:<= br> > d:\usr\include\wchar.h:816:32: error: conflicting types for '_wsta= t64i32'
> =A0__CRT_MAYBE_INLINE int __cdecl _wstat64i32(const wchar_t *fname, st= ruct
> _stat64i32 *_stat)

See the discussion starting here:

=A0 http://lists.gnu.org/archive/html/emacs-devel/20= 13-11/msg00649.html


--047d7bdca4febf70bf04eecafd59--