[WBEL-users] Kernel compile woes
Johnny Hughes
mailing-lists@hughesjr.com
Wed, 05 May 2004 03:23:54 -0500
--=-N3WZFX6bJfOI8uI9XOzt
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: quoted-printable
On Wed, 2004-05-05 at 02:49, Joe Ammann wrote:
> On Wed, 2004-05-05 at 08:43, Karl-K=F6nig K=F6nigsson wrote:
> > Hi all,
> >=20
> > This is most peculiar... I have done this:
> >=20
> > cp /boot/config-2.4.21-9.0.3.EL /usr/src/linux/.config
> > cd /usr/src/linux
> > make dep && make clean bzImage
> >=20
> [...]
> > I'm stumped, to say the least, and don't know really where to start. I,=
=20
> > naively as it seems, thought that the kernel would compile out of the=20
> > box as it has on other distributions I have used, so I guess I must hav=
e=20
> > missed something.
> >=20
> > Please, what am I doing wrong?
>=20
> I also had regularly problems compiling Redhat kernels. Normally, the
> trick is to do a 'make mrproper' first, before copying the config file
> and doing make oldconfig.
>=20
> Sometimes, you also need to to 2 (two!) make oldconfig's before
> compiling. Now please don't ask me why ...
>=20
Also, unless you want to name the kernel 2.4.21-9.0.3.ELcustom edit the
file /usr/src/linux/Makefile and remove the custom from the
EXTRAVERSIONS=3D line ...
Here is a RHEL guide to rebuild the kernel ....
https://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/sysadmin-guide=
/ch-custom-kernel.html
> CU, Joe
- Johnny Hughes
--=-N3WZFX6bJfOI8uI9XOzt
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.0.9">
</HEAD>
<BODY>
On Wed, 2004-05-05 at 02:49, Joe Ammann wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373"><I>On Wed, 2004-05-05 at 08:43, Karl-König Königsson wrote:
> Hi all,
>
> This is most peculiar... I have done this:
>
> cp /boot/config-2.4.21-9.0.3.EL /usr/src/linux/.config
> cd /usr/src/linux
> make dep && make clean bzImage
>
[...]
> I'm stumped, to say the least, and don't know really where to start. I,
> naively as it seems, thought that the kernel would compile out of the
> box as it has on other distributions I have used, so I guess I must have
> missed something.
>
> Please, what am I doing wrong?
I also had regularly problems compiling Redhat kernels. Normally, the
trick is to do a 'make mrproper' first, before copying the config file
and doing make oldconfig.
Sometimes, you also need to to 2 (two!) make oldconfig's before
compiling. Now please don't ask me why ...
</I></FONT></PRE>
</BLOCKQUOTE>
Also, unless you want to name the kernel <B>2.4.21-9.0.3.ELcustom</B> edit the file /usr/src/linux/Makefile and remove the <B>custom</B> from the <B>EXTRAVERSIONS=</B> line ...<BR>
<BR>
Here is a RHEL guide to rebuild the kernel ....<BR>
<BR>
<A HREF="https://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/sysadmin-guide/ch-custom-kernel.html">https://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/sysadmin-guide/ch-custom-kernel.html</A><BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373"><I>CU, Joe</I></FONT></PRE>
</BLOCKQUOTE>
<BR>
- Johnny Hughes
</BODY>
</HTML>
--=-N3WZFX6bJfOI8uI9XOzt--