1 |
I'm having trouble compiling linux kernel linux-2.4.19-r2 (which is the |
2 |
latest kernel from sys-kernel/alpha-sources). |
3 |
|
4 |
The problem arises when making the files in the mm subdirectory, see |
5 |
attached error message. It seems that there is a problem with the |
6 |
super_page_populate macro. |
7 |
|
8 |
Did anybody succeed in compiling a linux-2.4.19-r2 kernel from |
9 |
alpha-sources? |
10 |
|
11 |
Any help would be greatly appreciated. |
12 |
|
13 |
Best regards, |
14 |
Christian |
15 |
|
16 |
|
17 |
|
18 |
|
19 |
make[1]: Entering directory `/usr/src/linux-2.4.19-r2/mm' |
20 |
make all_targets |
21 |
make[2]: Entering directory `/usr/src/linux-2.4.19-r2/mm' |
22 |
gcc -D__KERNEL__ -I/usr/src/linux-2.4.19-r2/include -Wall |
23 |
-Wstrict-prototypes -Wno-trigraphs -O2 - |
24 |
fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mno-fp-regs |
25 |
-ffixed-8 -mcpu=ev5 -Wa,-me |
26 |
v6 -nostdinc -I /usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.2.1/include |
27 |
-DKBUILD_BASENAME=memory |
28 |
-DEXPORT_SYMTAB -c memory.c |
29 |
In file included from memory.c:41: |
30 |
/usr/src/linux-2.4.19-r2/include/linux/mm.h:418:1: warning: |
31 |
"super_page_populate" redefined |
32 |
In file included from /usr/src/linux-2.4.19-r2/include/linux/mm.h:26, |
33 |
from memory.c:41: |
34 |
/usr/src/linux-2.4.19-r2/include/asm/pgtable.h:273:1: warning: this is the |
35 |
location of the previous |
36 |
definition |
37 |
In file included from memory.c:41: |
38 |
/usr/src/linux-2.4.19-r2/include/linux/mm.h:419:1: warning: "clear_pmd_sp" |
39 |
redefined |
40 |
In file included from /usr/src/linux-2.4.19-r2/include/linux/mm.h:26, |
41 |
from memory.c:41: |
42 |
/usr/src/linux-2.4.19-r2/include/asm/pgtable.h:272:1: warning: this is the |
43 |
location of the previous |
44 |
definition |
45 |
memory.c:66: warning: missing braces around initializer |
46 |
memory.c:66: warning: (near initialization for `super_page_prot[0]') |
47 |
memory.c: In function `do_anonymous_page': |
48 |
memory.c:1295: `super_page_downgrade' undeclared (first use in this |
49 |
function) |
50 |
memory.c:1295: (Each undeclared identifier is reported only once |
51 |
memory.c:1295: for each function it appears in.) |
52 |
memory.c:1308: `super_page_allocate' undeclared (first use in this function) |
53 |
memory.c:1312:48: macro "super_page_populate" passed 5 arguments, but takes |
54 |
just 4 |
55 |
memory.c:1312: `super_page_populate' undeclared (first use in this function) |
56 |
make[2]: *** [memory.o] Error 1 |
57 |
make[2]: Leaving directory `/usr/src/linux-2.4.19-r2/mm' |
58 |
make[1]: *** [first_rule] Error 2 |
59 |
make[1]: Leaving directory `/usr/src/linux-2.4.19-r2/mm' |
60 |
make: *** [_dir_mm] Error 2 |
61 |
|
62 |
-- |
63 |
Christian Plessl <plessl@×××××××××××.ch> |
64 |
Computer Engineering and Networks Lab, ETH Zurich, Switzerland |
65 |
|
66 |
|
67 |
-- |
68 |
gentoo-dev@g.o mailing list |