1 |
what commands did you run to compile the kernel? |
2 |
Do you have the same problem with gentoo-sources? |
3 |
|
4 |
Try this: |
5 |
cd /usr/src/linux && |
6 |
cp .config .config.bak && |
7 |
make mrproper && #remove config related files |
8 |
cp .config.bak .config && |
9 |
make clean oldconfig dep && #redo config, redo dep (if needed...) |
10 |
make bzImage modules #try to compile again |
11 |
|
12 |
-John |
13 |
|
14 |
|
15 |
On Sat, 2004-04-24 at 16:49, Kevin wrote: |
16 |
> Dear developers- |
17 |
> |
18 |
> My apologies if this is the wrong forum, but I'm getting no answers in |
19 |
> [gentoo-user] and this seems like an important issue, not just to me but |
20 |
> perhaps to lots of people trying to install Gentoo. I'm doing everything |
21 |
> exactly in accordance with the Gentoo Handbook, and I can't even get a |
22 |
> fully functional kernel (bzImage yes, but not the modules). Could I |
23 |
> please get some expert attention to this problem? Should I file a bug |
24 |
> report? Thanks very kindly for any replies. |
25 |
> |
26 |
> -Kevin |
27 |
> |
28 |
> ---------- Forwarded Message ---------- |
29 |
> |
30 |
> Subject: [gentoo-user] gs-sources problems: device mapper: dm.o has |
31 |
> undeclared identifiers |
32 |
> Date: Friday 23 April 2004 12:28 |
33 |
> From: Kevin <gentoo-user@××××××.biz> |
34 |
> To: gentoo user <gentoo-user@l.g.o> |
35 |
> |
36 |
> Hi All- |
37 |
> |
38 |
> I'm trying to do a stage 1 installation on a Dell PE1600SC with 1 Xeon |
39 |
> 2.4GHz processor and having some problems getting the modules for the |
40 |
> kernel built. I booted with the minimal CD from: |
41 |
> ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo/releases/x86/2004.0/livecd |
42 |
> /universal/install-x86-minimal-2004.0.iso and used the stage1 tarball |
43 |
> from: |
44 |
> ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo/releases/x86/2004.0/stages |
45 |
> /x86/hardened/stage1-x86-pie-ssp-2004.0.tar.bz2 |
46 |
> |
47 |
> I've been following the Handbook step by step; I chose the gs-sources |
48 |
> since this will be a server and every step of the install process worked |
49 |
> fine up until I tried to make modules. At that point, the build failed |
50 |
> with these messages: |
51 |
> |
52 |
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.25_pre7-gss-r3/include -Wall |
53 |
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common |
54 |
> -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=pentium4 |
55 |
> -DMODULE -DMODVERSIONS |
56 |
> -include /usr/src/linux-2.4.25_pre7-gss-r3/include/linux/modversions.h |
57 |
> -nostdinc -iwithprefix include -DKBUILD_BASENAME=dm -DEXPORT_SYMTAB -c |
58 |
> dm.c |
59 |
> dm.c: In function `alloc_md': |
60 |
> dm.c:785: error: `mempool_alloc_slab' undeclared (first use in this |
61 |
> function) |
62 |
> dm.c:785: error: (Each undeclared identifier is reported only once |
63 |
> dm.c:785: error: for each function it appears in.) |
64 |
> dm.c:786: error: `mempool_free_slab' undeclared (first use in this |
65 |
> function) |
66 |
> make[2]: *** [dm.o] Error 1 |
67 |
> make[2]: Leaving directory `/usr/src/linux-2.4.25_pre7-gss-r3/drivers/md' |
68 |
> make[1]: *** [_modsubdir_md] Error 2 |
69 |
> make[1]: Leaving directory `/usr/src/linux-2.4.25_pre7-gss-r3/drivers' |
70 |
> make: *** [_mod_drivers] Error 2 |
71 |
> livecd linux # |
72 |
> |
73 |
> can someone tell me what's wrong here and how to fix it? It looks to me |
74 |
> like maybe I'm missing a header file or something, but I've been doing |
75 |
> exactly what the Handbook says to do. |
76 |
> |
77 |
> Thanks. |
78 |
> |
79 |
> -Kevin |
80 |
> |
81 |
> |
82 |
> -- |
83 |
> gentoo-dev@g.o mailing list |
84 |
> |