+++ Todd A. Jacobs [RedHat] [Mon, Nov 11, 2002 at 11:00:13PM -0800]:
> I'm trying to compile kernel 2.4.19 from source, but am getting the 
> following error:
> 
> script_asm.pl : Illegal combination of registers in line 72 :   MOVE 
> CTEST7 & 0xef TO CTEST7
>         Either source and destination registers must be the same,
>         or either source or destination register must be SFBR.
> make[2]: *** [sim710_d.h] Error 255
> make[2]: Leaving directory `/usr/src/linux-2.4.19/drivers/scsi'
> make[1]: *** [_modsubdir_scsi] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.4.19/drivers'
> make: *** [_mod_drivers] Error 2
> 
> has anyone successfully compiled this kernel, or know what I can do to 
> create a successful compile?
I used to get a similar problem while compiling.  I eventually figured out
that I must have left out some dependency for a module I was trying to
compile (even though it was the same .config I had used happily before).
Though I realized at one point that RedHat must be able co compile their
kernel.  So I installed the RedHat kernel souce and used one of their
config filed.  for me
/usr/src/linux-2.4.18-14/configs/kernel-2.4.18-athlon.config, choose what's
right for you from that dir).

In short:
# cp /usr/src/linux-2.4.18-14/configs/kernel-2.4.18-athlon.config
/usr/src/linux-2.4.19/.config
# cd /usr/src/linux-2.4.19
# make oldconfig

<build as usual>


I hope this helps.

-- 
// Andrew MacKenzie  |  http://www.edespot.com
// "My other car is a cdr."

Attachment: msg94674/pgp00000.pgp
Description: PGP signature

Reply via email to