Kernel compilation fails at module apm.ko with the following message: ERROR: "pm_idle" [arch/x86/kernel/apm.ko] undefined! ERROR: "default_idle" [arch/x86/kernel/apm.ko] undefined! make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2
Created attachment 61092 [details] Kernel .config file
David, With the config that you attached it should not be reproducible. When APM is build then we need "pm_idle" and "default_idle" to be available. They are currently under APM_CPU_IDLE option. So, making is available in your config automatically solves the problem. I'm sending patch to dynamic select APM_CPU_IDLE on APM selection. Can you please double check it?
Created attachment 61822 [details] Dynamic select of APM_CPU_IDLE feature for enabling APM. I saw email about removing APM completely but as of now we can add the following to close build issue. --- Dynamic select of APM_CPU_IDLE feature for enabling APM. Signed-off-by: Vitaliy Ivanov <vitalivanov@gmail.com> >From f00634bec035f1526266340bf75aa4e2620c8284 Mon Sep 17 00:00:00 2001 From: Vitaliy Ivanov <vitalivanov@gmail.com> Date: Fri, 10 Jun 2011 19:06:37 +0300 Subject: [PATCH] Dynamic select of APM_CPU_IDLE on APM enabling.
Fixed by git commit 60b8b1de0dd2bf246f0e074d287bb3f0bc42a755.