Re: Compile Kernel 2.0.34 - Error?
On Tue, 18 Jun 2002 16:53:23 +0200
Schoppitsch Dieter <firstname.lastname@example.org> wrote:
> I need to compile a new kernel (version 2.0.34).
> * http://www.kernel.org/pub/linux/kernel/v2.0/linux-2.0.34.tar.gz
> * http://www.kernel.org/pub/linux/kernel/v2.0/linux-2.0.34.tar.bz2
> But trying to compile any of this sources (make xconfig; make dep;
> make clean; make bzImage) gives me (at making bzImage) following
> error message:
> ... string.h: 140: Invalid 'asm' statement: ... forbidden register
> ... make: *** [init/main.o] Error 1
> Compiling with other sources (2.0.38 or 2.2) works fine, but I need 2.0.34
> to use my pcmcia-environment.
In order to compile such old kernel use also old compiler.
apt-get install gcc272
Then force compiling with that compiler version. "export CC=gcc272" might help.
Please write here later about your success/failure.
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org