On Sun, Jul 1, 2012 at 12:27 PM, Jarry <mr.ja...@gmail.com> wrote:
> Hi, I'm trying to compile new kernel, but it failed:
> --------------------------------------------
>   CC      arch/x86/kernel/process_64.o
>   CC      arch/x86/kernel/signal.o
>   AS      arch/x86/kernel/entry_64.o
>   CC      arch/x86/kernel/traps.o
> arch/x86/kernel/traps.c: In function âdefault_do_nmiâ:
> arch/x86/kernel/traps.c:509:3: error: implicit declaration of function
> ânmi_watchdog_tickâ
> arch/x86/kernel/traps.c:512:3: error: implicit declaration of function
> âdo_nmi_callbackâ
> make[2]: *** [arch/x86/kernel/traps.o] Error 1
> make[1]: *** [arch/x86/kernel] Error 2
> make: *** [arch/x86] Error 2
> --------------------------------------------
>
> If I understand correctly, function "default_do_nmi" in traps.c
> triggered check for nmi_watchdog_tick and do_nmi_callback which
> are probably missing.
>
> Q1: how can I find which "make menuconfig" option activated
> "default_do_nmi"?
>
> Q2: If I can not disable default_do_nmi, what else do I have to
> check/activate in kernel config to fix this error?

I would backup your .config then run "make oldconfig", this should do
some dependency checks on your configuration choices. Afterward you
can diff the two files and see if anything has changed. Otherwise I
would try "make clean" and start the build over in case it somehow
became confused.

Reply via email to