On Mon, 2003-02-17 at 23:54, Anders Johansson wrote: [snip]
Before you compile your module you must prepare the sources, so they reflect the running kernel
cd /usr/src/linux make mrproper make cloneconfig make dep touch /usr/src/linux/include/linux/modversions.h
I would like to compile the 2.4.20 kernel but I keep running into
'kernel panic' messages when I try to boot the new kernel.
So I wanted to try this approach, until now I copied
'/boot/vmlinuz.config' to '/ugkernel/old.config' before running 'make
oldconfig'.
I downloaded and extracted the sources (tar.bz2 file from kernel.org) to
/ugkernel/linux-2.4.20/.
Since I tried to compile these sources before I started with 'make
mrproper' which ran fine.
But running 'make cloneconfig' resulted in the following error:
linux:/ugkernel/linux-2.4.20 # make cloneconfig | tee /ugkernel/make2-cloneconfig.out
make: *** No rule to make target `cloneconfig'. Stop.
Could this be caused because I am not running it from /usr/src/ ?
TIA
p.s. I added the tee command to capture all output to a file as well as
to stdout, but it doesn't seem to get the output off stderror what do I
need to add to get stderror to the same file? Would this work?
make cloneconfig &> | tee /ugkernel/make2-cloneconfig.out
--
# Mertens Bram "M8ram"