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"
Created attachment 9636 [details] This is the .config file
this is fixed in ck-sources-2.4.20-ck6 closing. Jay