From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JLHTh-00061A-1Y for mharc-grub-devel@gnu.org; Sat, 02 Feb 2008 07:28:13 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JLHTe-0005yk-Nz for grub-devel@gnu.org; Sat, 02 Feb 2008 07:28:10 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JLHTe-0005yM-8X for grub-devel@gnu.org; Sat, 02 Feb 2008 07:28:10 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JLHTe-0005yG-5q for grub-devel@gnu.org; Sat, 02 Feb 2008 07:28:10 -0500 Received: from ns39764.ovh.net ([91.121.25.85] helo=nexedi.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JLHTe-0004Av-2X for grub-devel@gnu.org; Sat, 02 Feb 2008 07:28:10 -0500 Received: from [10.8.0.46] (unknown [10.8.0.46]) by nexedi.com (Postfix) with ESMTP id AFFF93EB26 for ; Sat, 2 Feb 2008 13:34:52 +0100 (CET) From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Sat, 2 Feb 2008 13:28:07 +0100 User-Agent: KMail/1.9.4 References: <20080201214147.GB4855@thorin> In-Reply-To: <20080201214147.GB4855@thorin> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802021328.07862.okuji@enbug.org> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: Compiling grub2 on OpenBSD X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Feb 2008 12:28:11 -0000 On Friday 01 February 2008 22:41, Robert Millan wrote: > On Fri, Feb 01, 2008 at 12:49:11PM -0800, walt wrote: > > I got grub2 compiled on NetBSD, so now on to OpenBSD: > > > > In file included from ../util/i386/pc/grub-mkimage.c:29: > > ../include/grub/misc.h:43: warning: conflicting types for built-in > > function `memcpy' > > In file included from ../util/i386/pc/grub-mkimage.c:33: > > /usr/include/string.h:60: error: conflicting types for `memcpy' > > ../include/grub/misc.h:43: error: previous declaration of `memcpy' > > Sounds strange. Why do we have memcpy at all? Shouldn't it be > grub_memcpy? IIRC, GCC implicitly generates references to memcpy, thus somebody has added memcpy as an alias to grub_memcpy. I don't know how to solve it cleanly. If you have an idea, I'd like to know. Okuji