Scenario Description:. if the config_debug_kernel option is defined in the config file, the debugging information is carried in the dynamic link library when the code is compiled. As a result, the compiled kernel module File increases and the debugging information is deleted, the volume is reduced several times. However, the following problems occur:
Execute Command: Make bzimage
/X86/kernel/traps. C: In function "default_do_nmi ':
/X86/kernel/traps. C: 517: Error: Implicit declaratiob of function 'nmi _ watchdog_tick'
/X86/kernel/traps. C: 519: Error: Implicit declaration of funciton 'do _ nmi_callback'
Make [2]: *** [ARCH/x86/kernel/traps. O] Error 1
Solution:
Since we cannot comment out config_debug_kernel and compile the kernel, we try to compile the kernel module to minimize the size of the kernel compilation module.
Block config_debug_kernek Problems