Block config_debug_kernek Problems

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.