From: walt <wa1ter@myrealbox.com>
To: grub-devel@gnu.org
Subject: Compiling grub2 on OpenBSD
Date: Fri, 01 Feb 2008 12:49:11 -0800 [thread overview]
Message-ID: <fo00j2$qs$1@ger.gmane.org> (raw)
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'
And here is the offending definition from /usr/include/string.h:
void *memcpy(void *, const void *, size_t)
__attribute__ ((__bounded__(__buffer__,1,3)))
__attribute__ ((__bounded__(__buffer__,2,3)));
This is only the first of many such weird things I expect to
show up. (OpenBSD has blazed its own trail to another planet
over the years :o)
next reply other threads:[~2008-02-01 20:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-01 20:49 walt [this message]
2008-02-01 21:41 ` Compiling grub2 on OpenBSD Robert Millan
2008-02-02 12:28 ` Yoshinori K. Okuji
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='fo00j2$qs$1@ger.gmane.org' \
--to=wa1ter@myrealbox.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.