Hi!
I've tried compiling a 2.2.x kernel, but without success.
I'm currently running ARM Linux on my SA-RiscPC (and on my
ARM710-RiscPC) with the 2.0.36 kernel and gcc 2.7.2.2.
Now I've downloaded the kernel sources linux-2.2.0.tar.gz (or similar
from the main linux ftp site) as well as some patches (patch-2.2.1.gz,
patch-2.2.2.gz and patch-2.2.3.gz from the ftp.arm.linux.org.uk site).
Then I've copied the gzip files into /usr/src and done as in the
documentation explained:
cd /usr/src
gzip -cd linux-2.2.0.tar.gz | tar xfv -
This worked witout problems, but then the problems started. The
/linux/scripts/patch-kernel reported some errors (see below), so I
tried to patch by hand.
It worked only with patch-2.2.1.gz. All the others gave
patch: **** misordered hunks! output would be garbled
I'm not too sure about how to apply the patches at all. Do I have to
apply the patches step by step 2.2.0, 2.2.1, 2.2.2 and then finally
2.2.3 or may I patch the main kernel sources directly with the 2.2.3
patch?
Well, as patching with 2.2.1 worked, I then tried to configure it. Hm,
without success. I got the following:
bash# make config
rm -f include/asm-arm/arch include/asm-arm/proc
(cd include/asm-arm; ln -sf arch- arch; ln -sf proc- proc)
rm -f include/asm
( cd include ; ln -sf asm-arm asm)
gcc -Wall -Wstrict-prototypes -O2 -o scripts/split-include
scripts/split-include.c
In file included from /usr/arm-unknown-linuxaout/include/sys/stat.h:5,
from scripts/split-include.c:22:
/usr/include/sys/types.h:4: linux/types.h: No such file or directory
In file included from scripts/split-include.c:22:
/usr/arm-unknown-linuxaout/include/sys/stat.h:8: linux/stat.h: No such
file or directory
In file included from scripts/split-include.c:26:
/usr/include/errno.h:27: linux/errno.h: No such file or directory
In file included from scripts/split-include.c:27:
/usr/include/fcntl.h:29: linux/fcntl.h: No such file or directory
make: *** [scripts/split-include] Error 1
Can anybody explain to me what I'm doing wrong and/or give me a
step-by-step instruction what I should do? Or is there such a
step-by-step instruction already available somewhere?
TIA.
Greetings,
--
Stefan Bellon <[EMAIL PROTECTED]>
Acorn RiscPC * StrongARM 202 MHz * 66 MB RAM
WOMAN.ZIP - Great program but no documentation.
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]