linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: 2.6.10 make script problems
@ 2004-12-27  3:01 Mark Williams (MWP)
  2004-12-27 23:36 ` Sam Ravnborg
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Williams (MWP) @ 2004-12-27  3:01 UTC (permalink / raw)
  To: linux-kernel; +Cc: Sam Ravnborg

>On Mon, Dec 27, 2004 at 01:23:02AM +1030, Mark Williams (MWP) wrote:
>> Hi all,
>> First... im not on lkml, so can you please CC replies back to me, thanks.
>> 
>> This is a werid one...
>> 
>> On running "make menuconfig" for the first time on a freshly extracted
>> "linux-2.6.10.tar.bz2" everything works fine.
>> 
>> >From then on however, running "make" in any form ("make bzImage", "make
>> menuconfig", etc) brings on this:
>> 
>> [root@linux linux-2.6.10]# make bzImage
>> make -C /usr/src/linux-2.6.10 O=/usr/src/linux-2.6.10 bzImage
>> make -C /usr/src/linux-2.6.10 O=/usr/src/linux-2.6.10 bzImage
>> make -C /usr/src/linux-2.6.10 O=/usr/src/linux-2.6.10 bzImage
>> make -C /usr/src/linux-2.6.10 O=/usr/src/linux-2.6.10 bzImage
>> make -C /usr/src/linux-2.6.10 O=/usr/src/linux-2.6.10 bzImage
>> ....
>> 
>> which continues until i ctrl-c.
>
>Check your Makefile. It looks like 'make O=...' was executed in the
>wrong directory, thus overwriting the original Makefile.
>
>	Sam

Yes, it seems the root Makefile is being overwritten.

On a cleanly extracted 2.6.10 kernel, when i run "make menuconfig" i get the following:

[root@linux linux-2.6.10]# make menuconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/split-include
  HOSTCC  scripts/basic/docproc
  GEN    /usr/src/linux-2.6.10-ck1/Makefile
  SHIPPED scripts/kconfig/zconf.tab.h
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/mconf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/lex.zconf.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/mconf
  HOSTCC  scripts/lxdialog/checklist.o
  HOSTCC  scripts/lxdialog/inputbox.o
  HOSTCC  scripts/lxdialog/lxdialog.o
  HOSTCC  scripts/lxdialog/menubox.o
  HOSTCC  scripts/lxdialog/msgbox.o
  HOSTCC  scripts/lxdialog/textbox.o
  HOSTCC  scripts/lxdialog/util.o
  HOSTCC  scripts/lxdialog/yesno.o
  HOSTLD  scripts/lxdialog/lxdialog

Note the "GEN /usr/src/linux-2.6.10-ck1/Makefile".
Is this the problem?

Thanks again.

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

* Re: 2.6.10 make script problems
  2004-12-27  3:01 2.6.10 make script problems Mark Williams (MWP)
@ 2004-12-27 23:36 ` Sam Ravnborg
  0 siblings, 0 replies; 4+ messages in thread
From: Sam Ravnborg @ 2004-12-27 23:36 UTC (permalink / raw)
  To: Mark Williams (MWP); +Cc: linux-kernel, Sam Ravnborg

On Mon, Dec 27, 2004 at 01:31:42PM +1030, Mark Williams (MWP) wrote:
> 
> On a cleanly extracted 2.6.10 kernel, when i run "make menuconfig" i get the following:
> 
> [root@linux linux-2.6.10]# make menuconfig
>   HOSTCC  scripts/basic/fixdep
>   HOSTCC  scripts/basic/split-include
>   HOSTCC  scripts/basic/docproc
>   GEN    /usr/src/linux-2.6.10-ck1/Makefile
>   SHIPPED scripts/kconfig/zconf.tab.h
>   HOSTCC  scripts/kconfig/conf.o
>   HOSTCC  scripts/kconfig/mconf.o
>   SHIPPED scripts/kconfig/zconf.tab.c
>   SHIPPED scripts/kconfig/lex.zconf.c
>   HOSTCC  scripts/kconfig/zconf.tab.o
>   HOSTLD  scripts/kconfig/mconf
>   HOSTCC  scripts/lxdialog/checklist.o
>   HOSTCC  scripts/lxdialog/inputbox.o
>   HOSTCC  scripts/lxdialog/lxdialog.o
>   HOSTCC  scripts/lxdialog/menubox.o
>   HOSTCC  scripts/lxdialog/msgbox.o
>   HOSTCC  scripts/lxdialog/textbox.o
>   HOSTCC  scripts/lxdialog/util.o
>   HOSTCC  scripts/lxdialog/yesno.o
>   HOSTLD  scripts/lxdialog/lxdialog
> 
> Note the "GEN /usr/src/linux-2.6.10-ck1/Makefile".
> Is this the problem?

