Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752621AbYJXWt3 (ORCPT ); Fri, 24 Oct 2008 18:49:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751424AbYJXWtT (ORCPT ); Fri, 24 Oct 2008 18:49:19 -0400 Received: from ogre.sisk.pl ([217.79.144.158]:48420 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751900AbYJXWtT (ORCPT ); Fri, 24 Oct 2008 18:49:19 -0400 From: "Rafael J. Wysocki" To: Kumar Gala Subject: Re: 2.6.27-git7 compile error (ppc) Date: Sat, 25 Oct 2008 00:54:05 +0200 User-Agent: KMail/1.9.9 Cc: Badari Pulavarty , "LinuxPPC-dev" , "linux-kernel" References: <1224265634.15582.3.camel@badari-desktop> <1224267073.15582.8.camel@badari-desktop> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810250054.05849.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2474 Lines: 64 On Friday, 17 of October 2008, Kumar Gala wrote: > > 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. Has that been fixed in 2.6.27 and/or current mainline? Rafael -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/