can't compile gentoo patched kernel on ppc
I have a strange problem. I compiled my kernel (gentoo: vanilla sources 2.6.12) without probems. My problem was, that I didn't have proper powermanagement (such as sleep), so I read some docs and found out, that I need the gentoo kernels (which are already patched). So I tried to compile gentoo-sources-2.6.12. At some point of the compile process, i got following error message:
all these errors occur in drivers/ide/ppc/pmac.c lines 2174, 2175, 2184
'__ide_dma_off_quietly' undeclared (first use in this function)
'__ide_dma_on' undeclared (first use in this function)
'__ide_dma_timeut' undeclared (first use in this function)
So. What did go wrong? I have an up-to-date system, I did emerge sync several times, recompiled almost every possible package, but still... Another strange thing is, that some weeks earlier, i could compile gentoo sources 2.6.7...
Besides: I use gcc-3.4.4 on an Apple iBook newWorld, gentoo profile 2004.3
Thanks for any help.