I was getting this error when doing "make xconfig" with
kernel-source-2.4.18-16mdk:
[root@lgm linux]# 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.18-16mdk/scripts'
cat header.tk >> ./kconfig.tk
./tkparse < ../arch/i386/config.in >> kconfig.tk
3rdparty/dxr3/Config.in: 8: 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.18-16mdk/scripts'
make: *** [xconfig] Error 2
and another, similar error for 3rdparty/lirc/Config.in.
The problem was some of those 'dep_tristate's apparently don't have any
dependencies. So, I just changed them to regular 'tristate's.
Tim
Here's a patch to fix both files:
--- linux-2.4.18-16mdk/3rdparty/dxr3/Config.in.orig Mon Apr 15 13:45:52
2002
+++ linux-2.4.18-16mdk/3rdparty/dxr3/Config.in Tue May 28 00:42:45 2002
@@ -5,8 +5,8 @@
dep_mbool 'Hollywood Plus/ DXR3' CONFIG_DXR3 $CONFIG_I2C $CONFIG_I2C_ALGOBIT
if [ "$CONFIG_DXR3" = "y" ] ; then
- dep_tristate ' EM8300' CONFIG_EM8300
- dep_tristate ' ADV717X' CONFIG_ADV717X
- dep_tristate ' BT865' CONFIG_BT865
+ tristate ' EM8300' CONFIG_EM8300
+ tristate ' ADV717X' CONFIG_ADV717X
+ tristate ' BT865' CONFIG_BT865
fi
--- linux-2.4.18-16mdk/3rdparty/lirc/Config.in.orig Mon Apr 15 15:07:46
2002
+++ linux-2.4.18-16mdk/3rdparty/lirc/Config.in Tue May 28 00:43:09 2002
@@ -8,7 +8,7 @@
tristate ' LIRC dev' CONFIG_LIRC_DEV
dep_tristate ' LIRC gpio' CONFIG_LIRC_GPIO $CONFIG_VIDEO_DEV
dep_tristate ' LIRC i2c' CONFIG_LIRC_I2C $CONFIG_I2C
- dep_tristate ' LIRC it87' CONFIG_LIRC_IT87
+ tristate ' LIRC it87' CONFIG_LIRC_IT87
dep_tristate ' LIRC parallel' CONFIG_LIRC_PARALLEL $CONFIG_PARALLEL
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com