[EMAIL PROTECTED] linux]# make mrproper
make[1]: Entering directory `/usr/src/linux-2.4.21/arch/i386/boot'
rm -f tools/build
rm -f setup bootsect zImage compressed/vmlinux.out
rm -f bsetup bbootsect bzImage compressed/bvmlinux.out
make[2]: Entering directory `/usr/src/linux-2.4.21/arch/i386/boot/compressed'
rm -f vmlinux bvmlinux _tmp_*
make[2]: Leaving directory `/usr/src/linux-2.4.21/arch/i386/boot/compressed'
make[1]: Leaving directory `/usr/src/linux-2.4.21/arch/i386/boot'
find . \( -name '*.[oas]' -o -name core -o -name '.*.flags' \) -type f -print \
| grep -v lxdialog/ | xargs rm -f
rm -f kernel/ksyms.lst include/linux/compile.h vmlinux System.map .tmp* drivers/char/consolemap_deftbl.c drivers/video/promcon_tbl.c drivers/char/conmakehash drivers/char/drm/*-mod.c drivers/pci/devlist.h drivers/pci/classlist.h drivers/pci/gen-devlist drivers/zorro/devlist.h drivers/zorro/gen-devlist drivers/sound/bin2hex drivers/sound/hex2hex drivers/atm/fore200e_mkfirm drivers/atm/{pca,sba}*{.bin,.bin1,.bin2} drivers/scsi/aic7xxx/aicasm/aicasm drivers/scsi/aic7xxx/aicasm/aicasm_gram.c drivers/scsi/aic7xxx/aicasm/aicasm_gram.h drivers/scsi/aic7xxx/aicasm/aicasm_macro_gram.c drivers/scsi/aic7xxx/aicasm/aicasm_macro_gram.h drivers/scsi/aic7xxx/aicasm/aicasm_macro_scan.c drivers/scsi/aic7xxx/aicasm/aicasm_scan.c drivers/scsi/aic7xxx/aicasm/aicdb.h drivers/scsi/aic7xxx/aicasm/y.tab.h drivers/scsi/53c700_d.h net/khttpd/make_times_h net/khttpd/times.h submenu*
rm -rf modules
make -C Documentation/DocBook clean
make[1]: Entering directory `/usr/src/linux-2.4.21/Documentation/DocBook'
Makefile:200: /Rules.make: No such file or directory
make[1]: *** No rule to make target `/Rules.make'. Stop.
make[1]: Leaving directory `/usr/src/linux-2.4.21/Documentation/DocBook'
make: *** [clean] Error 2
After some digging it appears that the problem is that the $TOPDIR variable (referenced in various Makefiles) is never getting set and/or passed somewhere. $TOPDIR looks like it should be /usr/src/linux, and if i do 'export TOPDIR=/usr/src/linux', then 'make mrproper' completes successfully. Alternatively, if i just add 'TOPDIR=/usr/src/linux' to the top of /usr/src/linux/Documentation/DocBook, 'make mrproper' also completes successfully.
Unfortunately, this variable craziness just continues to propogate down hill, as when i do 'make xconfig' :
[EMAIL PROTECTED] 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-2.4.21/scripts'
make[1]: *** No rule to make target `/usr/src/linux-2.4.21/arch//config.in', needed by `kconfig.tk'. Stop.
make[1]: Leaving directory `/usr/src/linux-2.4.21/scripts'
make: *** [xconfig] Error 2
Its blowing up here because the $ARCH variable isn't getting passed either. Now i could play the game of hacking that variable into place too, but it just continues to spiral down.
So i'm really wondering what the hell is broken here?
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ L. Friedman [EMAIL PROTECTED] Linux Step-by-step & TyGeMo: http://netllama.ipfox.com
1:50pm up 14 days, 22:04, 1 user, load average: 0.28, 0.20, 0.19
_______________________________________________ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users
