2002-09-18 04:01:44

by Ivan Gyurdiev

[permalink] [raw]
Subject: xconfig doesn't work, 2.4.20-pre7

After make clean and make mrproper:

================================
[root@cobra linux-2.4]# make xconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts kconfig.tk
make[1]: Entering directory `/usr/src/linux-2.4.20-pre7/scripts'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkparse.o
tkparse.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkcond.o tkcond.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkgen.o tkgen.c
gcc -o tkparse tkparse.o tkcond.o tkgen.o
cat header.tk >> ./kconfig.tk
./tkparse < ../arch/i386/config.in >> kconfig.tk
drivers/video/Config.in: 216: can't handle dep_bool/dep_mbool/dep_tristate
condition
make[1]: *** [kconfig.tk] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.20-pre7/scripts'
make: *** [xconfig] Error 2
[root@cobra linux-2.4]#


2002-09-18 09:51:05

by Adrian Bunk

[permalink] [raw]
Subject: Re: xconfig doesn't work, 2.4.20-pre7

On Sun, 15 Sep 2002, Ivan Gyurdiev wrote:

> After make clean and make mrproper:
>
> ================================
> [root@cobra linux-2.4]# make xconfig
> rm -f include/asm
> ( cd include ; ln -sf asm-i386 asm)
> make -C scripts kconfig.tk
> make[1]: Entering directory `/usr/src/linux-2.4.20-pre7/scripts'
> gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkparse.o
> tkparse.c
> gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkcond.o tkcond.c
> gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkgen.o tkgen.c
> gcc -o tkparse tkparse.o tkcond.o tkgen.o
> cat header.tk >> ./kconfig.tk
> ./tkparse < ../arch/i386/config.in >> kconfig.tk
> drivers/video/Config.in: 216: can't handle dep_bool/dep_mbool/dep_tristate
> condition
> make[1]: *** [kconfig.tk] Error 1
> make[1]: Leaving directory `/usr/src/linux-2.4.20-pre7/scripts'
> make: *** [xconfig] Error 2
> [root@cobra linux-2.4]#


Thanks for the report. The MIPS update in -pre7 changed CONFIG_FB_MAXINE
from bool to dep_bool although no dependency was introduced (most likely
accidentially because the two symbols above got a dependency on
CONFIG_TC). "make xconfig" does the strictest checking and users the do
"make menuconfig" or "make oldconfig" don't see the problem. The
following patch fixes it:


--- drivers/video/Config.in.old 2002-09-18 11:50:30.000000000 +0200
+++ drivers/video/Config.in 2002-09-18 11:50:36.000000000 +0200
@@ -213,7 +213,7 @@
if [ "$CONFIG_DECSTATION" = "y" ]; then
dep_bool ' PMAG-BA TURBOchannel framebuffer support' CONFIG_FB_PMAG_BA $CONFIG_TC
dep_bool ' PMAGB-B TURBOchannel framebuffer support' CONFIG_FB_PMAGB_B $CONFIG_TC
- dep_bool ' Maxine (Personal DECstation) onboard framebuffer support' CONFIG_FB_MAXINE
+ bool ' Maxine (Personal DECstation) onboard framebuffer support' CONFIG_FB_MAXINE
fi
if [ "$CONFIG_NINO" = "y" ]; then
bool ' TMPTX3912/PR31700 frame buffer support' CONFIG_FB_TX3912


cu
Adrian

--

You only think this is a free country. Like the US the UK spends a lot of
time explaining its a free country because its a police state.
Alan Cox