Gentoo Archives: gentoo-user

From: purple <purpleritza@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] emerge xen-tools --> asm/page.h: No such file or directory
Date: Tue, 20 Mar 2007 16:13:19
Message-Id: 855e36b90703200904w1c89cf03l18f89dd7c67b72d6@mail.gmail.com
In Reply to: [gentoo-user] emerge xen-tools --> asm/page.h: No such file or directory by Yuriy Popyk
1 hi man..
2 i got simular problem and did this one:
3
4 ln -s /usr/src/linux/include/asm/page.h /usr/include/asm
5
6 it worked for me,enjoy
7
8
9
10 On 3/20/07, Yuriy Popyk <yuriy.popyk@×××××.com> wrote:
11 >
12 > Hello
13 > i'm trying to
14 > emerge xen-tools
15 >
16 > but it fails with asm/page.h: No such file or directory
17 > (it searching for a file in /usr/include/... ?) how to specify to look for
18 > it in kernel source ?
19 > can anybody help me ?
20 >
21 > make[2]: Entering directory `/var/tmp/portage/app-emulation/xen-
22 > tools-3.0.2-r4/work/xen-3.0.2/tools/misc/mbootpack'
23 > gcc -Wp,-MD,.mbootpack.o.d -O2 -fomit-frame-pointer -DNDEBUG -m32
24 > -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement
25 > -D__XEN_INTERFACE_VERSION__=0x00030101 -Wpointer-arith -Wcast-qual
26 > -Wno-unused -Wno-format -Wmissing-prototypes -pipe -I. -I- -c mbootpack.c-o
27 > mbootpack.o
28 > cc1: note: obsolete option -I- used, please use -iquote instead
29 > mbootpack.c:45:22: error: asm/page.h: No such file or directory
30 > make[2]: *** [mbootpack.o] Error 1
31 > make[2]: Leaving directory `/var/tmp/portage/app-emulation/xen-
32 > tools-3.0.2-r4/work/xen-3.0.2/tools/misc/mbootpack'
33 > make[1]: *** [build] Error 2
34 > make[1]: Leaving directory `/var/tmp/portage/app-emulation/xen-
35 > tools-3.0.2-r4/work/xen-3.0.2/tools/misc'
36 > make: *** [all] Error 2
37 > make: Leaving directory `/var/tmp/portage/app-emulation/xen-tools-3.0.2-r4
38 > /work/xen-3.0.2/tools'
39 >
40 >
41
42
43 --
44 purple..