From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1V9dwf-00068p-Ss for mharc-grub-devel@gnu.org; Wed, 14 Aug 2013 12:29:13 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37985) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9dwW-0005sQ-AS for grub-devel@gnu.org; Wed, 14 Aug 2013 12:29:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V9dwN-0006St-U2 for grub-devel@gnu.org; Wed, 14 Aug 2013 12:29:04 -0400 Received: from mail-ee0-x233.google.com ([2a00:1450:4013:c00::233]:61876) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9dwN-0006QX-OG for grub-devel@gnu.org; Wed, 14 Aug 2013 12:28:55 -0400 Received: by mail-ee0-f51.google.com with SMTP id c1so5037578eek.10 for ; Wed, 14 Aug 2013 09:28:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=mJjW4rBi505REB+mO5aGwzNB7T17OrI0yXF2xtMsMDs=; b=W8iv0uJS+jF4yCq4Ov8ne3leAh8lNqPkf6/prNCLNiEsLTWC7MJbkARg9Y0le7pOhx eeYGtb3p3vVPWUZSEpl7aGx6C1n5mye+2SiS5rjI65UL0LVx15+otvyBptu7Bar6GeXS Q4pxfaFUlRH1lnwMoPkuNIdngDO18UhZYO/+NoaIYH2H/NEsU6o/OrXuEVhUamijoupQ t0M+PVPyfrLx4upFmh3bdUbrfMbLjj8zqm1de0lRxMQWyTf2kN7UCrsD7UVvMF4A+Iom A7MIPnE7ldXxp4rU2sirDzsNeEGoBYp1juB+kxyAnpjCiCc1dYlAsLC4QwwmjT/cXoPv aNaA== X-Received: by 10.14.214.136 with SMTP id c8mr15696117eep.6.1376497734943; Wed, 14 Aug 2013 09:28:54 -0700 (PDT) Received: from [192.168.42.216] (223-226.197-178.cust.bluewin.ch. [178.197.226.223]) by mx.google.com with ESMTPSA id k3sm76476862een.16.2013.08.14.09.28.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 Aug 2013 09:28:54 -0700 (PDT) Message-ID: <520BB03D.4050907@gmail.com> Date: Wed, 14 Aug 2013 18:28:45 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130630 Icedove/17.0.7 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: GRUB2 on OpenBSD 5.3-amd64: linking problem References: <201308091537.37473.Ilya_Bakulin@genua.de> <520B86BB.20208@gmail.com> <520B8ACF.4010309@gmail.com> <201308141716.45205.Ilya_Bakulin@genua.de> In-Reply-To: <201308141716.45205.Ilya_Bakulin@genua.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c00::233 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: Wed, 14 Aug 2013 16:29:12 -0000 On 14.08.2013 17:16, Ilya Bakulin wrote: > If I move the "typedef mbstate .. mbstate_t" into '#if !defined(__OpenBSD__)', > then the code uses the version from stddef.h, which lacks "code" and "count" > fields. It is defined as follows: Try: #ifdef __OpenBSD__ #define mbstate_t grub_posix_mbstate_t #endif