Build error with realtime patch on ppc platform

From: Tate, Patrick O
Date: Thu Mar 12 2009 - 12:52:52 EST


Hi Ingo

My name is Pat Tate and I was trying to build a kernel with the realtime
patch on a powerpc. We are using the YDL 4.1 distribution.
I pulled down the linux 2.6.29-rc6 with the realtime
patch-2.6.29-rc6-rt3.

But after applying the patch and executing the make I get the following
error in the spinlock_types.h

************************************************************************
***************************
> make
scripts/kconfig/conf -s arch/powerpc/Kconfig
CHK include/linux/version.h
UPD include/linux/version.h
CHK include/linux/utsrelease.h
UPD include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-powerpc
CC kernel/bounds.s
GEN include/linux/bounds.h
CC arch/powerpc/kernel/asm-offsets.s
In file included from include/linux/spinlock.h:102,
from include/linux/seqlock.h:34,
from include/linux/time.h:8,
from include/linux/timex.h:56,
from include/linux/sched.h:54,
from arch/powerpc/kernel/asm-offsets.c:17:
include/linux/spinlock_types.h:38: error: syntax error before
"__raw_spinlock_t"
include/linux/spinlock_types.h:38: warning: no semicolon at end of
struct or uni
on
include/linux/spinlock_types.h:49: error: syntax error before '}' token
include/linux/spinlock_types.h:49: warning: useless keyword or type name
in empt
y declaration
include/linux/spinlock_types.h:49: warning: empty declaration
include/linux/spinlock_types.h:54: error: syntax error before
"__raw_rwlock_t"
include/linux/spinlock_types.h:54: warning: no semicolon at end of
struct or uni
on
include/linux/spinlock_types.h:65: error: syntax error before '}' token
include/linux/spinlock_types.h:65: warning: useless keyword or type name
in empt
y declaration
include/linux/spinlock_types.h:65: warning: empty declaration
************************************************************************
***************************

I was told by Eduard Munteanu that you are the contact in the patch file
so I thought I'd pass it by you and
See if you have an answer or some ideas.

If not would you know who might be a good contact to maybe work thru
this error.

Thanks for any help

Pat

--
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/