On Tue, May 08, 2001 at 05:16:58AM +0800, John Summerfield wrote:
> > Tony Nugent <[EMAIL PROTECTED]> writes:
> > 
> > > On Sun May 06 2001 at 21:48, Bill Nottingham wrote:
> > > 
> > > > Dan Kegel ([EMAIL PROTECTED]) said:
> > > > > 'make modules' in red hat 7.1 fails for me like this:
> > > 
> > > > Did you remember to do 'make mrproper' before rebuilding?
> > > 
> > > This is definitely an FAQ.
> > > 
> > > Why isn't the kernel-source rpm distributed like that as its default
> > > state?
> > 
> > To facilitate compilation of modules on your own, without having to
> > build a kernel first.
> 
> Sounds to me like you've got it the wrong way round. Lots of people want to build 
> kernels, very few as far as I can see want to build just a module.
> 
> And the odds are you have built with the wrong configuration for an awful lot of 
> folk. I'd guess that most don't want SMP or the "enterprise" kernel, but a few want 
> one of those, and that the source tree is wrong for at least one of those groups.
> 
> If I'm wrong, please describe how.
> -- 

I think it depends on how you look at it. Probably the best case I can think
of for just building a module is VMware. Besides, I think the need for 
make mrproper has been there for several releases now (at least I always 
needed to do it to avoid problems).

Here is my 10 second kernel-build guide that I use at least. It works without
a problem.

cd /usr/src/linux-2.4
make mrproper
cp configs/{config file for architecture, smp, enterprise, etc. that is desired} 
.config
make oldconfig     <--- not sure this is necessarily needed
edit Makefile and change EXTRAVERSION
make menuconfig
make dep && make clean && make bzImage && make modules && make modules_install && make 
install
mkinitrd /boot/initrd-{version}.img {version}
edit /etc/lilo.conf
lilo
depmod -a
shutdown -r now

I may have missed something in the haste to type this out, however.

Chris



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to