Hi, I am running the latest sid and I'm trying to compile a custom 2.0.38 kernel for use with smalllinux on an ancient PS/2 386 with 4 megs of RAM. (The default won't do because it doesn't have support for ESDI drives.)
Anyway, I'm running into a problem. I can't seem to run a make or even make dep without running into errors. I've tried using gcc272 and even altgcc, with the same problem. Okay, so here's what happens with a fresh tree: $ make dep gcc -I/home/cmason/linux/kernel/linux/include -O2 -fomit-frame-pointer -o scripts/mkdep scripts/mkdep.c make[1]: Entering directory `/u1/cmason/linux/kernel/linux/arch/i386/boot' make[1]: Nothing to be done for `dep'. make[1]: Leaving directory `/u1/cmason/linux/kernel/linux/arch/i386/boot' scripts/mkdep init/*.c > .tmpdepend scripts/mkdep `find /home/cmason/linux/kernel/linux/include/asm /home/cmason/linux/kernel/linux/include/linux /home/cmason/linux/kernel/linux/include/scsi /home/cmason/linux/kernel/linux/include/net -follow -name \*.h ! -name modversions.h -print` > .hdepend /home/cmason/linux/kernel/linux/include/asm/mtrr.h needs config but has not included config file /home/cmason/linux/kernel/linux/include/linux/if_frad.h doesn't need config set -e; for i in kernel drivers mm fs net ipc lib arch/i386/kernel arch/i386/mm arch/i386/lib arch/i386/math-emu; do make -C $i fastdep; done make[1]: Entering directory `/u1/cmason/linux/kernel/linux/kernel' if [ -n "dma.c exec_domain.c exit.c fork.c info.c itimer.c ksyms.c module.c panic.c printk.c resource.c sched.c signal.c softirq.c sys.c sysctl.c time.c" ]; then \ /home/cmason/linux/kernel/linux/scripts/mkdep *.[chS] > .depend; fi make[1]: Leaving directory `/u1/cmason/linux/kernel/linux/kernel' make[1]: Entering directory `/u1/cmason/linux/kernel/linux/drivers' if [ -n "" ]; then \ /home/cmason/linux/kernel/linux/scripts/mkdep *.[chS] > .depend; fi set -e; for i in block char net pci sbus scsi sound cdrom isdn; do make -C $i fastdep; done make[2]: Entering directory `/u1/cmason/linux/kernel/linux/drivers/block' if [ -n "DAC960.c DAC960.h ali14xx.c amiflop.c ataflop.c cmd640.c cpqarray.c cpqarray.h dtc2278.c floppy.c genhd.c hd.c ht6560b.c ida_cmd.h ida_ioctl.h ide-cd.c ide-floppy.c ide-tape.c ide-tape.h ide.c ide.h ide_modes.h linear.c ll_rw_blk.c loop.c md.c proc_array.c promise.c promise.h qd6580.c raid0.c raid1.c raid5.c rd.c rz1000.c triton.c umc8672.c xd.c" ]; then \ /home/cmason/linux/kernel/linux/scripts/mkdep *.[chS] > .depend; fi cpqarray.h doesn't need config make[2]: Leaving directory `/u1/cmason/linux/kernel/linux/drivers/block' make[2]: Entering directory `/u1/cmason/linux/kernel/linux/drivers/char' gcc -I/home/cmason/linux/kernel/linux/include -o conmakehash conmakehash.c ./conmakehash cp437.uni > uni_hash.tbl if [ -n "amigamouse.c atarimouse.c atixlmouse.c baycom.c busmouse.c cd1865.h conmakehash.c console.c console_struct.h consolemap.c consolemap.h cyclades.c defkeymap.c diacr.h digi.h digi_bios.h digi_fep.h fbmem.c fep.h h8.c h8.h isicom.c istallion.c kbd_kern.h keyb_m68k.c keyboard.c lp.c lp_intern.c lp_m68k.c mem.c misc.c msbusmouse.c n_tty.c pcwd.c pcxx.c pcxx.h psaux.c pty.c random.c riscom8.c riscom8.h riscom8_reg.h rtc.c scc.c selection.c selection.h serial.c softdog.c specialix.c specialix_io8.h stallion.c tga.c tpqic02.c tty_io.c tty_ioctl.c vc_screen.c vesa_blank.c vga.c vt.c vt_kern.h wd501p.h wdt.c" ]; then \ /home/cmason/linux/kernel/linux/scripts/mkdep *.[chS] > .depend; fi make[2]: *** [fastdep] Error 135 make[2]: Leaving directory `/u1/cmason/linux/kernel/linux/drivers/char' make[1]: *** [fastdep] Error 2 make[1]: Leaving directory `/u1/cmason/linux/kernel/linux/drivers' make: *** [dep-files] Error 2 It always dies under drivers/char no matter what compiler I use. Anyone have any pointers for me? Thanks a lot! Chris