[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiling grub2 on OpenBSD
From: |
Yoshinori K. Okuji |
Subject: |
Re: Compiling grub2 on OpenBSD |
Date: |
Sat, 2 Feb 2008 13:28:07 +0100 |
User-agent: |
KMail/1.9.4 |
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