Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Xen 3.1 and current netbsd
"Marcin M. Jessa" writes:
- On 6/3/11 4:02 PM, Jean-Yves Migeon wrote:
- > On 03.06.2011 10:03, Marcin M. Jessa wrote:
- >> Then I tried to compile xen3.3 but it failed.
- >> I managed to compile xentools3 but trying to start xend I got following
- >> errors.
- >
- > Don't mix different Xen revisions. Use xenkernel33 and xentools33, or
- > xenkernel3 and xentools3, nothing in between.
- >
- > Alas, this won't help much there. Next.
-
- I did not mix them. The thing is xentools33 and xenkernel33 did not
- compile at all on CURRENT.
Try the attached patch for xenkernel33, (it'll work for
xenkernel41 as well, without exposing NetBSD internals.)
(and it sanely builds on older NetBSD current and stable
versions.)
--
Eric Schnoebelen eric%cirr.com@localhost
http://www.cirr.com
I think, therefore I'm alone in the universe -- Verne, from Over the Hedge
$NetBSD$
--- xen/arch/x86/Rules.mk.orig 2009-08-06 12:56:40.000000000 +0000
+++ xen/arch/x86/Rules.mk
@@ -13,7 +13,9 @@ supervisor_mode_kernel ?= n
# Solaris grabs stdarg.h and friends from the system include directory.
ifneq ($(XEN_OS),SunOS)
+ ifneq ($(XEN_OS),NetBSD)
CFLAGS += -nostdinc
+ endif
endif
CFLAGS += -fno-builtin -fno-common
Home |
Main Index |
Thread Index |
Old Index