From: Willy Tarreau <w@1wt.eu>
To: j.d.-linux-kernel@arcor.de
Cc: linux-kernel@vger.kernel.org
Subject: Re: How can I build a 2.4 kernel on a 2.6 System
Date: Fri, 24 Oct 2008 22:29:56 +0200 [thread overview]
Message-ID: <20081024202955.GT24654@1wt.eu> (raw)
In-Reply-To: <16891148.1224850600689.JavaMail.ngmail@webmail18.arcor-online.net>
Hi,
On Fri, Oct 24, 2008 at 02:16:40PM +0200, j.d.-linux-kernel@arcor.de wrote:
> Hello list
>
> I will build some 2.4 kernel modules on a system with a running 2.6 kernel.
>
> Is it possible and how can I do this?
Not sure what you really mean. If you mean build 2.4 modules for 2.4 on
a machine running 2.6, that's OK as there's no dependency between the
running kernel and the one you're building. However, you should be
careful about two things :
- gcc: it tends to be too recent for 2.4. gcc 4.1 is the highest version
supported.
- modutils: most recent distros only ship module-init-tools without the
old depmod. If you intend to "make modules_install INSTALL_MOD_PATH=..."
then get prepared to see some errors from depmod at the end. The easiest
solution consists in getting a depmod from an old machine an installing
it in /tmp for instance.
Hoping this helps,
Willy
next prev parent reply other threads:[~2008-10-24 20:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-24 12:16 How can I build a 2.4 kernel on a 2.6 System j.d.-linux-kernel
2008-10-24 20:29 ` Willy Tarreau [this message]
2008-10-26 10:32 ` Jörg Dohle
2008-10-26 10:41 ` Willy Tarreau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081024202955.GT24654@1wt.eu \
--to=w@1wt.eu \
--cc=j.d.-linux-kernel@arcor.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox