Re: kernel compile problems w/ 2..2.19k (yd2.0)


Subject: Re: kernel compile problems w/ 2..2.19k (yd2.0)
From: Adam (adamhadm@frontiernet.net)
Date: Fri Nov 23 2001 - 16:31:27 MST


John,
Thank you very much. I fixed the file and I got a compleate kernel
comple.

-- Adam

On Tue, 2001-11-20 at 00:56, John M. Wright wrote:
> "Adam",
>
> Generally - I think it may be a mistake to do a make clean after
> config and depend; I have always done a make mrproper as
> the very first step, then make {x,menu,}config, make dep, followed
> by make vmlinux, make modules, and (as root) make modules_install.
>
> Specifically - regarding the tk error when attempting to do
> make xconfig - I got exactly the same error when I first attempted
> to do a build from the 2.4.10-12a source provided with YDL2.1.
> I looked at the file referenced in the error line:
>
> drivers/net/Config.in: 278: unknown command
>
> and found, just above line 278, several lines ending in $CONFIG_PPP,
> one of which had folded the line so that the final "PP" appeared
> on the line below. Line 278 contained a single "P", which at first
> glance looked like it was also a fold from the line above; however,
> it was actually a line with just a single "P". Somehow, a newline
> had gotten inserted before the last character of the line above,
> which had originally ended with "$CONFIG_PPP" (but now ended with
> just "CONFIG_PP"). After I removed the extraneous newline and
> restored the "P" to its obvious correct position at the end of the
> line above, "make xconfig" worked fine.
>
> John Wright
>
> -----------------------------------------------------------------
> Original message (in part)
>
> >
> > From: Adam <adamhadm@frontiernet.net>
> > To: yellowdog-general@lists.yellowdoglinux.com
> > Date: 19 Nov 2001 10:48:54 -0500
> > Subject: kernel compile problems w/ 2..2.19k (yd2.0)
> >
> >
> > I have not been able to compile the kernel at all 2.2.x or 2.4.x. 1st I
> > was not able to get xconfig working but for some reason it started
> > working. Then for some reason I am have not been able to compile the
> > kerel now with xconfig working. I was able to compile a kernel before
> > when xonfig did not work but with menuconfig.
> >
> > This errors are from 2.2.18k kernel (standard with yd 2.0) all other
> > attempts with other kernels are zilch...
> >
> > Steps I have alsays taken..
> >
> > make xconfig or menuconfig
> > make dep
> > make clean
> > make
>
> ..................
>
> > previous xconfig errors I recieved when I could not get xconfig
> > working...
> >
> > [root@asterix linux]# make xconfig
> > rm -f include/asm
> > ( cd include ; ln -sf asm-ppc asm)
> > make -C scripts kconfig.tk
>
> .................................
>
> > drivers/net/Config.in: 278: unknown command
> > make[1]: *** [kconfig.tk] Error 1
> > make[1]: Leaving directory `/usr/src/linux-2.4.10/scripts'
> > make: *** [xconfig] Error 2
> >
> > Any sujestions, I have been racking my brain and have been looking for
> > answers all over the place and nothing so I am asking the list for any
> > help.
> >
> > -Adam
> >



This archive was generated by hypermail 2a24 : Fri Nov 23 2001 - 16:38:24 MST