1 |
On Sun, Jul 1, 2012 at 12:27 PM, Jarry <mr.jarry@×××××.com> wrote: |
2 |
> Hi, I'm trying to compile new kernel, but it failed: |
3 |
> -------------------------------------------- |
4 |
> CC arch/x86/kernel/process_64.o |
5 |
> CC arch/x86/kernel/signal.o |
6 |
> AS arch/x86/kernel/entry_64.o |
7 |
> CC arch/x86/kernel/traps.o |
8 |
> arch/x86/kernel/traps.c: In function âdefault_do_nmiâ: |
9 |
> arch/x86/kernel/traps.c:509:3: error: implicit declaration of function |
10 |
> ânmi_watchdog_tickâ |
11 |
> arch/x86/kernel/traps.c:512:3: error: implicit declaration of function |
12 |
> âdo_nmi_callbackâ |
13 |
> make[2]: *** [arch/x86/kernel/traps.o] Error 1 |
14 |
> make[1]: *** [arch/x86/kernel] Error 2 |
15 |
> make: *** [arch/x86] Error 2 |
16 |
> -------------------------------------------- |
17 |
> |
18 |
> If I understand correctly, function "default_do_nmi" in traps.c |
19 |
> triggered check for nmi_watchdog_tick and do_nmi_callback which |
20 |
> are probably missing. |
21 |
> |
22 |
> Q1: how can I find which "make menuconfig" option activated |
23 |
> "default_do_nmi"? |
24 |
> |
25 |
> Q2: If I can not disable default_do_nmi, what else do I have to |
26 |
> check/activate in kernel config to fix this error? |
27 |
|
28 |
I would backup your .config then run "make oldconfig", this should do |
29 |
some dependency checks on your configuration choices. Afterward you |
30 |
can diff the two files and see if anything has changed. Otherwise I |
31 |
would try "make clean" and start the build over in case it somehow |
32 |
became confused. |