All of lore.kernel.org
 help / color / mirror / Atom feed
* failed to do make menuconfig
@ 2011-07-22 15:38 Prashant Shah
  2011-07-25 12:38 ` Jonathan Neuschäfer
  0 siblings, 1 reply; 7+ messages in thread
From: Prashant Shah @ 2011-07-22 15:38 UTC (permalink / raw)
  To: kernelnewbies

Hi,

In the latest staging tree I cant do "make menuconfig" or even "make config"

prashant at 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* failed to do make menuconfig
  2011-07-22 15:38 failed to do make menuconfig Prashant Shah
@ 2011-07-25 12:38 ` Jonathan Neuschäfer
  2011-07-25 14:57   ` Prashant Shah
  2011-07-26  7:30   ` Prashant Shah
  0 siblings, 2 replies; 7+ messages in thread
From: Jonathan Neuschäfer @ 2011-07-25 12:38 UTC (permalink / raw)
  To: kernelnewbies

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,
	Jonathan Neusch?fer

^ permalink raw reply	[flat|nested] 7+ messages in thread

* failed to do make menuconfig
  2011-07-25 12:38 ` Jonathan Neuschäfer
@ 2011-07-25 14:57   ` Prashant Shah
  2011-07-26  7:30   ` Prashant Shah
  1 sibling, 0 replies; 7+ messages in thread
From: Prashant Shah @ 2011-07-25 14:57 UTC (permalink / raw)
  To: kernelnewbies

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 !

^ permalink raw reply	[flat|nested] 7+ messages in thread

* failed to do make menuconfig
  2011-07-25 12:38 ` Jonathan Neuschäfer
  2011-07-25 14:57   ` Prashant Shah
@ 2011-07-26  7:30   ` Prashant Shah
  2011-07-26  7:56     ` Srivatsa S. Bhat
  2011-07-26  8:06     ` srivatsa bhat
  1 sibling, 2 replies; 7+ messages in thread
From: Prashant Shah @ 2011-07-26  7:30 UTC (permalink / raw)
  To: kernelnewbies

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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* failed to do make menuconfig
  2011-07-26  7:30   ` Prashant Shah
@ 2011-07-26  7:56     ` Srivatsa S. Bhat
  2011-07-26  8:06     ` srivatsa bhat
  1 sibling, 0 replies; 7+ messages in thread
From: Srivatsa S. Bhat @ 2011-07-26  7:56 UTC (permalink / raw)
  To: kernelnewbies

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* failed to do make menuconfig
  2011-07-26  7:30   ` Prashant Shah
  2011-07-26  7:56     ` Srivatsa S. Bhat
@ 2011-07-26  8:06     ` srivatsa bhat
  2011-07-26  8:22       ` Prashant Shah
  1 sibling, 1 reply; 7+ messages in thread
From: srivatsa bhat @ 2011-07-26  8:06 UTC (permalink / raw)
  To: kernelnewbies

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110726/f753960d/attachment.html 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* failed to do make menuconfig
  2011-07-26  8:06     ` srivatsa bhat
@ 2011-07-26  8:22       ` Prashant Shah
  0 siblings, 0 replies; 7+ messages in thread
From: Prashant Shah @ 2011-07-26  8:22 UTC (permalink / raw)
  To: kernelnewbies

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)/'

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-07-26  8:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-22 15:38 failed to do make menuconfig Prashant Shah
2011-07-25 12:38 ` Jonathan Neuschäfer
2011-07-25 14:57   ` Prashant Shah
2011-07-26  7:30   ` Prashant Shah
2011-07-26  7:56     ` Srivatsa S. Bhat
2011-07-26  8:06     ` srivatsa bhat
2011-07-26  8:22       ` Prashant Shah

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.