From: Mikael Pettersson <mikpe@csd.uu.se>
To: "Gireesh Kumar" <gireesh.kumar@einfochips.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: regarding kernel compilation
Date: Tue, 20 Sep 2005 11:38:42 +0200 [thread overview]
Message-ID: <17199.55458.181276.145487@alkaid.it.uu.se> (raw)
In-Reply-To: <32854.192.168.9.246.1127197320.squirrel@192.168.9.246>
Gireesh Kumar writes:
> Hi,
> I'd like to compile 2.4.20-6 kernel while running in 2.6 kernel. I tried
> to do so but there are redeclaration errors with /kernel/sched.c and
> /include/linux/sched.h. One it is FASTCALL and the other it is not.
> Can anyone help me to fix this?
Looks like you're trying to compile an ancient 2.4 kernel with gcc-3.4
or newer. That has zero chance of working.
Since that looks like a RH 2.4.20 kernel, you should probably use
gcc-3.2.3 to compile it. Alternatively you can use gcc-3.4 with the
current 2.4.31 kernel.
Some 2.6-based distributions do have problems running 2.4 kernels:
FC3 needs some minor tweaks (replace udev and module-init-tools with
dev and modutils from FC2) but FC4 is a lost cause due to NPTL.
next prev parent reply other threads:[~2005-09-20 9:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-20 6:22 Gireesh Kumar
2005-09-20 7:11 ` Fawad Lateef
2005-09-20 8:12 ` Denis Vlasenko
2005-09-20 8:37 ` Fawad Lateef
2005-09-20 8:56 ` Denis Vlasenko
2005-09-20 12:27 ` Jesper Juhl
2005-09-20 9:38 ` Mikael Pettersson [this message]
[not found] <4OJNI-Rt-1@gated-at.bofh.it>
2005-09-21 0:08 ` Robert Hancock
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=17199.55458.181276.145487@alkaid.it.uu.se \
--to=mikpe@csd.uu.se \
--cc=gireesh.kumar@einfochips.com \
--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
all inboxes | Powered by JetHome®