failed to do make menuconfig
Hi, In the latest staging tree I cant do "make menuconfig" or even "make config" prashant@mint11 ~/linux-2.6 $ make menuconfig HOSTCC scripts/kconfig/mconf.o HOSTCC scripts/kconfig/zconf.tab.o In file included from scripts/kconfig/zconf.tab.c:90:0: scripts/kconfig/lkc.h:27:22: fatal error: lkc_defs.h: No such file or directory compilation terminated. make[1]: *** [scripts/kconfig/zconf.tab.o] Error 1 make: *** [menuconfig] Error 2 Even against the latest linux 3.0.0 tree I get this HOSTCC scripts/kconfig/zconf.tab.o In file included from scripts/kconfig/zconf.tab.c:90:0: scripts/kconfig/lkc.h:27:22: fatal error: lkc_defs.h: No such file or directory compilation terminated. make[1]: *** [scripts/kconfig/zconf.tab.o] Error 1 make: *** [menuconfig] Error 2 I am using latest version of Mint Linux
Hi, On Mon, Jul 25, 2011 at 6:08 PM, Jonathan Neuschäfer <j.neuschaefer@gmx.net> wrote:
On Fri, Jul 22, 2011 at 09:08:54PM +0530, Prashant Shah wrote:
Hi,
In the latest staging tree I cant do "make menuconfig" or even "make config"
Does it work if you run "make mrproper" first?
Thanks it is working now !
Hi, On Mon, Jul 25, 2011 at 6:08 PM, Jonathan Neuschäfer <j.neuschaefer@gmx.net> wrote:
On Fri, Jul 22, 2011 at 09:08:54PM +0530, Prashant Shah wrote:
Hi,
In the latest staging tree I cant do "make menuconfig" or even "make config"
Does it work if you run "make mrproper" first?
I read the scripts/kconfig/lkc.h file and it #includes the "lkc_defs.h" file which actually does not exists anywhere in the kernel source tree.
On 07/26/2011 01:00 PM, Prashant Shah wrote:
Hi,
On Mon, Jul 25, 2011 at 6:08 PM, Jonathan Neuschäfer <j.neuschaefer@gmx.net> wrote:
On Fri, Jul 22, 2011 at 09:08:54PM +0530, Prashant Shah wrote:
Hi,
In the latest staging tree I cant do "make menuconfig" or even "make config"
Does it work if you run "make mrproper" first?
I read the scripts/kconfig/lkc.h file and it #includes the "lkc_defs.h" file which actually does not exists anywhere in the kernel source tree.
Probably the file lkc_defs.h is created during kernel compilation time itself and then subsequently used. I have seen examples of this kind of compilation in other Operating Systems. -- Regards, Srivatsa S. Bhat
On Tue, Jul 26, 2011 at 1:00 PM, Prashant Shah <pshah.mumbai@gmail.com>wrote:
Hi,
On Mon, Jul 25, 2011 at 6:08 PM, Jonathan Neuschäfer <j.neuschaefer@gmx.net> wrote:
On Fri, Jul 22, 2011 at 09:08:54PM +0530, Prashant Shah wrote:
Hi,
In the latest staging tree I cant do "make menuconfig" or even "make config"
Does it work if you run "make mrproper" first?
I read the scripts/kconfig/lkc.h file and it #includes the "lkc_defs.h" file which actually does not exists anywhere in the kernel source tree.
Probably the file lkc_defs.h is created during kernel compilation time itself and then subsequently used. I have seen examples of this kind of compilation in other Operating Systems. -- Regards, Srivatsa S. Bhat
Hi, On Tue, Jul 26, 2011 at 1:36 PM, srivatsa bhat <bhat.srivatsa@gmail.com> wrote:
Probably the file lkc_defs.h is created during kernel compilation time itself and then subsequently used. I have seen examples of this kind of compilation in other Operating Systems. --
You are right. This line in the Makefile for kconfig seems to do that. $(obj)/lkc_defs.h: $(src)/lkc_proto.h $(Q)sed < $< > $@ 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/'
participants (4)
-
Jonathan Neuschäfer -
Prashant Shah -
srivatsa bhat -
Srivatsa S. Bhat