Looks like you are using either make O= or have set KBUILD_OUTPUT to
/usr/src/linux-2.6.10-ck1.

But that does not explain it.

Where does the path "/usr/src/linux-2.6.10-ck1" come into the picture?

	Sam

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

* Re: 2.6.10 make script problems
  2004-12-26 14:53 Mark Williams (MWP)
@ 2004-12-26 20:19 ` Sam Ravnborg
  0 siblings, 0 replies; 4+ messages in thread
From: Sam Ravnborg @ 2004-12-26 20:19 UTC (permalink / raw)
  To: Mark Williams (MWP); +Cc: linux-kernel

On Mon, Dec 27, 2004 at 01:23:02AM +1030, Mark Williams (MWP) wrote:
> Hi all,
> First... im not on lkml, so can you please CC replies back to me, thanks.
> 
> 
> This is a werid one...
> 
> On running "make menuconfig" for the first time on a freshly extracted
> "linux-2.6.10.tar.bz2" everything works fine.
> 
> >From then on however, running "make" in any form ("make bzImage", "make
> menuconfig", etc) brings on this:
> 
> [root@linux linux-2.6.10]# make bzImage
> make -C /usr/src/linux-2.6.10 O=/usr/src/linux-2.6.10 bzImage
> make -C /usr/src/linux-2.6.10 O=/usr/src/linux-2.6.10 bzImage
> make -C /usr/src/linux-2.6.10 O=/usr/src/linux-2.6.10 bzImage
> make -C /usr/src/linux-2.6.10 O=/usr/src/linux-2.6.10 bzImage
> make -C /usr/src/linux-2.6.10 O=/usr/src/linux-2.6.10 bzImage
> ....
> 
> which continues until i ctrl-c.

Check your Makefile. It looks like 'make O=...' was executed in the
wrong directory, thus overwriting the original Makefile.

	Sam

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

* 2.6.10 make script problems
@ 2004-12-26 14:53 Mark Williams (MWP)
  2004-12-26 20:19 ` Sam Ravnborg
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Williams (MWP) @ 2004-12-26 14:53 UTC (permalink / raw)
  To: linux-kernel

Hi all,


First... im not on lkml, so can you please CC replies back to me, thanks.


This is a werid one...

On running "make menuconfig" for the first time on a freshly extracted
"linux-2.6.10.tar.bz2" everything works fine.

>From then on however, running "make" in any form ("make bzImage", "make
menuconfig", etc) brings on this:

[root@linux linux-2.6.10]# make bzImage
make -C /usr/src/linux-2.6.10 O=/usr/src/linux-2.6.10 bzImage
make -C /usr/src/linux-2.6.10 O=/usr/src/linux-2.6.10 bzImage
make -C /usr/src/linux-2.6.10 O=/usr/src/linux-2.6.10 bzImage
make -C /usr/src/linux-2.6.10 O=/usr/src/linux-2.6.10 bzImage
make -C /usr/src/linux-2.6.10 O=/usr/src/linux-2.6.10 bzImage
....

which continues until i ctrl-c.

I am running "GNU Make version 3.79.1", and all previous versions of the kernel
(2.6.9, 2.6.8.1, etc) have all built, and still do build perfectly.

Any ideas?

Thanks,
 Mark Williams.

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

end of thread, other threads:[~2004-12-27 23:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-27  3:01 2.6.10 make script problems Mark Williams (MWP)
2004-12-27 23:36 ` Sam Ravnborg
  -- strict thread matches above, loose matches on Subject: below --
2004-12-26 14:53 Mark Williams (MWP)
2004-12-26 20:19 ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).