Hi all,<br><br>The latest RT patch &quot;patch-2.6.29-rc6-rt3&quot; is throwing following compilation errors for POWERPC  linux kernel 2.6.29-rc6 :-<br><br>As I used plain vanilla kernel i.e -&gt;  Linux-2.6.28 + patch-2.6.29-rc6 + patch-2.6.29-rc6-rt3 <br>
<br>While compiling for ppc440...<br><br>[root@srikanth linux-2.6.29-rc6]# make ARCH=powerpc CROSS_COMPILE=ppc_440- zImage<br>  CHK     include/linux/version.h            <br>  CHK     include/linux/utsrelease.h         <br>
  SYMLINK include/asm -&gt; include/asm-powerpc <br>  CC      kernel/bounds.s                    <br>  GEN     include/linux/bounds.h             <br>  CC      arch/powerpc/kernel/asm-offsets.s  <br>In file included from include/linux/rwsem.h:37,<br>
                 from include/linux/mm_types.h:11,<br>                 from include/linux/sched.h:61,   <br>                 from arch/powerpc/kernel/asm-offsets.c:17:<br>/opt/mlg-rt-test/linux-2.6.29-rc6/arch/powerpc/include/asm/rwsem.h:24: error: redefinition of ‘struct rw_semaphore’<br>
In file included from include/linux/rwsem.h:37,                                                                    <br>                 from include/linux/mm_types.h:11,                                                                 <br>
                 from include/linux/sched.h:61,                                                                    <br>                 from arch/powerpc/kernel/asm-offsets.c:17:                                                        <br>
/opt/mlg-rt-test/linux-2.6.29-rc6/arch/powerpc/include/asm/rwsem.h:46:1: warning: &quot;__RWSEM_INITIALIZER&quot; redefined  <br>In file included from include/linux/spinlock.h:118,                                                                <br>
                 from include/linux/seqlock.h:34,                                                                  <br>                 from include/linux/time.h:8,<br>                 from include/linux/timex.h:56,<br>                 from include/linux/sched.h:54,<br>
                 from arch/powerpc/kernel/asm-offsets.c:17:<br>include/linux/rt_lock.h:191:1: warning: this is the location of the previous definition<br>In file included from include/linux/rwsem.h:37,<br>                 from include/linux/mm_types.h:11,<br>
                 from include/linux/sched.h:61,<br>                 from arch/powerpc/kernel/asm-offsets.c:17:<br>/opt/mlg-rt-test/linux-2.6.29-rc6/arch/powerpc/include/asm/rwsem.h:50:1: warning: &quot;DECLARE_RWSEM&quot; redefined<br>
In file included from include/linux/spinlock.h:118,<br>                 from include/linux/seqlock.h:34,<br>                 from include/linux/time.h:8,<br>                 from include/linux/timex.h:56,<br>                 from include/linux/sched.h:54,<br>
                 from arch/powerpc/kernel/asm-offsets.c:17:<br>include/linux/rt_lock.h:195:1: warning: this is the location of the previous definition<br>In file included from include/linux/rwsem.h:37,<br>                 from include/linux/mm_types.h:11,<br>
                 from include/linux/sched.h:61,<br>                 from arch/powerpc/kernel/asm-offsets.c:17:<br>/opt/mlg-rt-test/linux-2.6.29-rc6/arch/powerpc/include/asm/rwsem.h:61:1: warning: &quot;init_rwsem&quot; redefined<br>
In file included from include/linux/spinlock.h:118,<br>                 from include/linux/seqlock.h:34,<br>                 from include/linux/time.h:8,<br>                 from include/linux/timex.h:56,<br>                 from include/linux/sched.h:54,<br>
                 from arch/powerpc/kernel/asm-offsets.c:17:<br>include/linux/rt_lock.h:232:1: warning: this is the location of the previous definition<br>/opt/mlg-rt-test/linux-2.6.29-rc6/arch/powerpc/include/asm/rwsem.h:167: error: expected identifier or ‘(’ before ‘{’ token<br>
make[1]: *** [arch/powerpc/kernel/asm-offsets.s] Error 1<br>make: *** [prepare0] Error 2<br>[root@srikanth linux-2.6.29-rc6]#<br><br clear="all">Has anybody come across this ? If any fixes brought up for build of RT on PowerPC, pls reply back. <br>
 <br><br>Regards<br>Srikant<br>********<br>