Compiling linuxv2.0.3 (fix)

Mancini The Marvelous (mancini@defnet.com)
Mon, 8 Jul 1996 09:23:57 -0400 (EDT)


Hiya's!

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/config.in > kconfig.tmp
Bad if clause at line 60(drivers/scsi/Config.in):[ "$CONFIG_SCSI_NCR53C8XX" != "n" -a $CONFIG_EXPERIMENTAL = 'y' ]; then
make[1]: *** [kconfig.tk] 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/Config.in in this case) and changing line 60 to
the following:

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

TO:
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 mancini@bright.net. *wave*

Louis