Re: Error 2: No rule to make target kernel/timeconst.pl

From: Borislav Petkov
Date: Thu Jul 11 2013 - 06:43:29 EST


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.

--
Regards/Gruss,
Boris.

Sent from a fat crate under my desk. Formatting is fine.
--
--
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/