I also had problems with compiling the kernel, mostly in the 
block devices section. The same with three different installations
on three PC's. I don't think it's the order of the make arguments,
guess it could be more the gcc/kgcc thingy... Will try.

Georg


John Wolford wrote:
> 
> To be precise, the how-to's give the order thusly:
> 
> make dep clean modules modules_install bzdisk
> and then later "depmod -a" and then if you're happy with everything when you
> boot up with your floppy, back into /usr/src/linux and
> make install
> 
> I think you modules_install implies modules, but still the point is that you
> are making the image before the modules. Could that have something to do with
> it?
> 
> j
> 
> --- Robert V Fleisig <[EMAIL PROTECTED]> wrote:
> > I'm trying to compile the kernel provided by kernel-source-2.4.3-20mdk.
> > I do (as root):
> >
> > cd /usr/src/linux
> > make dep
> > make clean
> > make bzImage
> > make modules
> >
> > This is where I run into problems. Please see the attached log.
> >
> > Regards,
> > Robert
> > > make -C  kernel CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.3/include -Wall
> > -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
> > -march=i586 -DMODULE -DMODVERSIONS -include
> > /usr/src/linux-2.4.3/include/linux/modversions.h" MAKING_MODULES=1 modules
> > make[1]: Entering directory `/usr/src/linux-2.4.3/kernel'
> > make[1]: Nothing to be done for `modules'.
> > make[1]: Leaving directory `/usr/src/linux-2.4.3/kernel'
> > make -C  drivers CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.3/include -Wall
> > -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
> > -march=i586 -DMODULE -DMODVERSIONS -include
> > /usr/src/linux-2.4.3/include/linux/modversions.h" MAKING_MODULES=1 modules
> > make[1]: Entering directory `/usr/src/linux-2.4.3/drivers'
> > make -C atm modules
> > make[2]: Entering directory `/usr/src/linux-2.4.3/drivers/atm'
> > ld -m elf_i386 -r -o fore_200e.o fore200e.o fore200e_pca_fw.o
> > make[2]: Leaving directory `/usr/src/linux-2.4.3/drivers/atm'
> > make -C block modules
> > make[2]: Entering directory `/usr/src/linux-2.4.3/drivers/block'
> > make -C paride modules
> > make[3]: Entering directory `/usr/src/linux-2.4.3/drivers/block/paride'
> > make[3]: Nothing to be done for `modules'.
> > make[3]: Leaving directory `/usr/src/linux-2.4.3/drivers/block/paride'
> > make[2]: Leaving directory `/usr/src/linux-2.4.3/drivers/block'
> > make -C cdrom modules
> > make[2]: Entering directory `/usr/src/linux-2.4.3/drivers/cdrom'
> > make[2]: Nothing to be done for `modules'.
> > make[2]: Leaving directory `/usr/src/linux-2.4.3/drivers/cdrom'
> > make -C char modules
> > make[2]: Entering directory `/usr/src/linux-2.4.3/drivers/char'
> > make -C agp modules
> > make[3]: Entering directory `/usr/src/linux-2.4.3/drivers/char/agp'
> > ld -m elf_i386  -r -o agpgart.o agpgart_fe.o agpgart_be.o
> > make[3]: Leaving directory `/usr/src/linux-2.4.3/drivers/char/agp'
> > make -C drm modules
> > make[3]: Entering directory `/usr/src/linux-2.4.3/drivers/char/drm'
> > ld -m elf_i386 -r -o gamma.o gamma_drv.o  gamma_dma.o drmlib-mod.a
> > ld -m elf_i386 -r -o tdfx.o tdfx_drv.o                 tdfx_context.o
> > drmlib-mod.a
> > ld -m elf_i386 -r -o r128.o r128_drv.o   r128_cce.o    r128_context.o
> > r128_bufs.o r128_state.o drmlib-mod.a
> > ld -m elf_i386 -r -o radeon.o radeon_drv.o radeon_cp.o   radeon_context.o
> > radeon_bufs.o radeon_state.o drmlib-mod.a
> > ld -m elf_i386 -r -o mga.o mga_drv.o    mga_dma.o     mga_context.o
> > mga_bufs.o  mga_state.o drmlib-mod.a
> > ld -m elf_i386 -r -o i810.o i810_drv.o   i810_dma.o    i810_context.o
> > i810_bufs.o drmlib-mod.a
> > make[3]: Leaving directory `/usr/src/linux-2.4.3/drivers/char/drm'
> > make -C ftape modules
> > make[3]: Entering directory `/usr/src/linux-2.4.3/drivers/char/ftape'
> > make -C compressor modules
> > make[4]: Entering directory
> > `/usr/src/linux-2.4.3/drivers/char/ftape/compressor'
> > /usr/bin/kgcc -D__KERNEL__ -I/usr/src/linux-2.4.3/include -Wall
> > -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
> > -march=i586 -DMODULE -DMODVERSIONS -include
> > /usr/src/linux-2.4.3/include/linux/modversions.h   -c -o zftape-compress.o
> > zftape-compress.c
> > In file included from /usr/src/linux-2.4.3/include/linux/mm.h:4,
> >                  from zftape-compress.c:35:
> > /usr/src/linux-2.4.3/include/linux/sched.h:6: nondigits in number and not
> > hexadecimal
> > /usr/src/linux-2.4.3/include/linux/sched.h:6: nondigits in number and not
> > hexadecimal
> > /usr/src/linux-2.4.3/include/linux/sched.h:6: parse error before `7b16c344'
> > /usr/src/linux-2.4.3/include/linux/sched.h:6: warning: function declaration
> > isn't a prototype
> > make[4]: *** [zftape-compress.o] Error 1
> > make[4]: Leaving directory
> > `/usr/src/linux-2.4.3/drivers/char/ftape/compressor'
> > make[3]: *** [_modsubdir_compressor] Error 2
> > make[3]: Leaving directory `/usr/src/linux-2.4.3/drivers/char/ftape'
> > make[2]: *** [_modsubdir_ftape] Error 2
> > make[2]: Leaving directory `/usr/src/linux-2.4.3/drivers/char'
> > make[1]: *** [_modsubdir_char] Error 2
> > make[1]: Leaving directory `/usr/src/linux-2.4.3/drivers'
> > make: *** [_mod_drivers] Error 2
> >
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/
begin:vcard 
n:Zigldrum;Georg
tel;cell:+49 173 7329 567
tel;work:+49 811 553 7242
x-mozilla-html:FALSE
org:iPlanet eCommerce Solutions;EMEA Customer Support
adr:;;Am S�ldnermoos 6;Hallbergmoos;;85399;Germany
version:2.1
email;internet:[EMAIL PROTECTED]
title:Product Support Engineer
x-mozilla-cpt:;-10144
fn:Georg Zigldrum
end:vcard

Reply via email to