Hi there, I need to get a Linux system up that's running a 2.4.17 kernel. Anyone know a particular distribution I can download that already has that kernel? If not, would someone please give me instructions on what distribution I should download, then tips on getting a 2.4.17 kernel compiled on that system, i.e. pointing me to a good how-to. The distribution doesn't matter. It just has to be Linux (not BSD, etc.). Thanks in advance!
You could try Debian Sarge. 2.4 is the default kernel for Sarge, but I don't know if it's 2.4.17. If it isn't, you can then compile a 2.4.17 kernel yourself: http://www.howtoforge.com/howto_linux_kernel_2.4_compile_debian
I downloaded Debian "Sarge" (3.1) here: http://cudlug.cudenver.edu/debian-cd/3.1_r4/i386/iso-cd/debian-31r4-i386-binary-1.iso It installed fine, although it gave an error during the package installation portion, whether or not I had "desktop" checked. I followed your HOWto but ran into a problem. I hope you, or someone, can help. Minor problems: 1. My folder is "linux" after doing the tar xjf, where yours is "linux-2.4.23". Maybe not a big deal, but I wanted to let you know. The file I downloaded was "linux-2.4.17.tar.bz2" from kernel.org. 2. My "make menuconfig" shows "arch/i386/debconfig" when I go to load an alternate configuration file. (Yours shows "/boot/config-2.4.18-bf2.4".) Not sure if that's a problem, or if that's OK. I ended up leaving what mine was by default. Major problem: make dep - OK make-kpkg clean - OK the fakeroot command ends up giving me an error I don't know how to export that text so I can paste it here, so I just took a picture (click for larger image): Hopefully it's something simple. Again, my project specifically requires I have a 2.4.17 kernel, so that's why I downloaded that version. Thanks in advance for any help you can provide!
Your picture doesn't show the first error which is the most important one. You can connect to your system with an SSH client such PuTTY. PuTTY lets you copy&paste to and from the shell.
Part 1: d-stack-boundary=2 -march=i686 -E -D__GENKSYMS__ wanmain.c | /sbin/genksyms -p smp_ -k 2.4.17 > /usr/src/linux/include/linux/modules/wanmain.ver.tmp mv /usr/src/linux/include/linux/modules/wanmain.ver.tmp /usr/src/linux/include/linux/modules/wanmain.ver /usr/src/linux/scripts/mkdep -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -- af_wanpipe.c wanmain.c wanproc.c > .depend make[6]: Leaving directory `/usr/src/linux/net/wanrouter' /usr/bin/make -C x25 fastdep make[6]: Entering directory `/usr/src/linux/net/x25' /usr/src/linux/scripts/mkdep -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -- af_x25.c sysctl_net_x25.c x25_dev.c x25_facilities.c x25_in.c x25_link.c x25_out.c x25_route.c x25_subr.c x25_timer.c > .depend make[6]: Leaving directory `/usr/src/linux/net/x25' make[5]: Leaving directory `/usr/src/linux/net' make[4]: Leaving directory `/usr/src/linux/net' /usr/bin/make -C ipc fastdep make[4]: Entering directory `/usr/src/linux/ipc' /usr/src/linux/scripts/mkdep -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -- msg.c sem.c shm.c util.c util.h > .depend make[4]: Leaving directory `/usr/src/linux/ipc' /usr/bin/make -C lib fastdep make[4]: Entering directory `/usr/src/linux/lib' gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -E -D__GENKSYMS__ cmdline.c | /sbin/genksyms -p smp_ -k 2.4.17 > /usr/src/linux/include/linux/modules/cmdline.ver.tmp mv /usr/src/linux/include/linux/modules/cmdline.ver.tmp /usr/src/linux/include/linux/modules/cmdline.ver gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -E -D__GENKSYMS__ dec_and_lock.c | /sbin/genksyms -p smp_ -k 2.4.17 > /usr/src/linux/include/linux/modules/dec_and_lock.ver.tmp mv /usr/src/linux/include/linux/modules/dec_and_lock.ver.tmp /usr/src/linux/include/linux/modules/dec_and_lock.ver gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -E -D__GENKSYMS__ rwsem-spinlock.c | /sbin/genksyms -p smp_ -k 2.4.17 > /usr/src/linux/include/linux/modules/rwsem-spinlock.ver.tmp mv /usr/src/linux/include/linux/modules/rwsem-spinlock.ver.tmp /usr/src/linux/include/linux/modules/rwsem-spinlock.ver gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -E -D__GENKSYMS__ rwsem.c | /sbin/genksyms -p smp_ -k 2.4.17 > /usr/src/linux/include/linux/modules/rwsem.ver.tmp mv /usr/src/linux/include/linux/modules/rwsem.ver.tmp /usr/src/linux/include/linux/modules/rwsem.ver /usr/src/linux/scripts/mkdep -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -- brlock.c bust_spinlocks.c cmdline.c ctype.c dec_and_lock.c errno.c inflate.c rbtree.c rwsem.c rwsem-spinlock.c string.c vsprintf.c > .depend make[4]: Leaving directory `/usr/src/linux/lib' /usr/bin/make -C arch/i386/kernel fastdep make[4]: Entering directory `/usr/src/linux/arch/i386/kernel' gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -E -D__GENKSYMS__ mca.c | /sbin/genksyms -p smp_ -k 2.4.17 > /usr/src/linux/include/linux/modules/mca.ver.tmp mv /usr/src/linux/include/linux/modules/mca.ver.tmp /usr/src/linux/include/linux/modules/mca.ver gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -E -D__GENKSYMS__ mtrr.c | /sbin/genksyms -p smp_ -k 2.4.17 > /usr/src/linux/include/linux/modules/mtrr.ver.tmp mv /usr/src/linux/include/linux/modules/mtrr.ver.tmp /usr/src/linux/include/linux/modules/mtrr.ver gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -E -D__GENKSYMS__ msr.c | /sbin/genksyms -p smp_ -k 2.4.17 > /usr/src/linux/include/linux/modules/msr.ver.tmp mv /usr/src/linux/include/linux/modules/msr.ver.tmp /usr/src/linux/include/linux/modules/msr.ver gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -E -D__GENKSYMS__ cpuid.c | /sbin/genksyms -p smp_ -k 2.4.17 > /usr/src/linux/include/linux/modules/cpuid.ver.tmp mv /usr/src/linux/include/linux/modules/cpuid.ver.tmp /usr/src/linux/include/linux/modules/cpuid.ver gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -E -D__GENKSYMS__ microcode.c | /sbin/genksyms -p smp_ -k 2.4.17 > /usr/src/linux/include/linux/modules/microcode.ver.tmp mv /usr/src/linux/include/linux/modules/microcode.ver.tmp /usr/src/linux/include/linux/modules/microcode.ver gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -E -D__GENKSYMS__ i386_ksyms.c | /sbin/genksyms -p smp_ -k 2.4.17 > /usr/src/linux/include/linux/modules/i386_ksyms.ver.tmp In file included from i386_ksyms.c:22: /usr/src/linux/include/asm/checksum.h:72:30: missing terminating " character /usr/src/linux/include/asm/checksum.h:90:13: missing terminating " character /usr/src/linux/include/asm/checksum.h:105:17: missing terminating " character /usr/src/linux/include/asm/checksum.h:108:17: missing terminating " character /usr/src/linux/include/asm/checksum.h:121:13: missing terminating " character /usr/src/linux/include/asm/checksum.h:126:9: missing terminating " character /usr/src/linux/include/asm/checksum.h:161:17: missing terminating " character /usr/src/linux/include/asm/checksum.h:173:17: missing terminating " character mv /usr/src/linux/include/linux/modules/i386_ksyms.ver.tmp /usr/src/linux/include/linux/modules/i386_ksyms.ver /usr/src/linux/scripts/mkdep -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -- acpitable.c acpitable.h apic.c apm.c bluesmoke.c cpuid.c dmi_scan.c entry.S head.S i386_ksyms.c i387.c i8259.c init_task.c io_apic.c ioport.c irq.c ldt.c mca.c microcode.c mpparse.c msr.c mtrr.c nmi.c pci-dma.c pci-i386.c pci-i386.h pci-irq.c pci-pc.c pci-visws.c process.c ptrace.c semaphore.c setup.c signal.c smpboot.c smp.c sys_i386.c time.c trampoline.S traps.c visws_apic.c vm86.c > .depend
Part 2: make[4]: Leaving directory `/usr/src/linux/arch/i386/kernel' /usr/bin/make -C arch/i386/mm fastdep make[4]: Entering directory `/usr/src/linux/arch/i386/mm' /usr/src/linux/scripts/mkdep -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -- extable.c fault.c init.c ioremap.c > .depend make[4]: Leaving directory `/usr/src/linux/arch/i386/mm' /usr/bin/make -C arch/i386/lib fastdep make[4]: Entering directory `/usr/src/linux/arch/i386/lib' /usr/src/linux/scripts/mkdep -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -- checksum.S dec_and_lock.c delay.c getuser.S iodebug.c memcpy.c mmx.c old-checksum.c strstr.c usercopy.c > .depend make[4]: Leaving directory `/usr/src/linux/arch/i386/lib' make[3]: Leaving directory `/usr/src/linux' /usr/bin/make update-modverfile make[3]: Entering directory `/usr/src/linux' /usr/src/linux/include/linux/modversions.h was updated make[3]: Leaving directory `/usr/src/linux' make[2]: Leaving directory `/usr/src/linux' make[1]: Leaving directory `/usr/src/linux' /usr/bin/make \ ARCH=i386 clean make[1]: Entering directory `/usr/src/linux' make[2]: Entering directory `/usr/src/linux/arch/i386/boot' rm -f tools/build rm -f setup bootsect zImage compressed/vmlinux.out rm -f bsetup bbootsect bzImage compressed/bvmlinux.out make[3]: Entering directory `/usr/src/linux/arch/i386/boot/compressed' rm -f vmlinux bvmlinux _tmp_* make[3]: Leaving directory `/usr/src/linux/arch/i386/boot/compressed' make[2]: Leaving directory `/usr/src/linux/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_gram.c drivers/scsi/aic7xxx/aicasm/aicasm_scan.c drivers/scsi/aic7xxx/aicasm/y.tab.h drivers/scsi/aic7xxx/aicasm/aicasm drivers/scsi/53c700-mem.c net/khttpd/make_times_h net/khttpd/times.h submenu* rm -rf modules /usr/bin/make -C Documentation/DocBook clean make[2]: Entering directory `/usr/src/linux/Documentation/DocBook' rm -f core *~ rm -f wanbook.sgml z8530book.sgml mcabook.sgml videobook.sgml kernel-api.sgml parportbook.sgml kernel-hacking.sgml kernel-locking.sgml via-audio.sgml mousedrivers.sgml sis900.sgml deviceiobook.sgml procfs-guide.sgml tulip-user.sgml rm -f wanbook.dvi z8530book.dvi mcabook.dvi videobook.dvi kernel-api.dvi parportbook.dvi kernel-hacking.dvi kernel-locking.dvi via-audio.dvi mousedrivers.dvi sis900.dvi deviceiobook.dvi procfs-guide.dvi tulip-user.dvi wanbook.aux z8530book.aux mcabook.aux videobook.aux kernel-api.aux parportbook.aux kernel-hacking.aux kernel-locking.aux via-audio.aux mousedrivers.aux sis900.aux deviceiobook.aux procfs-guide.aux tulip-user.aux wanbook.tex z8530book.tex mcabook.tex videobook.tex kernel-api.tex parportbook.tex kernel-hacking.tex kernel-locking.tex via-audio.tex mousedrivers.tex sis900.tex deviceiobook.tex procfs-guide.tex tulip-user.tex wanbook.log z8530book.log mcabook.log videobook.log kernel-api.log parportbook.log kernel-hacking.log kernel-locking.log via-audio.log mousedrivers.log sis900.log deviceiobook.log procfs-guide.log tulip-user.log wanbook.out z8530book.out mcabook.out videobook.out kernel-api.out parportbook.out kernel-hacking.out kernel-locking.out via-audio.out mousedrivers.out sis900.out deviceiobook.out procfs-guide.out tulip-user.out rm -f parport-share.png parport-multi.png parport-structure.png parport-share.eps parport-multi.eps parport-structure.eps rm -f procfs_example.sgml make[2]: Leaving directory `/usr/src/linux/Documentation/DocBook' make[1]: Leaving directory `/usr/src/linux' echo done > debian/stamp-kernel-conf ====== making target CONFIG-indep [new prereqs: conf.vars stamp-kernel-conf]====== This is kernel package version 10.067. ====== making target CONFIG/linux-source-2.4.17 [new prereqs: CONFIG-indep]====== ====== making target CONFIG/linux-doc-2.4.17 [new prereqs: CONFIG-indep]====== ====== making target CONFIG/linux-manual-2.4.17 [new prereqs: CONFIG-indep]====== ====== making target stamp-configure-indep [new prereqs: linux-source-2.4.17 linux-doc-2.4.17 linux-manual-2.4.17]====== ====== making target configure-indep [new prereqs: stamp-configure-indep]====== ====== making target stamp-configure [new prereqs: configure-arch configure-indep]====== ====== making target debian/stamp-build-kernel [new prereqs: sanity_check stamp-kernel-conf]====== This is kernel package version 10.067. /usr/bin/make ARCH=i386 \ bzImage make[1]: Entering directory `/usr/src/linux' gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include scripts/split-include.c scripts/split-include include/linux/autoconf.h include/config gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o init/main.o init/main.c . scripts/mkversion > .tmpversion gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DUTS_MACHINE='"i386"' -c -o init/version.o init/version.c /usr/bin/make CFLAGS="-D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 " -C kernel make[2]: Entering directory `/usr/src/linux/kernel' /usr/bin/make all_targets make[3]: Entering directory `/usr/src/linux/kernel' gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -fno-omit-frame-pointer -c -o sched.o sched.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o dma.o dma.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o fork.o fork.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DEXPORT_SYMTAB -c exec_domain.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o panic.o panic.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DEXPORT_SYMTAB -c printk.c
Part 3: gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o module.o module.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o exit.o exit.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o itimer.o itimer.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o info.o info.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o time.o time.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o softirq.o softirq.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o resource.o resource.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o sysctl.o sysctl.c sysctl.c: In function `do_proc_dointvec': sysctl.c:843: warning: use of cast expressions as lvalues is deprecated sysctl.c: In function `proc_dointvec_minmax': sysctl.c:996: warning: use of cast expressions as lvalues is deprecated sysctl.c: In function `do_proc_doulongvec_minmax': sysctl.c:1099: warning: use of cast expressions as lvalues is deprecated gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o acct.o acct.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o capability.o capability.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o ptrace.o ptrace.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o timer.o timer.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o user.o user.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DEXPORT_SYMTAB -c signal.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DEXPORT_SYMTAB -c sys.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DEXPORT_SYMTAB -c kmod.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DEXPORT_SYMTAB -c context.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o uid16.o uid16.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DEXPORT_SYMTAB -c ksyms.c In file included from ksyms.c:50: /usr/src/linux/include/asm/checksum.h:72:30: missing terminating " character In file included from ksyms.c:50: /usr/src/linux/include/asm/checksum.h: In function `ip_fast_csum': /usr/src/linux/include/asm/checksum.h:73: error: syntax error before "movl" /usr/src/linux/include/asm/checksum.h:75:17: invalid suffix "f" on integer constant /usr/src/linux/include/asm/checksum.h:82:17: invalid suffix "b" on integer constant /usr/src/linux/include/asm/checksum.h:90:13: missing terminating " character /usr/src/linux/include/asm/checksum.h:105:17: missing terminating " character /usr/src/linux/include/asm/checksum.h: In function `csum_fold': /usr/src/linux/include/asm/checksum.h:106: error: syntax error before "addl" /usr/src/linux/include/asm/checksum.h:108:17: missing terminating " character /usr/src/linux/include/asm/checksum.h:121:13: missing terminating " character /usr/src/linux/include/asm/checksum.h: In function `csum_tcpudp_nofold': /usr/src/linux/include/asm/checksum.h:122: error: syntax error before "addl" /usr/src/linux/include/asm/checksum.h:126:9: missing terminating " character /usr/src/linux/include/asm/checksum.h:128: error: `__x' undeclared (first use in this function) /usr/src/linux/include/asm/checksum.h:128: error: (Each undeclared identifier is reported only once /usr/src/linux/include/asm/checksum.h:128: error: for each function it appears in.) /usr/src/linux/include/asm/checksum.h: At top level: /usr/src/linux/include/asm/checksum.h:128: error: syntax error before ')' token /usr/src/linux/include/asm/checksum.h:161:17: missing terminating " character /usr/src/linux/include/asm/checksum.h: In function `csum_ipv6_magic': /usr/src/linux/include/asm/checksum.h:162: error: syntax error before "addl" /usr/src/linux/include/asm/checksum.h:173:17: missing terminating " character /usr/src/linux/include/asm/checksum.h:176: error: `__x' undeclared (first use in this function) /usr/src/linux/include/asm/checksum.h:176: warning: no return statement in function returning non-void /usr/src/linux/include/asm/checksum.h: At top level: /usr/src/linux/include/asm/checksum.h:176: error: syntax error before ')' token /usr/src/linux/include/asm/checksum.h:176: error: syntax error before "__u32" make[3]: *** [ksyms.o] Error 1 make[3]: Leaving directory `/usr/src/linux/kernel' make[2]: *** [first_rule] Error 2 make[2]: Leaving directory `/usr/src/linux/kernel' make[1]: *** [_dir_kernel] Error 2 make[1]: Leaving directory `/usr/src/linux' make: *** [debian/stamp-build-kernel] Error 2 debian:/usr/src/linux#
It seems to be a problem with your gcc version: http://mirror.hamakor.org.il/archives/linux-il/05-2003/2265.html http://lists.debian.org/debian-user/2004/01/msg02196.html You can either try another gcc version or edit the /usr/src/linux/include/asm/checksum.h file.
I tried both suggestions but neither are helping. 1. Regarding the suggestion to modify the checksum.h file, I did that and got further. I then had to also modify a floppy.h file the same way. Again, I got further until I ended up with a different error: /usr/bin/make -C ide make[3]: Entering directory `/usr/src/linux/drivers/ide' /usr/bin/make all_targets make[4]: Entering directory `/usr/src/linux/drivers/ide' ld -m elf_i386 -r -o ide-mod.o ide.o ide-features.o cmd640.o ide-adma.o ide-dma.o ide-pci.o piix.o rz1000.o ide-proc.o ld -m elf_i386 -r -o ide-probe-mod.o ide-probe.o ide-geometry.o gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o ide-cd.o ide-cd.c In file included from ide-cd.c:318: ide-cd.h:438: error: long, short, signed or unsigned used invalidly for `slot_tablelen' make[4]: *** [ide-cd.o] Error 1 make[4]: Leaving directory `/usr/src/linux/drivers/ide' make[3]: *** [first_rule] Error 2 make[3]: Leaving directory `/usr/src/linux/drivers/ide' make[2]: *** [_subdir_ide] Error 2 make[2]: Leaving directory `/usr/src/linux/drivers' make[1]: *** [_dir_drivers] Error 2 make[1]: Leaving directory `/usr/src/linux' make: *** [debian/stamp-build-kernel] Error 2 Not sure how to proceed here, as far as this "manually modify the files" route is concerned. For what it's worth, here's the section in ide-cd.h that it's referring to: #if defined(__BIG_ENDIAN_BITFIELD) __u8 mech_state : 3; __u8 door_open : 1; __u8 reserved1 : 4; #elif defined(__LITTLE_ENDIAN_BITFIELD) __u8 reserved1 : 4; __u8 door_open : 1; __u8 mech_state : 3; #else #error "Please fix <asm/byteorder.h>" #endif byte curlba[3]; byte nslots; __u8 short slot_tablelen; }; 2. It seems that using an older version of GCC would be easier, but I don't understand exactly how to do so. The suggestions on that mailing list aren't specific enough for a novice such as myself. First example: "I think prepending "CC=gcc-2.95" to the command line ought to be enough." Second example: "make bzImage CC=gcc-2.95" Examples of syntax? I don't understand. How exactly do I incorporate "use old GCC 2.95" with my command that's giving problems (fakeroot make-kpkg --revision=custom.1.0 kernel_image)? Thanks again for all of your help. I appreciate it very much.
debian:~# apt-cache search gcc acovea - analysis of compiler options via evolutionary algorithms cableswig - Generate wrappers for Python and Tcl from C++ code chill-2.95 - The GNU CHILL compiler colorgcc - Colorizer for GCC warning/error messages cpp - The GNU C preprocessor (cpp) cpp-2.95 - The GNU C preprocessor cpp-2.95-doc - Documentation for the GNU C preprocessor (cpp) cpp-3.3 - The GNU C preprocessor cpp-3.4 - The GNU C preprocessor cpp-4.1 - The GNU C preprocessor cpphs - Simplified cpp-a-like preprocessor for Haskell cstream - general-purpose stream-handling tool similar to dd cxref - Generates latex and HTML documentation for C programs dpkg-dev - package building tools for Debian g++-2.95 - The GNU C++ compiler g++-3.4 - The GNU C++ compiler g77 - The GNU Fortran 77 compiler g77-2.95 - The GNU Fortran 77 compiler g77-2.95-doc - Documentation for the GNU Fortran compiler (g77) g77-3.4 - The GNU Fortran 77 compiler gcc - The GNU C compiler gcc-2.95 - The GNU C compiler gcc-2.95-doc - Documentation for the GNU compilers (gcc, gobjc, g++) gcc-3.3 - The GNU C compiler gcc-3.3-base - The GNU Compiler Collection (base package) gcc-3.4 - The GNU C compiler gcc-3.4-base - The GNU Compiler Collection (base package) gcc-4.1 - The GNU C compiler gcc-4.1-base - The GNU Compiler Collection (base package) gcc-4.1-locales - The GNU C compiler (native language support files) gcc-4.1-source - Source of the GNU Compiler Collection gcc-avr - The GNU C compiler (cross compiler for avr) gcc-m68hc1x - GNU C compiler for the Motorola 68HC11/12 processors gcc272 - The GNU C compiler. gcc272-docs - Documentation for the gcc compiler (gcc272). gccxml - XML output extension to GCC gcj - The GNU Java compiler gcj-4.1 - The GNU compiler for Java(TM) gcj-4.1-base - The GNU Compiler Collection (gcj base package) gfortran - The GNU Fortran 95 compiler gfortran-4.1 - The GNU Fortran 95 compiler ggcov - Graphical tool for displaying gcov test coverage data gnat-4.1 - The GNU Ada compiler gnat-4.1-base - The GNU Compiler Collection (gnat base package) gobjc - The GNU Objective-C compiler gobjc++ - The GNU Objective-C++ compiler gobjc++-4.1 - The GNU Objective-C++ compiler gobjc-2.95 - The GNU Objective-C compiler gobjc-4.1 - The GNU Objective-C compiler gpc - The GNU Pascal compiler gpc-2.1-3.4 - The GNU Pascal compiler gpc-2.1-3.4-doc - Documentation for the GNU Pascal compiler (gpc) gpc-2.95 - The GNU Pascal compiler gpc-2.95-doc - Documentation for the GNU Pascal compiler (gpc) lib64gcc1 - GCC support library (64bit) lib64mudflap0 - GCC mudflap shared support libraries (64bit) lib64ssp0 - GCC stack smashing protection library (64bit) libacovea-5.1-5 - library for analyzing compiler options via evolutionary algori thms libacovea-dev - library for analyzing compiler options via evolutionary algorith ms libaspell15c2 - GNU Aspell spell-checker runtime library [dummy] libg++2.8.1.3-dbg - The GNU C++ extension library - debugging files libg++2.8.1.3-dev - The GNU C++ extension library - development files libg++2.8.1.3-glibc2.2 - The GNU C++ extension library - runtime version libgcc1 - GCC support library libgcj7-0 - Java runtime library for use with gcj libgcj7-dev - Java development headers and static library for use with gcj libgcj7-jar - Java runtime library for use with gcj (jar files) libmudflap0 - GCC mudflap shared support libraries libmudflap0-dev - GCC mudflap support libraries (development files) libssp0 - GCC stack smashing protection library libstdc++2.10-dbg - The GNU stdc++ library (debugging files) libstdc++2.10-dev - The GNU stdc++ library (development files) libstdc++2.10-glibc2.2 - The GNU stdc++ library motor - C/C++/Java Integrated Development Environment motor-common - C/C++/Java Integrated Development Environment motor-fribidi - C/C++/Java Integrated Development Environment pentium-builder - force pentium optimized compilation pilrc - PalmOS resource compiler and editor pilrcui - graphical viewer for PalmOS resource files pocketpc-gcc - The GNU C compiler for Pocket PC ratfor - Rational Fortran preprocessor for Fortran 77 stalin - An extremely aggressive Scheme compiler tcc - The smallest ANSI C compiler treelang-4.1 - The GNU Treelang compiler uisp - Micro In-System Programmer for Atmel's AVR MCUs debian:~#
If you think it would be easier, I don't mind download another distribution. I just need a 2.4.17 kernel =) /usr/bin/make -C ide make[3]: Entering directory `/usr/src/linux/drivers/ide' /usr/bin/make all_targets make[4]: Entering directory `/usr/src/linux/drivers/ide' gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DEXPORT_SYMTAB -c ide.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DEXPORT_SYMTAB -c ide-features.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o cmd640.o cmd640.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o ide-adma.o ide-adma.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o ide-dma.o ide-dma.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o ide-pci.o ide-pci.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o piix.o piix.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o rz1000.o rz1000.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o ide-proc.o ide-proc.c ld -m elf_i386 -r -o ide-mod.o ide.o ide-features.o cmd640.o ide-adma.o ide-dma.o ide-pci.o piix.o rz1000.o ide-proc.o gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o ide-probe.o ide-probe.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o ide-geometry.o ide-geometry.c ld -m elf_i386 -r -o ide-probe-mod.o ide-probe.o ide-geometry.o gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o ide-disk.o ide-disk.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o ide-cd.o ide-cd.c In file included from ide-cd.c:318: ide-cd.h:438: error: long, short, signed or unsigned used invalidly for `slot_tablelen' make[4]: *** [ide-cd.o] Error 1 make[4]: Leaving directory `/usr/src/linux/drivers/ide' make[3]: *** [first_rule] Error 2 make[3]: Leaving directory `/usr/src/linux/drivers/ide' make[2]: *** [_subdir_ide] Error 2 make[2]: Leaving directory `/usr/src/linux/drivers' make[1]: *** [_dir_drivers] Error 2 make[1]: Leaving directory `/usr/src/linux' make: *** [debian/stamp-build-kernel] Error 2 debian:/usr/src/linux#
I just re-installed Debian 3.1 r4 then ran the command "apt-get install gcc-2.95" before following your instructions. Now I'm getting a different error after I enter the "fakeroot make-kpkg --revision=custom.1.0 kernel_image" command: /usr/bin/make ARCH=i386 \ bzImage make[1]: Entering directory `/usr/src/linux' gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include scripts/split-include.c scripts/split-include include/linux/autoconf.h include/config gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o init/main.o init/main.c In file included from /usr/src/linux/include/linux/prefetch.h:13, from /usr/src/linux/include/linux/list.h:6, from /usr/src/linux/include/linux/wait.h:14, from /usr/src/linux/include/linux/fs.h:12, from /usr/src/linux/include/linux/capability.h:17, from /usr/src/linux/include/linux/binfmts.h:5, from /usr/src/linux/include/linux/sched.h:9, from /usr/src/linux/include/linux/mm.h:4, from /usr/src/linux/include/linux/slab.h:14, from /usr/src/linux/include/linux/proc_fs.h:5, from init/main.c:15: /usr/src/linux/include/asm/processor.h:73: error: array type has incomplete element type In file included from /usr/src/linux/include/linux/fs.h:200, from /usr/src/linux/include/linux/capability.h:17, from /usr/src/linux/include/linux/binfmts.h:5, from /usr/src/linux/include/linux/sched.h:9, from /usr/src/linux/include/linux/mm.h:4, from /usr/src/linux/include/linux/slab.h:14, from /usr/src/linux/include/linux/proc_fs.h:5, from init/main.c:15: /usr/src/linux/include/asm/byteorder.h:14: warning: type qualifiers ignored on function return type /usr/src/linux/include/asm/byteorder.h:28: warning: type qualifiers ignored on function return type In file included from /usr/src/linux/include/linux/byteorder/little_endian.h:11, from /usr/src/linux/include/asm/byteorder.h:45, from /usr/src/linux/include/linux/fs.h:200, from /usr/src/linux/include/linux/capability.h:17, from /usr/src/linux/include/linux/binfmts.h:5, from /usr/src/linux/include/linux/sched.h:9, from /usr/src/linux/include/linux/mm.h:4, from /usr/src/linux/include/linux/slab.h:14, from /usr/src/linux/include/linux/proc_fs.h:5, from init/main.c:15: /usr/src/linux/include/linux/byteorder/swab.h:132: warning: type qualifiers ignored on function return type /usr/src/linux/include/linux/byteorder/swab.h:145: warning: type qualifiers ignored on function return type /usr/src/linux/include/linux/byteorder/swab.h:159: warning: type qualifiers ignored on function return type In file included from /usr/src/linux/include/linux/fs.h:313, from /usr/src/linux/include/linux/capability.h:17, from /usr/src/linux/include/linux/binfmts.h:5, from /usr/src/linux/include/linux/sched.h:9, from /usr/src/linux/include/linux/mm.h:4, from /usr/src/linux/include/linux/slab.h:14, from /usr/src/linux/include/linux/proc_fs.h:5, from init/main.c:15: /usr/src/linux/include/linux/ncp_fs_i.h:26: warning: 'packed' attribute ignored for field of type '__u8' /usr/src/linux/include/linux/ncp_fs_i.h:27: warning: 'packed' attribute ignored for field of type '__u8[6]' In file included from /usr/src/linux/include/linux/ncp_mount.h:12, from /usr/src/linux/include/linux/ncp_fs_sb.h:12, from /usr/src/linux/include/linux/fs.h:689, from /usr/src/linux/include/linux/capability.h:17, from /usr/src/linux/include/linux/binfmts.h:5, from /usr/src/linux/include/linux/sched.h:9, from /usr/src/linux/include/linux/mm.h:4, from /usr/src/linux/include/linux/slab.h:14, from /usr/src/linux/include/linux/proc_fs.h:5, from init/main.c:15: /usr/src/linux/include/linux/ncp.h:24: warning: 'packed' attribute ignored for field of type '__u8' /usr/src/linux/include/linux/ncp.h:25: warning: 'packed' attribute ignored for field of type '__u8' /usr/src/linux/include/linux/ncp.h:26: warning: 'packed' attribute ignored for field of type '__u8' /usr/src/linux/include/linux/ncp.h:27: warning: 'packed' attribute ignored for field of type '__u8' /usr/src/linux/include/linux/ncp.h:28: warning: 'packed' attribute ignored for field of type '__u8' /usr/src/linux/include/linux/ncp.h:29: warning: 'packed' attribute ignored for field of type '__u8[]' /usr/src/linux/include/linux/ncp.h:37: warning: 'packed' attribute ignored for field of type '__u8' /usr/src/linux/include/linux/ncp.h:38: warning: 'packed' attribute ignored for field of type '__u8' /usr/src/linux/include/linux/ncp.h:39: warning: 'packed' attribute ignored for field of type '__u8' /usr/src/linux/include/linux/ncp.h:40: warning: 'packed' attribute ignored for field of type '__u8' /usr/src/linux/include/linux/ncp.h:41: warning: 'packed' attribute ignored for field of type '__u8' /usr/src/linux/include/linux/ncp.h:42: warning: 'packed' attribute ignored for field of type '__u8' /usr/src/linux/include/linux/ncp.h:43: warning: 'packed' attribute ignored for field of type '__u8[]' /usr/src/linux/include/linux/ncp.h:137: warning: 'packed' attribute ignored for field of type '__u8' /usr/src/linux/include/linux/ncp.h:138: warning: 'packed' attribute ignored for field of type '__u8[256]' /usr/src/linux/include/linux/ncp.h:174: warning: 'packed' attribute ignored for field of type '__u8' In file included from /usr/src/linux/include/asm/smp.h:17, from /usr/src/linux/include/linux/smp.h:14, from /usr/src/linux/include/linux/sched.h:23, from /usr/src/linux/include/linux/mm.h:4, from /usr/src/linux/include/linux/slab.h:14, from /usr/src/linux/include/linux/proc_fs.h:5, from init/main.c:15: /usr/src/linux/include/asm/mpspec.h:86: warning: 'packed' attribute ignored for field of type 'unsigned char[6]' In file included from /usr/src/linux/include/linux/sched.h:23, from /usr/src/linux/include/linux/mm.h:4, from /usr/src/linux/include/linux/slab.h:14, from /usr/src/linux/include/linux/proc_fs.h:5, from init/main.c:15: /usr/src/linux/include/linux/smp.h:29: error: conflicting types for 'smp_send_reschedule' /usr/src/linux/include/asm/smp.h:65: error: previous declaration of 'smp_send_reschedule' was here In file included from /usr/src/linux/include/linux/unistd.h:9, from init/main.c:17: /usr/src/linux/include/asm/unistd.h:348: warning: conflicting types for built-in function '_exit' make[1]: *** [init/main.o] Error 1 make[1]: Leaving directory `/usr/src/linux' make: *** [debian/stamp-build-kernel] Error 2 debian:/usr/src/linux#
No problem, I appreciate your time. Could you, perhaps, suggest another distribution to try (that ships with a 2.4 kernel) and even point me to a good "how to" to recompile a kernel on it, so I can try to get 2.4.17 on it? Cheers, -mod