Re: Why does xconfig not work for me?


Subject: Re: Why does xconfig not work for me?
From: Avinash Gupta (agupta@mediaone.net)
Date: Wed Jan 02 2002 - 06:50:35 MST


There seems to be something odd ... Are you using the stock YDL 2.1 kernel
source or did you install it yourself? I would delete and then re-install
the sources just to be sure. These are the packages you want to re-install:

kernel-2.4.10-12a
kernel-source-2.4.10-12a
kernel-headers-2.4.10-12a

You can find these rpms on your YDL CD. Force an upgrade using:

rpm -Uvh --force kernel-headers-2.4.10-12a
rpm -Uvh --force kernel-source-2.4.10-12a
rpm -Uvh --force kernel-2.4.10-12a

Make sure /usr/src/linux is a link to :

linux -> linux-2.4.10

Then:

cd /usr/src/linux
make mrproper
make xconfig

You may have to correct the typo in /usr/src/linux/drivers/net/Config.in on
line 277 (it SHOULD be on line 277 if you are using the stock kernel sources).

Hope this helps ...

-- Avinash Gupta (agupta@medaone.net)

On Wednesday 02 January 2002 08:04, you wrote:
> le 01/01/02 17:46, Avinash Gupta à agupta@mediaone.net a écrit :
> > 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 - 07:02:38 MST