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

Re: Compile Kernel 2.0.34 - Error?



On Tue, 18 Jun 2002 16:53:23 +0200
Schoppitsch Dieter <dieter.schoppitsch@uta.at> wrote:

> I need to compile a new kernel (version 2.0.34).
> http://archive.debian.org/dists/Debian-2.0/main/binary-i386/devel/kernel-sou
> rce-2.0.34_2.0.34-4.deb
> * 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.
Good luck.


-- 
To UNSUBSCRIBE, email to debian-laptop-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: