2002-10-02 11:47:28

by Frederik Nosi

[permalink] [raw]
Subject: 2.5.40: make menuconfig error

Please CC me because I'm not in the list
Here it is:


Menuconfig has encountered a possible error in one of the kernel's
configuration files and is unable to continue. Here is the error
report:

Q> ./scripts/Menuconfig: MCmenu74: command not found

Please report this to the maintainer <[email protected]>. You may also
send a problem report to <[email protected]>.

Please indicate the kernel version you are trying to configure and
which menu you were trying to enter when this error occurred.

make: *** [menuconfig] Error 1


Another strangeness: Some drivers do not build and finding the errors is
difficult because the error messages come only during linking. When I build
the kernel usually run this command:

make (bzImage | modules) 2> /some/file .

During compiling i haven't get any compile error, this seems as the linker
goes searching for files not compiled:

ld: cannot open ircomm_tty.o: No such file or directory
make[3]: *** [ircomm-tty.o] Error 1
make[2]: *** [ircomm] Error 2
make[1]: *** [irda] Error 2
make: *** [net] Error 2


Cheers,
Frederik Nosi


2002-10-02 12:40:51

by Sam Ravnborg

[permalink] [raw]
Subject: Re: 2.5.40: make menuconfig error

On Wed, Oct 02, 2002 at 02:03:00PM +0200, Frederik Nosi wrote:
> Please CC me because I'm not in the list
> Here it is:
>
>
> Menuconfig has encountered a possible error in one of the kernel's
> configuration files and is unable to continue. Here is the error
> report:
>
> Q> ./scripts/Menuconfig: MCmenu74: command not found
>
> Please report this to the maintainer <[email protected]>. You may also
> send a problem report to <[email protected]>.
>
> Please indicate the kernel version you are trying to configure and
> which menu you were trying to enter when this error occurred.
>
> make: *** [menuconfig] Error 1
There is something wrong in the ALSA Config.in, fix already posted.
See http://marc.theaimsgroup.com?l=linux-kernel

>
>
> Another strangeness: Some drivers do not build and finding the errors is
> difficult because the error messages come only during linking. When I build
> the kernel usually run this command:
>
> make (bzImage | modules) 2> /some/file .
>
> During compiling i haven't get any compile error, this seems as the linker
> goes searching for files not compiled:
>
> ld: cannot open ircomm_tty.o: No such file or directory
> make[3]: *** [ircomm-tty.o] Error 1
> make[2]: *** [ircomm] Error 2
> make[1]: *** [irda] Error 2
> make: *** [net] Error 2
An error happened when compiling ircomm-tty or one of the composite objects.
Try using:
make KBUILD_VERBOSE=0
Then you will see the error.

Fix already posted to lkml, and present in Linus's latest BK tree.

Sam
>
>
> Cheers,
> Frederik Nosi
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

2002-10-02 12:49:04

by Carlos E. Gorges

[permalink] [raw]
Subject: (PATCH) Re: 2.5.40: make menuconfig error

On Quarta 02 Outubro 2002 09:44, Sam Ravnborg wrote:
> On Wed, Oct 02, 2002 at 02:03:00PM +0200, Frederik Nosi wrote:
> > Please CC me because I'm not in the list
> > Here it is:
> >
> >
> > Menuconfig has encountered a possible error in one of the kernel's
> > configuration files and is unable to continue. Here is the error
> > report:
> >
> > Q> ./scripts/Menuconfig: MCmenu74: command not found
> >

The following patch fix it

--- linux-2.5.40/sound/Config.in Tue Oct 1 04:06:30 2002
+++ linux-2.5/sound/Config.in Wed Oct 2 07:27:04 2002
@@ -31,10 +31,7 @@
if [ "$CONFIG_SND" != "n" -a "$CONFIG_ARM" = "y" ]; then
source sound/arm/Config.in
fi
-if [ "$CONFIG_SND" != "n" -a "$CONFIG_SPARC32" = "y" ]; then
- source sound/sparc/Config.in
-fi
-if [ "$CONFIG_SND" != "n" -a "$CONFIG_SPARC64" = "y" ]; then
+if [ "$CONFIG_SND" != "n" -a "$CONFIG_SPARC32" = "y" ] || [ "$CONFIG_SND" != "n" -a "$CONFIG_SPARC64" = "y" ];then
source sound/sparc/Config.in
fi

--

--
_________________________
Carlos E Gorges
([email protected])
Tech inform?tica LTDA
Brazil
_________________________


2002-10-03 12:15:10

by Andrzej Krzysztofowicz

[permalink] [raw]
Subject: Re: (PATCH) Re: 2.5.40: make menuconfig error

> > > Q> ./scripts/Menuconfig: MCmenu74: command not found
>
> The following patch fix it
>
> --- linux-2.5.40/sound/Config.in Tue Oct 1 04:06:30 2002
> +++ linux-2.5/sound/Config.in Wed Oct 2 07:27:04 2002
> @@ -31,10 +31,7 @@
> if [ "$CONFIG_SND" != "n" -a "$CONFIG_ARM" = "y" ]; then
> source sound/arm/Config.in
> fi
> -if [ "$CONFIG_SND" != "n" -a "$CONFIG_SPARC32" = "y" ]; then
> - source sound/sparc/Config.in
> -fi
> -if [ "$CONFIG_SND" != "n" -a "$CONFIG_SPARC64" = "y" ]; then
> +if [ "$CONFIG_SND" != "n" -a "$CONFIG_SPARC32" = "y" ] || [ "$CONFIG_SND" != "n" -a "$CONFIG_SPARC64" = "y" ];then
^^^^
and you will break xconfig.

> source sound/sparc/Config.in
> fi

Valid syntax is described in

Documentation/kbuild/config-language.txt

--
=======================================================================
Andrzej M. Krzysztofowicz [email protected]
phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math., Gdansk University of Technology