make errors (make clean, make menuconfig) make -C /usr/src/linux-2.6.10 O=/usr/src/linux-2.6.10 menuconfig
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
Quoted 31 lines · Georg Prenner
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.10O=/usr/src/linux-2.6.10 menuconfig make -C/usr/src/linux-2.6.10O=/usr/src/linux-2.6.10 menuconfig make -C/usr/src/linux-2.6.10O=/usr/src/linux-2.6.10 menuconfig make -C/usr/src/linux-2.6.10O=/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
..
.
.
Quoted 4 lines
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
Quoted 9 lines · Sam Ravnborg
Quoted 9 lines
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.10O=/usr/src/linux-2.6.10 menuconfig make -C/usr/src/linux-2.6.10O=/usr/src/linux-2.6.10 menuconfig make -C/usr/src/linux-2.6.10O=/usr/src/linux-2.6.10 menuconfig make -C/usr/src/linux-2.6.10O=/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
Quoted 8 lines · Sam Ravnborg
...
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 [email protected]
# 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)" <[email protected]> for helping tracking this down.
#
# Signed-off-by: Sam Ravnborg <[email protected]>
#
# Makefile
# 2004/12/28 19:11:36+01:00 [email protected] +1 -1
# Drop usage of /usr/bin/env
#
Makefile +1 -1
@@ -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; \