can't compile gentoo patched kernel on ppc
Hello
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. raven |
Sometimes such errors are caused by a 'stale' kernel build system (dependencies in /usr/src/linux not up to date -- has nothing to do with the gentoo build system), try this:
Go to the kernel source dir, save your .config in a place out of it (/tmp or so), then do 'make mrproper', copy the .config file back, and rebuild the kernel... The 'make mrproper' will clean out all cached dependencies, etc... I once had unresolved symbol errors and doing this fixed it! Not sure if this will fix your problem... it could also be a bug in the patch, maybe due to not enough testing on ppc. Maybe filing a gentoo bug report may help in that case. Good luck with it! |
hello
I found a soulution. I was missing a kernel option which must be activated (an option called something linke ide pci dma, and which is NOT located near the pmac dma option) very strange. Thanks anyway. raven |
All times are GMT -5. The time now is 01:02 PM. |