grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compiling grub2 on OpenBSD


From: walt
Subject: Compiling grub2 on OpenBSD
Date: Fri, 01 Feb 2008 12:49:11 -0800
User-agent: Thunderbird 3.0a1pre (X11/2008020106)

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)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]