2.1.84: make xconfig,make clean fail

Martin Imrisek (modulus@interlog.com)
Sat, 31 Jan 1998 10:23:22 -0500 (EST)


Like the message says, make xconfig fails with the following error:

[root@orpheus linux]# make xconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts kconfig.tk
make[1]: Entering directory `/usr/src/linux/scripts'
cat header.tk >> ./kconfig.tk
./tkparse < ../arch/i386/config.in >> kconfig.tk
echo "set defaults \"arch/i386/defconfig\"" >> kconfig.tk
cat tail.tk >> kconfig.tk
chmod 755 kconfig.tk
make[1]: Leaving directory `/usr/src/linux/scripts'
wish -f scripts/kconfig.tk
missing close-brace
while executing
"proc update_define { } ..."
(file "scripts/kconfig.tk" line 5972)
make: *** [xconfig] Error 1

make clean fails with this error:

.depend:1: *** unterminated call to function `wildcard': missing `)'.
Stop.

Inspecting .depend I found an unterminated last line:

$(wildcard /usr/src/linux/include/config/plip.h) \
$(wildcard /usr/src/linux/include/config/hfmodem.h) \
$(wildcard /usr/src/linux/include/config/ip/pnp.h) \
$(wildcard /usr/src/linux/include/config/root/nfs.h) \
$(wildcard /usr/src/linux/include/config/ftape.h) \
$(wildcard /usr/src/linux/include/config/sysvipc.h) \
$(wildcard /usr/src/linux/include/confi
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Starting from scratch after this point (untarring the source, doing make
menuconfig)
and doing make dep fails with the following error:

.depend:117: *** unterminated variable reference. Stop.
make[4]: Leaving directory `/usr/src/linux/drivers/char/ftape/zftape'
make[3]: *** [fastdep] Error 2
make[3]: Leaving directory `/usr/src/linux/drivers/char/ftape'
make[2]: *** [fastdep] Error 2
make[2]: Leaving directory `/usr/src/linux/drivers/char'
make[1]: *** [fastdep] Error 2
make[1]: Leaving directory `/usr/src/linux/drivers'
make: *** [dep-files] Error 2

--------------------------------------------------------------
Martin Imrisek "I've done . . . questionable things.
imrisek@interlog.com Nothing the God of biomechanics
wouldn't let you into heaven for."