Re: xconfig doesn't work, 2.4.20-pre7

From: Adrian Bunk (bunk@fs.tum.de)
Date: Wed Sep 18 2002 - 04:56:00 EST


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

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Sep 23 2002 - 22:00:22 EST