I tried to compile a new kernel from a distribution of version 2.1.54 and
got an error, so I figured that there was a problem with the distribution.
I then tried version 2.1.51 and got the same error, so I suppose that I
messed up.
Here is what I did:
cd /usr/src
rm -r linux-2.0.29
rm linux
tar zxvf linux-2.1.51.tar.gz
ln -s linux-2.1.51 linux
cd /usr/include
rm -rf asm linux scsi
ln -s /usr/src/linux/include/asm-i386 asm
ln -s /usr/src/linux/include/linux linux
ln -s /usr/src/linux/include/scsi scsi
cd linux
make mrproper
make oldconfig
make dep ; make dep ; make zImage
...
...
...
gcc -D__KERNEL__ -I/usr/src/linux/include -D__ASSEMBLY__ -D__SMP__ -traditional -c trampoline.S -o trampoline.o
/tmp/cca05930.s: Assembler messages:
/tmp/cca05930.s:123: Error: Value of ffffffff40000000 too large for field of 4 bytes at 000000000000003d
make[1]: *** [trampoline.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.1.51/arch/i386/kernel'
make: *** [linuxsubdirs] Error 2
Did I do the preparation ok? Did I miss anything? I have no experience in
assembler, so
HHHHHEEEEEEELLLLPPPPPPPPPPP !!!!!!!!!!!
I also tried xconfig and config, thinking there might be a bug in oldconfig.
Thanks in advance!
Rem
----- End Included Message -----