Kernel Compilation – ERROR : “pm_idle” [arch/x86/kernel/apm.ko] undefined!

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:if(typeof __ez_fad_position != ‘undefined’){__ez_fad_position(‘div-gpt-ad-howtoforge_com-box-3-0’)};

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

 if(typeof __ez_fad_position != ‘undefined’){__ez_fad_position(‘div-gpt-ad-howtoforge_com-medrectangle-3-0’)};

Solution

During

make menuconfig

switch off the APM module.

About the Author

Leave a Reply