HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Kernel Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=6)
-   -   Kernel compilation <ERROR: "pm_idle" [arch/x86/kernel/apm.ko] undefined!> (http://www.howtoforge.com/forums/showthread.php?t=52917)

sychev 1st June 2011 14:29

Kernel compilation <ERROR: "pm_idle" [arch/x86/kernel/apm.ko] undefined!>
 
Hi, guys. I tried to compile linux kernel in Ubuntu according to this tutorial.
But after 2 hours of compilation process I get this:

Code:

  UNROLL  lib/raid6/altivec4.c
  UNROLL  lib/raid6/altivec4.c
  CC [M]  lib/raid6/altivec4.o
  UNROLL  lib/raid6/altivec8.c
  CC [M]  lib/raid6/altivec8.o
  CC [M]  lib/raid6/mmx.o
  CC [M]  lib/raid6/sse1.o
  CC [M]  lib/raid6/sse2.o
  LD [M]  lib/raid6/raid6_pq.o
  CC [M]  lib/reed_solomon/reed_solomon.o
  CC [M]  lib/zlib_deflate/deflate.o
  CC [M]  lib/zlib_deflate/deftree.o
  CC [M]  lib/zlib_deflate/deflate_syms.o
  LD [M]  lib/zlib_deflate/zlib_deflate.o
  Building modules, stage 2.
  MODPOST 2716 modules
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

This error appears several times. What does it mean? What can I do?
My computer info is
Code:

uname -a: Linux huawei-laptop 2.6.32-32-generic #62-Ubuntu SMP Wed Apr 20 21:54:21 UTC 2011 i686 GNU/Linux
/proc/cmdline: BOOT_IMAGE=/boot/vmlinuz-2.6.32-32-generic root=UUID=973acdc3-c6e3-456a-8e14-2ef442dd20df ro quiet splash
/proc/cpuinfo: processor        : 0
/proc/cpuinfo: vendor_id        : GenuineIntel
/proc/cpuinfo: cpu family        : 6
/proc/cpuinfo: model                : 15
/proc/cpuinfo: model name        : Intel(R) Core(TM)2 CPU        T5500  @ 1.66GHz
/proc/cpuinfo: stepping        : 2
/proc/cpuinfo: cpu MHz                : 1667.000
/proc/cpuinfo: cache size        : 2048 KB
/proc/cpuinfo: physical id        : 0
/proc/cpuinfo: siblings        : 2
/proc/cpuinfo: core id                : 0
/proc/cpuinfo: cpu cores        : 2
/proc/cpuinfo: apicid                : 0
/proc/cpuinfo: initial apicid        : 0
/proc/cpuinfo: fdiv_bug        : no
/proc/cpuinfo: hlt_bug                : no
/proc/cpuinfo: f00f_bug        : no
/proc/cpuinfo: coma_bug        : no
/proc/cpuinfo: fpu                : yes
/proc/cpuinfo: fpu_exception        : yes
/proc/cpuinfo: cpuid level        : 10
/proc/cpuinfo: wp                : yes
/proc/cpuinfo: flags                : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow
/proc/cpuinfo: bogomips        : 3324.79
/proc/cpuinfo: clflush size        : 64
/proc/cpuinfo: cache_alignment        : 64
/proc/cpuinfo: address sizes        : 36 bits physical, 48 bits virtual
/proc/cpuinfo: power management:
/proc/cpuinfo:
/proc/cpuinfo: processor        : 1
/proc/cpuinfo: vendor_id        : GenuineIntel
/proc/cpuinfo: cpu family        : 6
/proc/cpuinfo: model                : 15
/proc/cpuinfo: model name        : Intel(R) Core(TM)2 CPU        T5500  @ 1.66GHz
/proc/cpuinfo: stepping        : 2
/proc/cpuinfo: cpu MHz                : 1333.000
/proc/cpuinfo: cache size        : 2048 KB
/proc/cpuinfo: physical id        : 0
/proc/cpuinfo: siblings        : 2
/proc/cpuinfo: core id                : 1
/proc/cpuinfo: cpu cores        : 2
/proc/cpuinfo: apicid                : 1
/proc/cpuinfo: initial apicid        : 1
/proc/cpuinfo: fdiv_bug        : no
/proc/cpuinfo: hlt_bug                : no
/proc/cpuinfo: f00f_bug        : no
/proc/cpuinfo: coma_bug        : no
/proc/cpuinfo: fpu                : yes
/proc/cpuinfo: fpu_exception        : yes
/proc/cpuinfo: cpuid level        : 10
/proc/cpuinfo: wp                : yes
/proc/cpuinfo: flags                : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow
/proc/cpuinfo: bogomips        : 3325.08
/proc/cpuinfo: clflush size        : 64
/proc/cpuinfo: cache_alignment        : 64
/proc/cpuinfo: address sizes        : 36 bits physical, 48 bits virtual
/proc/cpuinfo: power management:


sychev 2nd June 2011 11:48

I found solution.
In make menuconfig I switch off "APM" module.
And compile kernel according to this tutorial.
https://wiki.ubuntu.com/KernelTeam/GitKernelBuild


All times are GMT +2. The time now is 06:14.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.