linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steven Wooding <steve@wooding.uklinux.net>
To: linux-kernel@vger.kernel.org
Subject: Real-Time Preemption Patch -RT-2.6.12-final-V0.7.51-26 failed ,to compile
Date: Mon, 11 Jul 2005 19:13:01 +0100	[thread overview]
Message-ID: <42D2B6AD.40907@wooding.uklinux.net> (raw)

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.


             reply	other threads:[~2005-07-11 18:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-11 18:13 Steven Wooding [this message]
2005-07-11 18:46 ` Real-Time Preemption Patch -RT-2.6.12-final-V0.7.51-26 failed ,to compile Daniel Walker
2005-07-11 18:58   ` Alistair John Strachan
2005-07-12 14:56 steve
2005-07-12 16:18 ` Steven Rostedt
2005-07-12 18:32   ` Steve Wooding

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=42D2B6AD.40907@wooding.uklinux.net \
    --to=steve@wooding.uklinux.net \
    --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;
as well as URLs for NNTP newsgroup(s).