* make errors (make clean, make menuconfig) make -C /usr/src/linux-2.6.10 O=/usr/src/linux-2.6.10 menuconfig
@ 2004-12-27 21:53 Georg Prenner
2004-12-27 22:48 ` Sam Ravnborg
0 siblings, 1 reply; 4+ messages in thread
From: Georg Prenner @ 2004-12-27 21:53 UTC (permalink / raw)
To: linux-kernel
Hi
I am having a problem when executing "make menuconfig" on my fresh
extracted 2.6.10 kernel.
The error message is like this:
make -C /usr/src/linux-2.6.10 O=/usr/src/linux-2.6.10 menuconfig
make -C /usr/src/linux-2.6.10 O=/usr/src/linux-2.6.10 menuconfig
make -C /usr/src/linux-2.6.10 O=/usr/src/linux-2.6.10 menuconfig
make -C /usr/src/linux-2.6.10 O=/usr/src/linux-2.6.10 menuconfig
.
.
.
.
.
.
.
I can only stop this neverending message with Strg+C and then it goes on
like this:
make[85]: *** [menuconfig] Interrupt
make[84]: *** wait: No child processes. Stop.
make[84]: *** Waiting for unfinished jobs....
make[84]: *** wait: No child processes. Stop.
make[83]: *** [menuconfig] Error 2
make[82]: *** [menuconfig] Interrupt
make[81]: *** [menuconfig] Interrupt
..
.
.
All other Versions of Kernels work perfectly, I use Make 3.80, and my
distro is slackware 10.0.
Please help me i can't find anything usefull on the WEB.
THANKS
georg.prenner@aon.at
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: make errors (make clean, make menuconfig) make -C /usr/src/linux-2.6.10 O=/usr/src/linux-2.6.10 menuconfig
2004-12-27 21:53 make errors (make clean, make menuconfig) make -C /usr/src/linux-2.6.10 O=/usr/src/linux-2.6.10 menuconfig Georg Prenner
@ 2004-12-27 22:48 ` Sam Ravnborg
2004-12-27 23:19 ` Sam Ravnborg
0 siblings, 1 reply; 4+ messages in thread
From: Sam Ravnborg @ 2004-12-27 22:48 UTC (permalink / raw)
To: Georg Prenner; +Cc: linux-kernel
On Mon, Dec 27, 2004 at 10:53:54PM +0100, Georg Prenner wrote:
> Hi
>
> I am having a problem when executing "make menuconfig" on my fresh
> extracted 2.6.10 kernel.
>
> The error message is like this:
>
> make -C /usr/src/linux-2.6.10 O=/usr/src/linux-2.6.10 menuconfig
> make -C /usr/src/linux-2.6.10 O=/usr/src/linux-2.6.10 menuconfig
> make -C /usr/src/linux-2.6.10 O=/usr/src/linux-2.6.10 menuconfig
> make -C /usr/src/linux-2.6.10 O=/usr/src/linux-2.6.10 menuconfig
> .
> .
> .
> .
> .
> .
> .
> I can only stop this neverending message with Strg+C and then it goes on
> like this:
> make[85]: *** [menuconfig] Interrupt
> make[84]: *** wait: No child processes. Stop.
> make[84]: *** Waiting for unfinished jobs....
> make[84]: *** wait: No child processes. Stop.
> make[83]: *** [menuconfig] Error 2
> make[82]: *** [menuconfig] Interrupt
> make[81]: *** [menuconfig] Interrupt
> ..
> .
> .
>
> All other Versions of Kernels work perfectly, I use Make 3.80, and my
> distro is slackware 10.0.
>
> Please help me i can't find anything usefull on the WEB.
Try executing make in the directory where you extract the source -
and not in the symlinked directory.
You need to untar the source first because kbuild has overwritten
your Makefile.
Sam
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: make errors (make clean, make menuconfig) make -C /usr/src/linux-2.6.10 O=/usr/src/linux-2.6.10 menuconfig
2004-12-27 22:48 ` Sam Ravnborg
@ 2004-12-27 23:19 ` Sam Ravnborg
2004-12-28 23:23 ` Sam Ravnborg
0 siblings, 1 reply; 4+ messages in thread
From: Sam Ravnborg @ 2004-12-27 23:19 UTC (permalink / raw)
To: Georg Prenner, linux-kernel
On Mon, Dec 27, 2004 at 11:48:33PM +0100, Sam Ravnborg wrote:
> > I am having a problem when executing "make menuconfig" on my fresh
> > extracted 2.6.10 kernel.
> >
> > The error message is like this:
> >
> > make -C /usr/src/linux-2.6.10 O=/usr/src/linux-2.6.10 menuconfig
> > make -C /usr/src/linux-2.6.10 O=/usr/src/linux-2.6.10 menuconfig
> > make -C /usr/src/linux-2.6.10 O=/usr/src/linux-2.6.10 menuconfig
> > make -C /usr/src/linux-2.6.10 O=/usr/src/linux-2.6.10 menuconfig
...
It is the following code snippet that causes the troubles:
---
outputmakefile:
$(Q)if /usr/bin/env test ! $(srctree) -ef $(objtree); then \
$(CONFIG_SHELL) $(srctree)/scripts/mkmakefile
---
I've now tried differents way to reproduce the error without luck.
You are the second person reporting this - and I assumed from fitst
poster this was a symlink issue. But I cannot reporduce it here.
One person coul not locate /usr/bin/env - but that did not trigger
anythin renaming that file to something else.
Could you please drop a mail with full log what you do before seeing
this bug.
Sam
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: make errors (make clean, make menuconfig) make -C /usr/src/linux-2.6.10 O=/usr/src/linux-2.6.10 menuconfig
2004-12-27 23:19 ` Sam Ravnborg
@ 2004-12-28 23:23 ` Sam Ravnborg
0 siblings, 0 replies; 4+ messages in thread
From: Sam Ravnborg @ 2004-12-28 23:23 UTC (permalink / raw)
To: Georg Prenner, linux-kernel
On Tue, Dec 28, 2004 at 12:19:34AM +0100, Sam Ravnborg wrote:
> ...
>
> It is the following code snippet that causes the troubles:
> ---
> outputmakefile:
> $(Q)if /usr/bin/env test ! $(srctree) -ef $(objtree); then \
> $(CONFIG_SHELL) $(srctree)/scripts/mkmakefile
> ---
env was behaving different in some setups - and located in other places.
Since I cannot remeber why it is there I the fix was simple - remove it.
Sam
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2004/12/28 19:12:15+01:00 sam@mars.ravnborg.org
# kbuild: drop use of /usr/bin/env in top-level Makefile
#
# The use of env is not needed, and caused the output makefile to be
# created in some setups where it was not supposed to.
# Seems to be an issue with GNU sh-utils version of env.
#
# One user also reported env to be located in another place (/usr/local/bin/..).
# This patch fixes bug: http://bugme.osdl.org/show_bug.cgi?id=3953
#
# Thanks to "Mark Williams (MWP)" <mwp@internode.on.net> for helping tracking this down.
#
# Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
#
# Makefile
# 2004/12/28 19:11:36+01:00 sam@mars.ravnborg.org +1 -1
# Drop usage of /usr/bin/env
#
diff -Nru a/Makefile b/Makefile
--- a/Makefile 2004-12-29 00:20:21 +01:00
+++ b/Makefile 2004-12-29 00:20:21 +01:00
@@ -389,7 +389,7 @@
# using a seperate output directory. This allows convinient use
# of make in output directory
outputmakefile:
- $(Q)if /usr/bin/env test ! $(srctree) -ef $(objtree); then \
+ $(Q)if test ! $(srctree) -ef $(objtree); then \
$(CONFIG_SHELL) $(srctree)/scripts/mkmakefile \
$(srctree) $(objtree) $(VERSION) $(PATCHLEVEL) \
> $(objtree)/Makefile; \
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-12-28 23:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-27 21:53 make errors (make clean, make menuconfig) make -C /usr/src/linux-2.6.10 O=/usr/src/linux-2.6.10 menuconfig Georg Prenner
2004-12-27 22:48 ` Sam Ravnborg
2004-12-27 23:19 ` Sam Ravnborg
2004-12-28 23:23 ` 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).