From: Steven Cole <scole@lanl.gov>
To: alan@lxorguk.ukuu.org.uk
Cc: linux-kernel@vger.kernel.org
Subject: 2.4.5-ac20 problems with drivers/net/Config.in and make xconfig
Date: Thu, 28 Jun 2001 10:05:58 -0600 [thread overview]
Message-ID: <01062810055901.01131@spc.esa.lanl.gov> (raw)
I got this familiar error with make xconfig and 2.4.5-ac20 (same as 2.4.6-pre6)
drivers/net/Config.in: 149: 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.5-ac20/scripts'
make: *** [xconfig] Error 2
I applied this patch written by Keith Owens (thanks Keith):
--- linux/drivers/net/Config.in.original Thu Jun 28 09:52:02 2001
+++ linux/drivers/net/Config.in Thu Jun 28 09:52:25 2001
@@ -146,7 +146,11 @@
tristate ' NE/2 (ne2000 MCA version) support' CONFIG_NE2_MCA
tristate ' IBM LAN Adapter/A support' CONFIG_IBMLANA
fi
- dep_bool ' EISA, VLB, PCI and on board controllers' CONFIG_NET_PCI
+ if [ "$CONFIG_ISA" = "y" -o "$CONFIG_EISA" = "y" -o "$CONFIG_PCI" = "y" ]; then
+ bool ' EISA, VLB, PCI and on board controllers' CONFIG_NET_PCI
+ else
+ define_bool CONFIG_NET_PCI n
+ fi
if [ "$CONFIG_NET_PCI" = "y" ]; then
dep_tristate ' AMD PCnet32 PCI support' CONFIG_PCNET32 $CONFIG_PCI
dep_tristate ' Adaptec Starfire support (EXPERIMENTAL)' CONFIG_ADAPTEC_STARFIRE $CONFIG_PCI $CONFIG_EXPERIMENTAL
And then I got:
[root@spc 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.5-ac20/scripts'
cat header.tk >> ./kconfig.tk
./tkparse < ../arch/i386/config.in >> kconfig.tk
make[1]: *** [kconfig.tk] Error 139
make[1]: Leaving directory `/usr/src/linux-2.4.5-ac20/scripts'
make: *** [xconfig] Error 2
So, I used the old reliable make menuconfig, and it worked OK and
2.4.5-ac20 built successfully.
Steven
next reply other threads:[~2001-06-28 16:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-28 16:05 Steven Cole [this message]
2001-06-29 2:18 ` Keith Owens
2001-06-29 13:31 ` Steven Cole
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=01062810055901.01131@spc.esa.lanl.gov \
--to=scole@lanl.gov \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®