Re: menuconfig .config snooping (was Re: 2.5.69 doesn't boot)

From: Etienne Lorrain (etienne_lorrain@yahoo.fr)
Date: Tue May 27 2003 - 14:30:53 EST


[etienne@localhost linux-2.5.68]$ cat /etc/redhat-release
Red Hat Linux release 9 (Shrike)
[etienne@localhost linux]$ tar -xzf linux-2.5.68.tar.gz
[etienne@localhost linux]$ cd linux-2.5.68
[etienne@localhost linux-2.5.68]$ make menuconfig > log
/boot/config-2.4.20-8:28: trying to assign nonexistent symbol
MAX_USER_RT_PRIO
/boot/config-2.4.20-8:29: trying to assign nonexistent symbol MAX_RT_PRIO
/boot/config-2.4.20-8:42: trying to assign nonexistent symbol HIGHIO
/boot/config-2.4.20-8:65: trying to assign nonexistent symbol AMD_PM768
........ edited ...........
[etienne@localhost linux-2.5.68]$ tail -3 log
# using defaults found in /boot/config-2.4.20-8
#
interrupted


Maybe linux-2.5 shall not use defaults of linux-2.4 ?
Repeat solution (not that intuitive):
cp arch/i386/defconfig .config

Etienne.

............................................
--- Ed L Cashin writes:
> Etienne writes:
>
>>>> # Character devices
>>>> #
>>>> # CONFIG_VT is not set
>>>> # CONFIG_SERIAL_NONSTANDARD is not set
>>>
>>>No VT console is set.
>>
>> Did someone noticed that if a user want to test Linux-2.5,
>> he downloads for the first time a 2.5 kernel, extract and type
>> make menuconfig
>> and that takes its default (.config) from the only kernel
>> available on his (really standard) distribution - a 2.4.* kernel.
>
> That isn't true is it? In the absence of a .config file, does
> menuconfig really look for a configuration somewhere other than its
> own kernel source tree? Looks to me like it's getting the
> configuration from the defaults.
>
> ecashin@meili bk-linux$ make menuconfig
> make -f scripts/Makefile.build obj=scripts
> gcc -Wp,-MD,scripts/.fixdep.d -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer -o scripts/fixdep scripts/fixdep.c
> ...
> ./scripts/kconfig/mconf arch/i386/Kconfig
> #
> # using defaults found in arch/i386/defconfig
> #


___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/