Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17879 - linux-2.4.20-ck4 errors on compile
Summary: linux-2.4.20-ck4 errors on compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-20 10:13 UTC by Ben Ricker
Modified: 2003-05-05 11:46 UTC (History)
0 users

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


Attachments
This is the .config file (.config,17.06 KB, text/plain)
2003-03-20 10:14 UTC, Ben Ricker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Ricker 2003-03-20 10:13:32 UTC
I get the following error when trying to compile the r4 ck-sources:

In file included from sys.c:7:
/usr/src/linux-2.4.20-ck4/include/linux/module.h: In function `print_symbol':
/usr/src/linux-2.4.20-ck4/include/linux/module.h:434: `ESRCH' undeclared (first
use in this function)
/usr/src/linux-2.4.20-ck4/include/linux/module.h:434: (Each undeclared
identifier is reported only once
/usr/src/linux-2.4.20-ck4/include/linux/module.h:434: for each function it
appears in.)
sys.c: At top level:
sys.c:494: warning: static declaration for `set_user' follows non-static
make[2]: *** [sys.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.20-ck4/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-ck4/kernel'
make: *** [_dir_kernel] Error 2

Reproducible: Always
Steps to Reproduce:
1. Use Make menuconfig to create a .config file (attached)
2. run 'make dep'
3. run 'make bzImage'
4. It failes on the bzImage

Actual Results:  
I get the following error and the compile exits:

In file included from sys.c:7:
/usr/src/linux-2.4.20-ck4/include/linux/module.h: In function `print_symbol':
/usr/src/linux-2.4.20-ck4/include/linux/module.h:434: `ESRCH' undeclared (first
use in this function)
/usr/src/linux-2.4.20-ck4/include/linux/module.h:434: (Each undeclared
identifier is reported only once
/usr/src/linux-2.4.20-ck4/include/linux/module.h:434: for each function it
appears in.)
sys.c: At top level:
sys.c:494: warning: static declaration for `set_user' follows non-static
make[2]: *** [sys.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.20-ck4/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-ck4/kernel'
make: *** [_dir_kernel] Error 2

Expected Results:  
It should finish the compile and give me my kernel!

emerge info information:

Portage 2.0.47-r8 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.18-redhat-4custom i686 Pentium III (Coppermine)
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm avi crypt cups encode gif gpm jpeg libg++ libwww mikmod
mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib
gtkhtml gdbm berkdb slang readline arts bonobo svga java guile sdl tcpd pam ssl
perl python esd imlib oggvorbis motif opengl mozilla X gtk -kde -qt gnome -alsa"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Ben Ricker 2003-03-20 10:14:51 UTC
Created attachment 9636 [details]
This is the .config file
Comment 2 Jay Pfeifer (RETIRED) gentoo-dev 2003-05-05 11:46:42 UTC
this is fixed in ck-sources-2.4.20-ck6

closing.

Jay