Compiling linuxv2.0.3 (fix)

Mancini The Marvelous (
Mon, 8 Jul 1996 09:23:57 -0400 (EDT)


I just downloaded linux v2.0.3 and ran into a small bug while trying
to compile it. It was when I got to the "make xconfig" bit. It came up with
the error as follows:

./tkparse < ../arch/i386/ > kconfig.tmp
Bad if clause at line 60(drivers/scsi/[ "$CONFIG_SCSI_NCR53C8XX" != "n" -a $CONFIG_EXPERIMENTAL = 'y' ]; then
make[1]: *** [] Error 1
make[1]: Leaving directory `/usr/src/linux2.0/scripts'
make: *** [xconfig] Error 2

The bug is really very trivial and the fix is to edit file that it references
(/usr/src/linux/drivers/scsi/ in this case) and changing line 60 to
the following:

if [ "$CONFIG_SCSI_NCR53C8XX" != "n" -a $CONFIG_EXPERIMENTAL = 'y' ]; then

if [ "$CONFIG_SCSI_NCR53C8XX" != "n" -a "$CONFIG_EXPERIMENTAL" = "y" ]; then

I hope this is useful to someone. :) I do not subscribe to this list,
so if you need to contact me, please respond to *wave*