I was going to upgrade my kernel from 2.4.22-gentoo-r2 --> 2.4.22-gentoo-r4. I did my usual kernel compile ritual:

# touch /lib/modules/2.4.22-gentoo-r2/video/nvidia.o
# genkernel --config
...
* Starting 2.4.22-gentoo-r4 build...


[ ok ]
* Running "make dep"...
[ ok ] * Running "make bzImage"...
#


That's it, and it took only a few seconds, so I know it didn't compile.

# cat /var/log/genkernel.log

gcc -D__KERNEL__ -I/usr/src/linux-2.4.22-gentoo-r4/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -finline-limit=2000 -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon-xp -DKBUILD_BASENAME=main -c -o init/main.o init/main.c

<snipped a whole sleu of "In file included from...">

/usr/src/linux-2.4.22-gentoo-r4/include/linux/interrupt.h:135: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/src/linux-2.4.22-gentoo-r4/include/linux/interrupt.h:135: requested alignment is not a constant
init/main.c: In function `start_kernel':
init/main.c:377: `CONFIG_X86_L1_CACHE_SHIFT' undeclared (first use in this function)
init/main.c:377: (Each undeclared identifier is reported only once
init/main.c:377: for each function it appears in.)
make: *** [init/main.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** Waiting for unfinished jobs....
make: *** Waiting for unfinished jobs....
make: *** Waiting for unfinished jobs....
make: *** Waiting for unfinished jobs....


any ideas?

Thanks
--
http://ka0ttic.dyndns.org/

/usr/bin/fortune says:
When you are at Rome live in the Roman style; when you are elsewhere live
as they live elsewhere.
                -- St. Ambrose


-- [EMAIL PROTECTED] mailing list



Reply via email to