[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How to compile kernel 2.0.36 on Potato



Hello,

I need to compile the old kernel 2.0.36 on a Potato machine (gcc
2.95.2-14). I know that gcc versions 2.8 and up won't compile these old
kernels unless a patch is applied to them.

I patched the 2.0.36 kernel with the patch file found at
http://www.suse.de/~florian/kernel+egcs.html but still I get a lot of
compilation errors similar to the following one:

/usr/src/kernel-source-2.0.36/include/asm/string.h:118: Invalid `asm'
statement:
/usr/src/kernel-source-2.0.36/include/asm/string.h:118: fixed or
forbidden register 4 (si) was spilled for class SIREG.

Any suggestions?

Thank you,

-- 
Pedro



Reply to: