From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e8.ny.us.ibm.com (e8.ny.us.ibm.com [32.97.182.138]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "e8.ny.us.ibm.com", Issuer "Equifax" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id B238FDDEFC for ; Sat, 18 Oct 2008 05:10:40 +1100 (EST) Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e8.ny.us.ibm.com (8.13.1/8.13.1) with ESMTP id m9HI7Y3R024812 for ; Fri, 17 Oct 2008 14:07:34 -0400 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id m9HIAcau091582 for ; Fri, 17 Oct 2008 14:10:38 -0400 Received: from d01av02.pok.ibm.com (loopback [127.0.0.1]) by d01av02.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m9HIAb7s014315 for ; Fri, 17 Oct 2008 14:10:37 -0400 Subject: Re: 2.6.27-git7 compile error (ppc) From: Badari Pulavarty To: LinuxPPC-dev In-Reply-To: <1224265634.15582.3.camel@badari-desktop> References: <1224265634.15582.3.camel@badari-desktop> Content-Type: text/plain Date: Fri, 17 Oct 2008 11:11:13 -0700 Message-Id: <1224267073.15582.8.camel@badari-desktop> Mime-Version: 1.0 Cc: linux-kernel List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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.... > > > -- > 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/