Georg Koss wrote: > > Hello all! > > Having a G4 with woody/2.2.19-pre17 and the Gnome-desktop running. > I tried a couple of times to compile a 2.4.x kernel with make-kpkg > - latest trial was linux-benh-devel (2.4.6-pre3). > All failed until now with nearly the same problem on beginning > > find: /usr/src/modules: No such file or directory > test -f stamp-debian || make -f /usr/share/kernel-package/rules debian > test -f .config || make -f /usr/share/kernel-package/rules .config > test ! -f stamp-configure \ > && make CROSS_COMPILE= \ > ARCH=ppc oldconfig \ > && make CROSS_COMPILE= \ > ARCH=ppc dep \ > && make CROSS_COMPILE= \ > ARCH=ppc clean && \ > touch stamp-configure > make: [stamp-configure] Error 1 (ignored) > > ...and ended with: > > make[2]: Leaving directory `/usr/src/benh' > cp vmlinux debian/tmp-image/boot/vmlinux-2.4.6-pre6 > chmod 644 debian/tmp-image/boot/vmlinux-2.4.6-pre6 > cp arch/ppc/coffboot/vmlinux.coff > debian/tmp-image/boot/vmlinux.coff-2.4.6-pre6 > cp: Cannot stat »arch/ppc/coffboot/vmlinux.coff« : No such file or directory > make[1]: *** [kernel-image-deb] Error 1 > ..., - this problem was reported by Michael Blakeley on June 27th on > this list in a similar way.
I wasn't aware the benh's tree was set up as a kernel-source package. Is it? > So I tried Peter Cordes' way, he told, is working for him. It works for me too. > On Thu, Jun 28, 2001 at 11:05:05PM -0300, Peter Cordes wrote: > > > > rsync rsync://rsync.penguinppc.org/linux-2.4-benh linux > > cd linux > > make menuconfig (or make xconfig, if you like) > > I tried it as you told but there happened something strange. I was > able to configure with make menuconfig but make xconfig failed with > this error: > > rm -f include/asm > ( cd include ; ln -sf asm-ppc asm) > make -C scripts kconfig.tk > make[1]: Entering directory `/home/georg/benh/scripts' > cat header.tk >> ./kconfig.tk > ./tkparse < ../arch/ppc/config.in >> kconfig.tk > drivers/net/Config.in: 146: can't handle dep_bool/dep_mbool/dep_tristate > condition > make[1]: *** [kconfig.tk] Error 1 > make[1]: Leaving directory `/home/georg/benh/scripts' > make: *** [xconfig] Error 2 > > After a menuconfig and make vmlinux modules modules-install there was another > error "not finding" modules. > > Sorry if I ask that naive but I'm not that experiened with linux and > no CS but if some don't have problems compiling 2.4.x and others do, > might there be a problem with some lib's? (my last update was > some 3 weeks ago, but I need the box working right now). Hey, let's keep these discussions civil, OK? But seriously, if you need your machine to be running, why do you want to mess with 2.4? Is there something that you need that only 2.4 can provide? You already seem to know the rule "Don't fix what ain't broken." But if you really must have 2.4 ... actually that last error message MIGHT indicate the benh's tree is in flux right at the moment. Did you try rsync'ing it again to pick up any changes? a