[lkml]   [2005]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: regarding kernel compilation
    On Tuesday 20 September 2005 10:11, Fawad Lateef wrote:
    > On 9/20/05, 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?

    Kernel conpile should never use system includes, let alone
    includes from _another_ kernel tree. (Using stdarg.h from gcc is ok)

    > I don't think you will be able to compile 2.4 kernel on to the 2.6
    > kernel based distro .... as in 2.6 based distro, mod-utils and other

    2.6 modutils (module-init-tools to be exact) fall back to <toolname>.old
    (by just exec'ing it) if those exist.

    > packages are updated and will only support 2.6 based kernel .... So

    Not true. I compiled 2.4 kernels on 2.6 machine without any problems.

    > its better to get 2.4 kernel based distribution .... (and can keep/run
    > both 2.6 and 2.4 based distributions simultanously on the same system,
    > so that you can boot in any of them as per your requirement of 2.4 or
    > 2.6 kernel)
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-09-20 12:05    [W:0.040 / U:1.840 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site