Re: Why does xconfig not work for me?


Subject: Re: Why does xconfig not work for me?
From: Ren Bourion (rene.bourion@wanadoo.fr)
Date: Wed Jan 02 2002 - 06:04:43 MST


le 01/01/02 17:46, Avinash Gupta à agupta@mediaone.net a écrit :

> There is a small typo in /usr/src/linux/drivers/net/Config.in
>
> Open the above file in vi and goto line 277. It should read:
>
> dep_tristate ' PPP over ATM (EXPERIMENTAL)' CONFIG_PPPOATM $CONFIG_PP
>
> Change this to read:
>
> dep_tristate ' PPP over ATM (EXPERIMENTAL)' CONFIG_PPPOATM $CONFIG_PPP
>
> and delete the next line that has a 'P' by itself on it.
>
> Now you should be able to do a make xconfig.

Thank you Avinash for your very prompt answer.

I followed your suggestion and looked for the typo in
/usr/src/linux/drivers/net/Config.in; I found it, but at line 331 (not 277).
However, I corrected it as you said and tried xconfig again, but it still
did not work. The result was:

[root@sirius /root]# cd /usr/src/linux-2.4.10/
[root@sirius linux-2.4.10]# make xconfig
rm -f include/asm
( cd include ; ln -sf asm-ppc asm)
make -C scripts kconfig.tk
make[1]: Entering directory `/usr/src/linux-2.4.10/scripts'
cat header.tk >> ./kconfig.tk
./tkparse < ../arch/ppc/config.in >> kconfig.tk
drivers/net/Config.in: 19: 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.10/scripts'
make: *** [xconfig] Error 2
[root@sirius linux-2.4.10]#

This time the error is supposed to be in line 19, which reads

   dep_tristate 'General Instruments Surfboard 1000' CONFIG_NET_SB1000
$CONFIG_ISAPNP

But is it really there? The error looked for in line 277 was in line 331,
so...

What do you think of all this?

Regards.

R.B.



This archive was generated by hypermail 2a24 : Wed Jan 02 2002 - 06:19:16 MST