On 02/14/2010 05:17 PM, David Daney wrote: > On 02/14/2010 12:16 PM, Manuel Lauss wrote: >> Hi David, >> >> this patch breaks my Alchemy builds: >> >> Using /mnt/data/_home/mano/db1200/kernel/linux-2.6.git as source for >> kernel >> GEN /mnt/data/_home/mano/db1200/kernel/kbuild-linux-2.6.git/Makefile >> CHK include/linux/version.h >> CHK include/generated/utsrelease.h >> UPD include/generated/utsrelease.h >> CC arch/mips/kernel/asm-offsets.s >> In file included from >> /mnt/data/_home/mano/db1200/kernel/linux-2.6.git/arch/mips/include/asm/io.h:25, >> >> from >> /mnt/data/_home/mano/db1200/kernel/linux-2.6.git/arch/mips/include/asm/page.h:46, >> >> from >> /mnt/data/_home/mano/db1200/kernel/linux-2.6.git/include/linux/mm_types.h:15, >> >> from >> /mnt/data/_home/mano/db1200/kernel/linux-2.6.git/include/linux/sched.h:63, >> >> from >> /mnt/data/_home/mano/db1200/kernel/linux-2.6.git/arch/mips/kernel/asm-offsets.c:13: >> >> /mnt/data/_home/mano/db1200/kernel/linux-2.6.git/arch/mips/include/asm/pgtable-bits.h: >> >> In function 'pte_to_entrylo': >> /mnt/data/_home/mano/db1200/kernel/linux-2.6.git/arch/mips/include/asm/pgtable-bits.h:146: >> >> error: '_PAGE_NO_READ_SHIFT' undeclared (first use in this function) >> /mnt/data/_home/mano/db1200/kernel/linux-2.6.git/arch/mips/include/asm/pgtable-bits.h:146: >> >> error: (Each undeclared identifier is reported only once >> /mnt/data/_home/mano/db1200/kernel/linux-2.6.git/arch/mips/include/asm/pgtable-bits.h:146: >> >> error: for each function it appears in.) >> /mnt/data/_home/mano/db1200/kernel/linux-2.6.git/arch/mips/include/asm/pgtable-bits.h:155: >> >> error: '_PAGE_GLOBAL_SHIFT' undeclared (first use in this function) >> /mnt/data/_home/mano/db1200/kernel/linux-2.6.git/arch/mips/include/asm/pgtable-bits.h:156: >> >> error: '_PAGE_NO_EXEC' undeclared (first use in this function) >> /mnt/data/_home/mano/db1200/kernel/linux-2.6.git/arch/mips/include/asm/pgtable-bits.h:156: >> >> error: '_PAGE_NO_READ' undeclared (first use in this function) >> In file included from >> /mnt/data/_home/mano/db1200/kernel/linux-2.6.git/include/linux/mm.h:39, >> from >> /mnt/data/_home/mano/db1200/kernel/linux-2.6.git/arch/mips/kernel/asm-offsets.c:14: >> >> /mnt/data/_home/mano/db1200/kernel/linux-2.6.git/arch/mips/include/asm/pgtable.h: >> >> In function 'pte_modify': >> /mnt/data/_home/mano/db1200/kernel/linux-2.6.git/arch/mips/include/asm/pgtable.h:351: >> >> error: '_PFN_MASK' undeclared (first use in this function) >> make[2]: *** [arch/mips/kernel/asm-offsets.s] Error 1 >> make[1]: *** [prepare0] Error 2 >> make: *** [sub-make] Error 2 > Whoops! I will endeavor to fix this. Try the attached patch, it allows me to build an au1000 kernel. But since I don't have harware, I cannot test it. I started with pb1500_defconfig, but had to disable au1000_eth.c: drivers/net/au1000_eth.c: In function ‘au1000_probe’: drivers/net/au1000_eth.c:1009: error: implicit declaration of function ‘DECLARE_MAC_BUF’ drivers/net/au1000_eth.c:1009: error: ‘ethaddr’ undeclared (first use in this function) drivers/net/au1000_eth.c:1009: error: (Each undeclared identifier is reported only once drivers/net/au1000_eth.c:1009: error: for each function it appears in.) David Daney.