Re: Compiling 2.4.x no success
Georg Koss <g.koss@eunet.at> writes:
> 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.
>
Hi Georg,
quick solution is to mkdir arch/ppc/coffboot and touch vmlinux.coff.
It looks like make-kpkg wants to package vmlinux.coff which is not
built in Ben's tree.
Jiri
Reply to: