2.6.29-rc4-rt2 ppc compile error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I tried the patch-2.6.29-rc4-rt2 real-time patch yesterday and it failed
to compile for the power pc.  Here is what I tried and the error I got.
I can send the config file I used if requested.

cd /tmp/
tar -xvjf /tmp/dlsvn/trunk/linux-2.6.29-rc4.tar.bz2
cd /tmp/linux-2.6.29-rc4
patch -p1 < ~/Download/patch-2.6.29-rc4-rt2
cp /tmp/dlsvn/trunk/linux-2.6.29-rc4/.config .
setenv CROSS_COMPILE powerpc-linux-gnu-
setenv ARCH powerpc
setenv PATH /opt/freescale/usr/local/gcc-4.3.50-eglibc-2.8.50/powerpc-linux-gnu/bin:$PATH
make
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-powerpc
  CC      arch/powerpc/kernel/asm-offsets.s
In file included from include/linux/mm_types.h:11,
                 from include/linux/sched.h:61,
                 from arch/powerpc/kernel/asm-offsets.c:17:
include/linux/rwsem.h:112:1: warning: "DECLARE_RWSEM" redefined
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:
/tmp/dlsvn/trunk/ag/sw/platform/timaru/build/linux-2.6.29-rc4/arch/powerpc/include/asm/rwsem.h:50:1:
warning: this is the location of the previous definition
In file included from include/linux/mm_types.h:11,
                 from include/linux/sched.h:61,
                 from arch/powerpc/kernel/asm-offsets.c:17:
include/linux/rwsem.h:119:1: warning: "init_rwsem" redefined
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:
/tmp/dlsvn/trunk/ag/sw/platform/timaru/build/linux-2.6.29-rc4/arch/powerpc/include/asm/rwsem.h:61:1:
warning: this is the location of the previous definition
In file included from include/linux/mm_types.h:11,
                 from include/linux/sched.h:61,
                 from arch/powerpc/kernel/asm-offsets.c:17:
include/linux/rwsem.h:149: error: redefinition of 'rwsem_is_locked'
/tmp/dlsvn/trunk/ag/sw/platform/timaru/build/linux-2.6.29-rc4/arch/powerpc/include/asm/rwsem.h:168:
error: previous definition of 'rwsem_is_locked' was here
include/linux/rwsem.h: In function 'rwsem_is_locked':
include/linux/rwsem.h:151: error: implicit declaration of function
'compat_rwsem_is_locked'
make[1]: *** [arch/powerpc/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2


Thanks,

                              David
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux