Ingo,
Realtime patch breaks the x86_64 build -
CC arch/x86_64/kernel/mce.o
In file included from arch/x86_64/kernel/mce.c:17:
include/linux/fs.h: In function `lock_super':
include/linux/fs.h:828: warning: implicit declaration of function `down'
include/linux/fs.h: In function `unlock_super':
include/linux/fs.h:833: warning: implicit declaration of function `up'
arch/x86_64/kernel/mce.c: In function `mce_read':
arch/x86_64/kernel/mce.c:383: warning: type defaults to `int' in declaration
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)
arch/x86_64/kernel/mce.c:392: error: (Each undeclared identifier is reported
only once
arch/x86_64/kernel/mce.c:392: error: for each function it appears in.)
make[1]: *** [arch/x86_64/kernel/mce.o] Error 1
make: *** [arch/x86_64/kernel] Error 2
Parag
On Monday 30 May 2005 21:41, Parag Warudkar wrote:
> Realtime patch breaks the x86_64 build -
Forgot to add - It's the latest patch against 2.6.12-rc5. My .config attached.
Parag
Parag Warudkar wrote:
> On Monday 30 May 2005 21:41, Parag Warudkar wrote:
>
>>Realtime patch breaks the x86_64 build -
>
>
> Forgot to add - It's the latest patch against 2.6.12-rc5. My .config attached.
That doesn't look like a correct .config from a -RT kernel. Did you
forget to run 'make oldconfig' ?
Michal
On Tuesday 31 May 2005 02:08, Michal Schmidt wrote:
> That doesn't look like a correct .config from a -RT kernel. Did you
> forget to run 'make oldconfig' ?
Duh... yes I forgot to do make oldconfig. But the build still breaks, this
time with another error - (so I don't look that much stupid any more..! :)
CC kernel/extable.o
CC kernel/params.o
CC kernel/posix-timers.o
CC kernel/kthread.o
CC kernel/wait.o
CC kernel/kfifo.o
CC kernel/sys_ni.o
CC kernel/posix-cpu-timers.o
CC kernel/rt.o
CC kernel/latency.o
kernel/latency.c:854: error: `NR_syscalls' undeclared here (not in a function)
x86_64 doesn't seem to be defining NR_syscalls anywhere.. Shouldn't it be part
of unistd.h as other arches do?
.config after make oldconfig is attached..
Parag
Parag Warudkar wrote:
> CC kernel/latency.o
> kernel/latency.c:854: error: `NR_syscalls' undeclared here (not in a function)
>
> x86_64 doesn't seem to be defining NR_syscalls anywhere.. Shouldn't it be part
> of unistd.h as other arches do?
I noticed that error too. AFAIK this is not a new error in -RT,
latency.o never compiled on x86_64 for me.
For now just disable Latency tracing (CONFIG_LATENCY_TRACE).
Michal