Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61607 - Compilation of gs-sources-2.4.25_pre7-gss-r11 fails on dm.c
Summary: Compilation of gs-sources-2.4.25_pre7-gss-r11 fails on dm.c
Status: RESOLVED DUPLICATE of bug 48973
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-25 02:15 UTC by Miroslav Šulc
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslav Šulc gentoo-dev 2004-08-25 02:15:05 UTC
Compilation of gs-sources-2.4.25_pre7-gss-r11 fails on dm.c. Here is the output:

make[2]: Entering directory `/usr/src/linux-2.4.25_pre7-gss-r11/drivers/md'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.25_pre7-gss-r11/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=k6 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.25_pre7-gss-r11/include/linux/modversions.h  -nostdinc -iwithprefix include -DKBUILD_BASENAME=lvm  -c -o lvm.o lvm.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.25_pre7-gss-r11/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=k6 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.25_pre7-gss-r11/include/linux/modversions.h  -nostdinc -iwithprefix include -DKBUILD_BASENAME=lvm_snap  -c -o lvm-snap.o lvm-snap.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.25_pre7-gss-r11/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=k6 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.25_pre7-gss-r11/include/linux/modversions.h  -nostdinc -iwithprefix include -DKBUILD_BASENAME=lvm_fs  -c -o lvm-fs.o lvm-fs.c
ld -m elf_i386 -r -o lvm-mod.o lvm.o lvm-snap.o lvm-fs.o
gcc -D__KERNEL__ -I/usr/src/linux-2.4.25_pre7-gss-r11/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=k6 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.25_pre7-gss-r11/include/linux/modversions.h  -nostdinc -iwithprefix include -DKBUILD_BASENAME=dm  -DEXPORT_SYMTAB -c dm.c
dm.c: In function `alloc_md':
dm.c:785: error: `mempool_alloc_slab' undeclared (first use in this function)
dm.c:785: error: (Each undeclared identifier is reported only once
dm.c:785: error: for each function it appears in.)
dm.c:786: error: `mempool_free_slab' undeclared (first use in this function)
make[2]: *** [dm.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.25_pre7-gss-r11/drivers/md'
make[1]: *** [_modsubdir_md] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.25_pre7-gss-r11/drivers'
make: *** [_mod_drivers] Error 2

This is not fully functional system but system partially installed from LiveCD and used by 'chroot /mnt/gentoo /bin/bash'.

Reproducible: Always
Steps to Reproduce:
1. cd /usr/src/linux
2. make clean bzImage modules modules_install

Actual Results:  
Compilation failed at code specified above.

Expected Results:  
Should compile without errors.

# emerge info
Portage 2.0.50-r9 (default-x86-2004.2, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.4.26-gentoo-r6)
=================================================================
System uname: 2.4.26-gentoo-r6 i586 AMD-K6tm w/ multimedia extensions
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
CHOST="i386-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://download.local.startnet.cz/gentoo-mirror/ http://10.15.6.1/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.local.startnet.cz/gentoo-portage"
USE="apm arts avi berkdb crypt cups encode foomaticdb gdbm gif gpm gtk2 imlib
jpeg libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam
pdflib perl png python quicktime readline sdl slang spell ssl svga tcpd truetype
x86 xml2 xmms xv zlib"
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2004-08-26 07:07:19 UTC
Marking duplicate of 48973... It's not the exact same message, but very close.

*** This bug has been marked as a duplicate of 48973 ***