Skip to contentSkip to conversation

hypervisor.h has been moved

DISCUSSION Anton Korenyushkin 2 participants 2 messages Sep 14, 2005

lore
Share & tools
lore
#0 lore raw

Hello,

There are some troubles with building fresh xen-unstable:

tiger@~/pr/xen/xen-unstable.hg $ make
...
In file included from include/asm-xen/asm/fixmap.h:30,

                 from arch/i386/kernel/asm-offsets.c:13:

include/asm-xen/gnttab.h:17:28: asm/hypervisor.h: No such file or directory make[4]: *** [arch/i386/kernel/asm-offsets.s] Error 1
make[3]: *** [arch/i386/kernel/asm-offsets.s] Error 2
make[3]: Leaving directory `/home/tiger/pr/xen/xen-unstable.hg/linux-2.6.12-xen0'
...
tiger@~/pr/xen/xen-unstable.hg $ find . -name hypervisor.h ./extras/mini-os/include/hypervisor.h ./freebsd-5.3-xen-sparse/i386-xen/include/hypervisor.h ./linux-2.6-xen-sparse/include/asm-xen/asm-i386/hypervisor.h ./linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/hypervisor.h ./netbsd-2.0-xen-sparse/sys/arch/xen/include/hypervisor.h ./linux-2.6.12-xen0/include/asm-xen/hypervisor.h ./linux-2.6.12-xenU/include/asm-xen/hypervisor.h

So i think symbolic link to hypervisor.h should be
in ./linux-2.6.12-xen0/include/asm-xen/asm-i386 and asm-x86_64. And link to this file in xenU kernel directory should have the same location. Now the link ./linux-2.6.12-xen0/include/asm-xen/hypervisor.h points to the file ./linux-2.6-xen-sparse/include/asm-xen/hypervisor.h which doesn't exist.

If i am right in all header files line
#include <asm-xen/hypervisor.h>
should be replaced by
#include <asm-xen/asm-arch/hypervisor.h>
or link asm-xen/hypervisor.h should point to the neccesarry header file.

Signature · 3 lines
Best regards,
Anton Korenyushkin
mailto:[email protected]
#1 lore raw
Quoted 3 lines · Anton Korenyushkin

Hello,

There are some troubles with building fresh xen-unstable:

I think you just need to 'make mrproper' and build from scratch. hypervisor.h got moved today.

-- Keir