Real-Time Preemption Patch -RT-2.6.12-final-V0.7.51-26 failed ,to compile

From: Steven Wooding (steve_at_wooding.uklinux.net)
Date: 07/11/05

  • Next message: Kimball Murray: "Re: Dirty page tracking patch"
    Date:	Mon, 11 Jul 2005 19:13:01 +0100
    To: linux-kernel@vger.kernel.org
    
    

    Hi,
     
    I wonder if someone can help a newbie to the Real-Time Preemption
    Patch. After appling the lastest patch (-RT-2.6.12-final-V0.7.51-26) to the
    2.6.12 vanilla kernel I get the following error when compiling the
    patched kernel:
     
    arch/x86_64/kernel/mce.c: In function 'mce_read':
    arch/x86_64/kernel/mce.c:383: warning: type defaults to 'int' in
    declarationd of 'DECLARE_MUTEX'
    arch/x86_64/kernel/mce.c:383: warning: parameter names (without types)
    in function declaration
    arch/x86_64/kernel/mce.c:392:error: 'mce_read_sem' undeclared (first
    use in this function)
     
    Then the mce.o fails to get made and the make stops.
     
    I've tried compiling the vanilla 2.6.12 kernel without the patch and
    that works fine. It is strange that the error should be in
    arch/x86_64/kernel/mce.c as this is not altered by the patch. I've also tried saying
    no to MCE support, but got the some error.
     
    I'm using RHEL 4 on a SMP system (gcc version 3.4.3).
     
    Thanks,
     
    Steve.

    PS Please CC me on replies. Thanks.

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


  • Next message: Kimball Murray: "Re: Dirty page tracking patch"

    Relevant Pages

    • Re: RT patch acceptance
      ... judge the complexity of a design for that type of system. ... claim that you cannot judge the complexity of a kernel modification. ... Since the patch in question doesn't actually need that information to ... nanokernel's API up to date with additions to Linux's API that RT people ...
      (Linux-Kernel)
    • Re: Granting some root permissions to certain users
      ... We use a kernel patch called trustees to do just what you're talking ... Unfortunately the patch hasn't really been kept up-to-date. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: RT-V0.7.47-17 build fails
      ... On Monday 06 June 2005 03:41, Ingo Molnar wrote: ... >> I thought maybe I'd exersize this kernel, but a patch I thought ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • RE: [PATCH] 2.6 workaround for Athlon/Opteron prefetch errata
      ... to avoid so we can get this in to the 2.6 kernel ASAP. ... I am pretty certain the patch won't impact the ... > might want to kill the condition depending on the stepping, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.3-rc1-mm1
      ... > This is the first time that anyone told me that it even existed. ... When we're at kernel version 2.6.3! ... without this patch. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)