Description of problem: I'm trying to build a custom kernel using kernel-sourcecode-2.6.6-1.435. When I enable either the CONFIG_SOFTWARE_SUSPEND or CONFIG_PM_DISK power management options, the kernel build fails with with the following errors, respectively: arch/i386/power/built-in.o(.text+0x1b4): In function `pmdisk_arch_suspend': : undefined reference to `swsusp_pg_dir' arch/i386/power/built-in.o(.text+0x263): In function `do_magic': : undefined reference to `swsusp_pg_dir' make: *** [.tmp_vmlinux1] Error 1 Version-Release number of selected component (if applicable): kernel-sourcecode-2.6.6-1.435 How reproducible: always Steps to Reproduce: 1. install kernel-sourcecode-2.6.6-1.435 rpm 2. cd /usr/src/linux-2.6.6... 3. make mrproper 4. make bzImage Actual results: build aborts on above error Expected results: build should complete Additional info:
In "Steps to Reproduce", above, I forgot to mention that I have modified the stock kernel*i686*.config file to include the power management options below. Here are relevant lines from my kernel .config file: # # Power management options (ACPI, APM) # CONFIG_PM=y CONFIG_SOFTWARE_SUSPEND=y CONFIG_PM_DISK=y CONFIG_PM_DISK_PARTITION="/dev/hda5"
*** This bug has been marked as a duplicate of 126342 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.