Kernel Compilation - ERROR : "pm_idle" [arch/x86/kernel/apm.ko] undefined!
Error: Kernel Compilation - ERROR : "pm_idle" [arch/x86/kernel/apm.ko] undefined!
You try to compile a Linux kernel and get the following errors:
ERROR: "pm_idle" [arch/x86/kernel/apm.ko] undefined!
ERROR: "default_idle" [arch/x86/kernel/apm.ko] undefined!
WARNING: modpost: Found 7 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
make[2]: *** [__modpost] Error 1
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/huawei/linux-2.6'
make: *** [debian/stamp/build/kernel] Error 2
Solution
During
make menuconfig
switch off the APM module.