1 |
On syncing today I was offered gentoo-sources-2.6.21. On attempting to |
2 |
compile it I get: |
3 |
|
4 |
drivers/built-in.o: In function `acpi_rtc_init': |
5 |
glue.c:(.init.text+0x34c2): undefined reference to `pnp_bus_type' |
6 |
drivers/built-in.o: In function `acpi_bus_generate_event': |
7 |
(.text.acpi_bus_generate_event+0x25): undefined reference to `event_is_open' |
8 |
drivers/built-in.o: In function `acpi_bus_get_power': |
9 |
(.text.acpi_bus_get_power+0x97): undefined reference to |
10 |
`acpi_power_get_inferred_state' |
11 |
drivers/built-in.o: In function `acpi_bus_set_power': |
12 |
(.text.acpi_bus_set_power+0xf3): undefined reference to |
13 |
`acpi_power_transition' |
14 |
drivers/built-in.o: In function `acpi_bus_set_power': |
15 |
(.text.acpi_bus_set_power+0x165): undefined reference to |
16 |
`acpi_power_transition' |
17 |
|
18 |
Does this imply that I'm required to include a full ACPI setup in my |
19 |
kernels? I'm trying to prevent all attempts to switch my monitor off, but |
20 |
without a lot of success so far. (If I haven't told the machine to do |
21 |
something, it shouldn't do it; and I want control over my peripherals |
22 |
thank-you-very-much.) |
23 |
|
24 |
My kernel-compilation method is as follows: |
25 |
1. Emerge -u gentoo-sources |
26 |
2. Set /usr/src/linux manually (I know there is an automatic method, but |
27 |
that kills any package that's recompiled with every kernel version) |
28 |
3. Copy the previous .config from its store on /boot |
29 |
4. Make oldconfig and set any new options, making a note of any that need |
30 |
further exploration |
31 |
5. If any such notes, make menuconfig and read help; change any settings |
32 |
that need it |
33 |
6. Make && make modules_install |
34 |
7. Copy new .config and new kernel to /boot |
35 |
8. Change /boot/grub/grub.conf to choose the new kernel by default |
36 |
9. Reboot no-X and remerge nvidia-drivers and vmware-server |
37 |
10. Reboot into KDE and check the system over |
38 |
11. Celebrate with a pint. |
39 |
|
40 |
-- |
41 |
Rgds |
42 |
Peter Humphrey |
43 |
Linux Counter 5290, Aug 93 |
44 |
-- |
45 |
gentoo-amd64@g.o mailing list |