Gentoo Archives: gentoo-dev

From: Martin Schlemmer <azarah@g.o>
To: Gentoo-Dev <gentoo-dev@g.o>
Subject: Re: [gentoo-dev] More sys-kernel/linux-2.4.15_pre1.ebuild
Date: Sat, 17 Nov 2001 12:16:31
Message-Id: 1006021090.1345.20.camel@nosferatu.lan
In Reply to: [gentoo-dev] More sys-kernel/linux-2.4.15_pre1.ebuild by Gontran
1 On Sat, 2001-11-17 at 20:05, Gontran wrote:
2
3 Hi all
4
5 Please dont use 2.4.15-pre1 now, it is not finished yet!
6
7
8 > Hi,
9 >
10 > Hmmm.. I may have run into these problems because I made bzImage before
11 > changing the default config (eg, no make *config)
12 >
13 > Has anyone else had a problem with a missing escape '\' on line 508 of
14 > /usr/src/linux-2.4.15-pre1/include/linux/sched.h ?
15 >
16 > make bzImage would fail with a syntax error there since the #define was
17 > more than a single line.
18 >
19 > Modified /usr/src/linux2.4.15-pre1/mm/vmscan.c, line 170
20 > - preserve: + // preserve:
21 >
22 > With those changes bzImage built. But didn't run cause the config was
23 > not right. Rebuilt with make oldconfig and ... no luck
24 >
25 > ----
26 > /usr/src/linux-2.4.15-pre1/include/linux/kernel_stat.h: In function `kstat_irqs':
27 > /usr/src/linux-2.4.15-pre1/include/linux/kernel_stat.h:95: `smp_num_cpus' undeclared (first use in this function)
28 > /usr/src/linux-2.4.15-pre1/include/linux/kernel_stat.h:95: (Each undeclared identifier is reported only once
29 > /usr/src/linux-2.4.15-pre1/include/linux/kernel_stat.h:95: for each function it appears in.)
30 > make[2]: *** [ksyms.o] Error 1
31 > ----
32 >
33 > Simple diffs to apply after emerge: attached.
34 >
35 > Best Luck,
36 > Gontran
37 > ----
38 >
39
40 > 507c507
41 > < journal_info: NULL
42 > ---
43 > > journal_info: NULL \
44 > ----
45 >
46
47 > --- /tmp/vmscan.c Sat Nov 17 10:37:29 2001
48 > +++ /usr/src/linux-2.4.15-pre1/mm/vmscan.c Sat Nov 17 10:27:19 2001
49 > @@ -167,7 +167,7 @@
50 > swap_free(entry);
51 > }
52 >
53 > - preserve:
54 > +// preserve:
55 > /* No swap space left */
56 > preserve:
57 > set_pte(page_table, pte);
58 --
59
60 Martin Schlemmer
61 Gentoo Linux Developer, Desktop Team Developer
62 Cape Town, South Africa