From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Vwc6N-0002Cj-3h for mharc-grub-devel@gnu.org; Fri, 27 Dec 2013 13:25:39 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53115) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vwc6C-0002Bp-JB for grub-devel@gnu.org; Fri, 27 Dec 2013 13:25:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vwc64-000337-4I for grub-devel@gnu.org; Fri, 27 Dec 2013 13:25:28 -0500 Received: from mail-la0-x22a.google.com ([2a00:1450:4010:c03::22a]:55629) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vwc63-000333-SK for grub-devel@gnu.org; Fri, 27 Dec 2013 13:25:20 -0500 Received: by mail-la0-f42.google.com with SMTP id ec20so4434339lab.15 for ; Fri, 27 Dec 2013 10:25:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:date:in-reply-to:references:content-type :mime-version:content-transfer-encoding; bh=qmGMenwnIcLhxf8RB8Wyotl6iHxv/yADBdw6ptH7C2s=; b=pm/J1a4qohac7QU7TitjpgD7tecaeoiAC0jiO6WdY0x2gKsYCyBllAFMR66KN+un6r 343f/X+7uuQwSB6EOClIkvhahSpB2QBYBQMlZALGnDnrAvWe9iaqugCYeb51ykZVuO61 E3OEaHNfAMDNFzALYOewDCnLJmvXbrrXhIwRg/SRqpxJYFdso8t2ZlSl1dDxJF77xyl/ EBrN6f0FMxVMyzly9305ZEmkBntdGdYFvbdop1+IUP5+A8UDJo414Tpk63npPcHLsWE+ d89pfxOVo98KKedKUrwBwtufnkfkS2gblHv4Zpi7agZc00zZbLg+cq4+w0dVPLYQHHuv izZw== X-Received: by 10.152.2.5 with SMTP id 5mr21572041laq.21.1388168718832; Fri, 27 Dec 2013 10:25:18 -0800 (PST) Received: from [192.168.1.44] (ppp91-76-134-134.pppoe.mtu-net.ru. [91.76.134.134]) by mx.google.com with ESMTPSA id e10sm27678155laa.6.2013.12.27.10.25.18 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Fri, 27 Dec 2013 10:25:18 -0800 (PST) Message-ID: <1388168717.918.74.camel@opensuse.site> Subject: Re: error.h missing on mingw (grub-core/kern/emu/misc.c fails to compile) From: Andrey Borzenkov To: grub-devel@gnu.org Date: Fri, 27 Dec 2013 22:25:17 +0400 In-Reply-To: <1388087687.918.69.camel@opensuse.site> References: <1388087687.918.69.camel@opensuse.site> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.2 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22a X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Dec 2013 18:25:37 -0000 В Чт, 26/12/2013 в 23:54 +0400, Andrey Borzenkov пишет: > I'm not sure how to fix it. It is pulled in by build-grub-pep2elf and > build-grub-pe2elf. Those are build time programs and so use > BUILD_CPPFLAGS; adding CPPFLAGS_GNULIB is probably not appropriate. It > compiles just fine with error.h commented out. May be something like > > #if !defined(GRUB_BUILD) || defined(HAVE_ERROR_H) > On the second glance - why is needed at all? Nothing defined there is used in misc.c and on Linux it compiles just fine with error.h as well. May be we could simply drop it?