Re: Error 2: No rule to make target kernel/timeconst.pl
From: Geert Uytterhoeven
Date: Thu Jul 11 2013 - 09:10:46 EST
On Thu, Jul 11, 2013 at 12:49 PM, Konrad Vrba <konrad.vrba@xxxxxxxxx> wrote:
> On 7/11/13, Borislav Petkov <bp@xxxxxxxxx> wrote:
>> On Thu, Jul 11, 2013 at 12:28:20PM +0200, Konrad Vrba wrote:
>>> Hello,
>>> I have following error while compiling new stable kernel 3.10:
>>>
>>> CC kernel/fork.o
>>> CC kernel/exec_domain.o
>>> CC kernel/panic.o
>>> CC kernel/printk.o
>>> CC kernel/cpu.o
>>> CC kernel/exit.o
>>> CC kernel/itimer.o
>>> make[1]: *** No rule to make target `kernel/timeconst.pl', needed by
>>> `kernel/timeconst.h'. Stop.
>>> make: *** [kernel] Error 2
>>>
>>> Could somebody please advise how to fix this ?
>>
>> Can you save your config first, cleanup the build dir from kbuild stuff:
>>
>> make mrproper
>>
>> and then try building again?
>>
>> FWIW, 3.10 and later builds just fine here.
>
> cleaning up with 'make mrproper' does not help.
> I still get the same error
Do you still have build files around after "make mrproper"?
If this is a git clone, "git ls-files --others" will tell you.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/