Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182075 - gentoo-sources-2.6.20-r5 - error when building ADB support without PMU support
Summary: gentoo-sources-2.6.20-r5 - error when building ADB support without PMU support
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-15 01:14 UTC by gent_bz
Modified: 2007-08-29 22:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
use pmu_register_sleep_notifier() only when CONFIG_ADB_PMU defined (cfg_adb_pmu.patch,4.25 KB, patch)
2007-06-19 19:16 UTC, Maarten Bressers (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description gent_bz 2007-06-15 01:14:00 UTC
Building a kernel for a blue & white G3, under Device Drivers -> Macintosh device drivers, I enabled "Apple Desktop Bus (ADB) support" (CONFIG_ADB) and "Support for CUDA based Macs and PowerMacs" (CONFIG_ADB_CUDA) and disabled "Support for PMU based PowerMacs" (CONFIG_ADB_PMU) as those options match the hardware of the machine (as I understand it) and received the following build error  :

drivers/built-in.o: In function `adb_init':
(.init.text+0x307c): undefined reference to `pmu_register_sleep_notifier'

Workaround thus far has been to disable CONFIG_ADB - which is not really desirable.
Comment 1 Maarten Bressers (RETIRED) gentoo-dev 2007-06-19 19:14:50 UTC
Could you please apply the patch (see attachment) and try again, with CONFIG_ADB_CUDA enabled and CONFIG_ADB_PMU disabled?
Comment 2 Maarten Bressers (RETIRED) gentoo-dev 2007-06-19 19:16:50 UTC
Created attachment 122550 [details, diff]
use pmu_register_sleep_notifier() only when CONFIG_ADB_PMU defined
Comment 3 Maarten Bressers (RETIRED) gentoo-dev 2007-07-27 19:44:42 UTC
Jonathan, have you made any progress with testing this patch yet?
Comment 4 Mike Pagano gentoo-dev 2007-08-29 22:09:50 UTC
Jonathan,

Please reopen when you've had a chance to test the patch from comment #2