[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Compiling 2.4.x no success



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.


So I tried Peter Cordes' way, he told, is working for him.

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).
If so can anybody give me (us) a hint where to start.

Thanks for your (great) patience
-- 
mfg

Georg Koss

mailto: g.koss@eunet.at



Reply to: