$ make all scripts/kconfig/conf -s arch/alpha/Kconfig CHK include/linux/version.h UPD include/linux/version.h CHK include/linux/utsrelease.h UPD include/linux/utsrelease.h SYMLINK include/asm -> include/asm-alpha CC kernel/bounds.s GEN include/linux/bounds.h CC arch/alpha/kernel/asm-offsets.s In file included from /home/klausman/src/linux-2.6.28-rc1/arch/alpha/include/asm/core_tsunami.h:5, from /home/klausman/src/linux-2.6.28-rc1/arch/alpha/include/asm/io.h:232, from arch/alpha/kernel/asm-offsets.c:12: include/linux/pci.h: In function 'pci_ioremap_bar': include/linux/pci.h:1148: error: implicit declaration of function 'ioremap_nocache' include/linux/pci.h:1149: warning: return makes pointer from integer without a cast In file included from arch/alpha/kernel/asm-offsets.c:12: /home/klausman/src/linux-2.6.28-rc1/arch/alpha/include/asm/io.h: At top level: /home/klausman/src/linux-2.6.28-rc1/arch/alpha/include/asm/io.h:300: error: conflicting types for 'ioremap_nocache' include/linux/pci.h:1148: error: previous implicit declaration of 'ioremap_nocache' was here make[1]: *** [arch/alpha/kernel/asm-offsets.s] Error 1 make: *** [prepare0] Error 2 A solution has been discussed here: http://www.nabble.com/-ALPHA--2.6.28-rc-fails-to-compile-td20223847.html
Have you tried with the final 2.6.28 kernel?
Yes, of course. Same error.
Thanks, will watch upstream bug
Please try applying this patch to 2.6.28 http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=1684f5ddd4c0c754f52c78eaa2c5c69ad09fb18c
Created attachment 178030 [details] 2.6.28+patches panic on boot The kernel now compiles (after adding the irq_srm.c fix, too). Unfortunately, it panics on boot (see attached file).
That is unlikely to be related to this patch, you are just hitting it because this is the first time you have been able to boot 2.6.28. Please file a different bug for that if we don't manage to fix it on IRC.
.
fixed in gentoo-sources-2.6.28-r1