mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kumar Gala <galak@kernel.crashing.org>
To: Badari Pulavarty <pbadari@gmail.com>
Cc: LinuxPPC-dev <linuxppc-dev@ozlabs.org>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.27-git7 compile error (ppc)
Date: Fri, 17 Oct 2008 15:37:44 -0500	[thread overview]
Message-ID: <FEFFA236-AA3B-49F1-AED2-E42950B87BD7@kernel.crashing.org> (raw)
In-Reply-To: <1224267073.15582.8.camel@badari-desktop>


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

  reply	other threads:[~2008-10-17 20:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-17 17:47 Badari Pulavarty
2008-10-17 18:11 ` Badari Pulavarty
2008-10-17 20:37   ` Kumar Gala [this message]
2008-10-24 22:54     ` Rafael J. Wysocki
2008-10-24 22:55       ` Chris Friesen
2008-10-25  0:02         ` Badari Pulavarty

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=FEFFA236-AA3B-49F1-AED2-E42950B87BD7@kernel.crashing.org \
    --to=galak@kernel.crashing.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=pbadari@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®