[Gllug] First attempt at building a kernel
Pete Black
pete at pblack.uklinux.net
Thu Jun 12 22:44:58 UTC 2003
A bug in a production linux kernel that prevents it from even compiling?
I'm not sure I would agree with this assessment, especially if it is a 'vanilla'
kernel package from kernel.org
2.4.8 is some way behind the curve, but I have certainly compiled it without a
problem. It would probably be better to use 2.4.20 (mostly for security reasons)
but I would expect any vanilla 2.4 kernel to compile cleanly.
It is quite likely you simply need to back up your kernel configuration, and
run 'make mrproper', which will clean out any remnants from previous compilations.
Sometimes the package maintainers ship these remnants in the kernel source
package by mistake, so 'make mrproper' is a good idea before you start configuring
any new kernel.
you should then restore your config, do your make dep;make clean;make bzImage etc.
-Pete
On Thu, Jun 12, 2003 at 10:00:47PM +0100, Alistair Mann wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Thus spaketh Ted Bell on Thursday 12 June 2003 8:48 pm:
> > Hope this is the right place to post this, if not please redirect me.
> >
> > I am new to Linux, having got over numerous teething problems with things
> > like CD writers Zip drives and finally printers, I thought I would tackle
> > the kernel how to.
> >
> > I have not included the whole report produced during make bzdisk, I don't
> > know how to and it would be a tad long. The extract below is the final few
> > lines.
> >
> > devlist.h:6999: __devices_ffff causes a section type conflict
> > make[3]: *** [names.o] Error 1
> > make[3]: Leaving directory `/usr/src/linux/drivers/pci'
> > make[2]: *** [first_rule] Error 2
> > make[2]: Leaving directory `/usr/src/linux/drivers/pci'
> > make[1]: *** [_subdir_pci] Error 2
> > make[1]: Leaving directory `/usr/src/linux/drivers'
> > make: *** [_dir_drivers] Error 2
> >
> > Unfortunatly it tells me zip. I imagine I have added something in the
> > config that should not be there but this is a little beyond my rudimentary
> > skills.
> >
> > Any friendly words of advice or dirtection would be much appriciated. I am
> > in danger of 'buying a book'.
> >
> > I am currently running Slackware and I downloaded kernel v 2.4.8
>
> 2.4.8 is someway behind the most recent. Do you have a particular need for it?
>
> I believe what you are seeing is a bug in the kernel source[1]; could you try
> a later version?
> - --
> Alistair
>
>
> [1] googling on "session type conflcts"
> Today is Pungenday, the 17th day of Confusion in the YOLD 3169
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
>
> iD8DBQE+6On/Ez+/jt85AfsRAibaAJ4vAzZ05je7FNOk6HbltTsNOAIp4wCePYYG
> XZeh/g9hoIPqw/N61hsZGkY=
> =aMaN
> -----END PGP SIGNATURE-----
>
>
> --
> Gllug mailing list - Gllug at linux.co.uk
> http://list.ftech.net/mailman/listinfo/gllug
>
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list