Gentoo Archives: gentoo-dev

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

Replies