2.6.27-git7 compile error (ppc)
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
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....
Quoted 9 lines · Badari Pulavarty
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
Quoted 26 lines
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 toint' in declaration ofmemstart_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 toint' in declaration ofkernstart_addr'/usr/src/linux-2.6.27/arch/powerpc/include/asm/page.h:77: warning: data definition has no type or storage classAS arch/powerpc/lib/string.o CC arch/powerpc/lib/alloc.o CALL arch/powerpc/kernel/systbl_chk.sh CC arch/powerpc/kernel/sysfs.omake[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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Quoted 11 lines · Badari Pulavarty
Quoted 9 lines · Badari Pulavarty
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
Quoted 30 lines
This is due to recent changes to move
phys_add_tdefinition fromarch/powerpc/include/asm/types.htoinclude/linux/types.h.
arch/powerpc/include/asm/page.hneedsphys_addr_tforCONFIG_RELOCATABLE. Needs fixing..Thanks,
BadariQuoted 21 lines
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 toint' in declaration ofmemstart_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 toint' in declaration ofkernstart_addr'/usr/src/linux-2.6.27/arch/powerpc/include/asm/page.h:77: warning: data definition has no type or storage classAS arch/powerpc/lib/string.o CC arch/powerpc/lib/alloc.o CALL arch/powerpc/kernel/systbl_chk.sh CC arch/powerpc/kernel/sysfs.omake[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
Quoted 52 lines · Kumar Gala
Quoted 11 lines · Badari Pulavarty
Quoted 9 lines · Badari Pulavarty
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,
BadariQuoted 37 lines
This is due to recent changes to move
phys_add_tdefinition fromarch/powerpc/include/asm/types.htoinclude/linux/types.h.
arch/powerpc/include/asm/page.hneedsphys_addr_tforCONFIG_RELOCATABLE. Needs fixing..Thanks,
BadariQuoted 28 lines
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 toint' in declaration ofmemstart_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 toint' in declaration ofkernstart_addr'/usr/src/linux-2.6.27/arch/powerpc/include/asm/page.h:77: warning:
data definition has no type or storage classAS arch/powerpc/lib/string.o CC arch/powerpc/lib/alloc.o CALL arch/powerpc/kernel/systbl_chk.sh CC arch/powerpc/kernel/sysfs.omake[1]: *** [
arch/powerpc/mm/slb.o] Error 1
make: *** [arch/powerpc/mm] Error 2
make: *** Waiting for unfinished jobs....
Quoted 2 lines
I've got a patch that seems to address this for me building w/
CONFIG_RELOCATABLEon ppc32/85xx.
Has that been fixed in 2.6.27 and/or current mainline?
Rafael
Quoted 5 lines · Rafael J. Wysocki
Quoted 1 line · Kumar Gala
I've got a patch that seems to address this for me building w/
CONFIG_RELOCATABLEon ppc32/85xx.Has that been fixed in 2.6.27 and/or current mainline?
I think CONFIG_RELOCATABLE was introduced post 2.6.27, so shouldn't be a problem in that version.
Chris
Quoted 6 lines · Chris Friesen
Quoted 5 lines · Rafael J. Wysocki
Quoted 2 lines · Kumar Gala
I've got a patch that seems to address this for me building w/
CONFIG_RELOCATABLEon ppc32/85xx.
Quoted 6 lines
Quoted 1 line
Has that been fixed in 2.6.27 and/or current mainline?
I think
CONFIG_RELOCATABLEwas introduced post 2.6.27, so shouldn't be a problem in that version.Chris
Not quite true. CONFIG_RELOCATABLE is present in 2.6.27, but the changes to types.h happend post 2.6.27 - so there is no problem with 2.6.27.
2.6.27-git11 compiles fine.
Thanks,
Badari