lkml.org 
[lkml]   [2008]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: 2.6.27-git7 compile error (ppc)
Date

On Oct 17, 2008, at 1:11 PM, Badari Pulavarty wrote:

> On Fri, 2008-10-17 at 10:47 -0700, Badari Pulavarty wrote:
>> Hi,
>>
>> I get this following compile error on my ppc box.
>>
>> Let me know if its a known issue. Otherwise, I can figure out
>> whats happening.
>>
>> Thanks,
>> Badari
>
> This is due to recent changes to move phys_add_t definition from
> arch/powerpc/include/asm/types.h to include/linux/types.h.
>
> arch/powerpc/include/asm/page.h needs phys_addr_t for
> CONFIG_RELOCATABLE. Needs fixing..
>
> Thanks,
> Badari
>
>>
>> CC arch/powerpc/mm/slb.o
>> In file included from /usr/src/linux-2.6.27/arch/powerpc/include/
>> asm/mmu-hash64.h:16,
>> from /usr/src/linux-2.6.27/arch/powerpc/include/asm/
>> mmu.h:7,
>> from /usr/src/linux-2.6.27/arch/powerpc/include/asm/
>> pgtable.h:7,
>> from arch/powerpc/mm/slb.c:19:
>> /usr/src/linux-2.6.27/arch/powerpc/include/asm/page.h:76: error:
>> parse error before "memstart_addr"
>> /usr/src/linux-2.6.27/arch/powerpc/include/asm/page.h:76: warning:
>> type defaults to `int' in declaration of `memstart_addr'
>> /usr/src/linux-2.6.27/arch/powerpc/include/asm/page.h:76: warning:
>> data definition has no type or storage class
>> /usr/src/linux-2.6.27/arch/powerpc/include/asm/page.h:77: error:
>> parse error before "kernstart_addr"
>> /usr/src/linux-2.6.27/arch/powerpc/include/asm/page.h:77: warning:
>> type defaults to `int' in declaration of `kernstart_addr'
>> /usr/src/linux-2.6.27/arch/powerpc/include/asm/page.h:77: warning:
>> data definition has no type or storage class
>> AS arch/powerpc/lib/string.o
>> CC arch/powerpc/lib/alloc.o
>> CALL arch/powerpc/kernel/systbl_chk.sh
>> CC arch/powerpc/kernel/sysfs.o
>> make[1]: *** [arch/powerpc/mm/slb.o] Error 1
>> make: *** [arch/powerpc/mm] Error 2
>> make: *** Waiting for unfinished jobs....

I've got a patch that seems to address this for me building w/
CONFIG_RELOCATABLE on ppc32/85xx.

- k


\
 
 \ /
  Last update: 2008-10-17 22:41    [W:0.062 / U:0.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site