Skip to contentSkip to conversation

xconfig doesn't work, 2.4.20-pre7

DISCUSSION Ivan Gyurdiev 2 participants 2 messages Sep 18, 2002

lore
Share & tools
lore
#0 lore raw

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]#

#1 lore raw
Quoted 13 lines · Ivan Gyurdiev

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

Quoted 8 lines

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:

video/Config.in renamed from video/Config.in.old +1 -1
@@ -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

Signature · 3 lines
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