Hi all, The latest RT patch "patch-2.6.29-rc6-rt3" is throwing following compilation errors for POWERPC linux kernel 2.6.29-rc6 :-
As I used plain vanilla kernel i.e -> Linux-2.6.28 + patch-2.6.29-rc6 + patch-2.6.29-rc6-rt3 While compiling for ppc440... [r...@srikanth linux-2.6.29-rc6]# make ARCH=powerpc CROSS_COMPILE=ppc_440- zImage CHK include/linux/version.h CHK 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/rwsem.h:37, from include/linux/mm_types.h:11, from include/linux/sched.h:61, from arch/powerpc/kernel/asm-offsets.c:17: /opt/mlg-rt-test/linux-2.6.29-rc6/arch/powerpc/include/asm/rwsem.h:24: error: redefinition of ‘struct rw_semaphore’ In file included from include/linux/rwsem.h:37, from include/linux/mm_types.h:11, from include/linux/sched.h:61, from arch/powerpc/kernel/asm-offsets.c:17: /opt/mlg-rt-test/linux-2.6.29-rc6/arch/powerpc/include/asm/rwsem.h:46:1: warning: "__RWSEM_INITIALIZER" redefined In file included from include/linux/spinlock.h:118, 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/rt_lock.h:191:1: warning: this is the location of the previous definition In file included from include/linux/rwsem.h:37, from include/linux/mm_types.h:11, from include/linux/sched.h:61, from arch/powerpc/kernel/asm-offsets.c:17: /opt/mlg-rt-test/linux-2.6.29-rc6/arch/powerpc/include/asm/rwsem.h:50:1: warning: "DECLARE_RWSEM" redefined In file included from include/linux/spinlock.h:118, 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/rt_lock.h:195:1: warning: this is the location of the previous definition In file included from include/linux/rwsem.h:37, from include/linux/mm_types.h:11, from include/linux/sched.h:61, from arch/powerpc/kernel/asm-offsets.c:17: /opt/mlg-rt-test/linux-2.6.29-rc6/arch/powerpc/include/asm/rwsem.h:61:1: warning: "init_rwsem" redefined In file included from include/linux/spinlock.h:118, 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/rt_lock.h:232:1: warning: this is the location of the previous definition /opt/mlg-rt-test/linux-2.6.29-rc6/arch/powerpc/include/asm/rwsem.h:167: error: expected identifier or ‘(’ before ‘{’ token make[1]: *** [arch/powerpc/kernel/asm-offsets.s] Error 1 make: *** [prepare0] Error 2 [r...@srikanth linux-2.6.29-rc6]# Has anybody come across this ? If any fixes brought up for build of RT on PowerPC, pls reply back. Regards Srikant ********
_______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev