Re: regarding kernel compilation

From: Robert Hancock
Date: Tue Sep 20 2005 - 19:10:58 EST


Gireesh Kumar wrote:
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?
Thankyou,
Gireesh.

What compiler? You probably need an older version of gcc to compile that kernel. gcc4 definitely will not work, 3.4 may have issues as well.

--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@xxxxxxxxxxxxx
Home Page: http://www.roberthancock.com/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/