Re: cannot get clean 2.4.20 kernel to compile

From: Randy.Dunlap
Date: Thu Mar 30 2006 - 21:33:11 EST


On Fri, 31 Mar 2006, Sumit Narayan wrote:

> >From the error output 1, it appears that your directory include/asm is
> not a link to include/linux. Can you check that?
>
> Otherwise, simply delete the directory include/asm and re-compile the
> kernel from start; it should work.

Nope, include/asm is an expected directory (symlink) in 2.4.x build.
This is what you get without out:

make: *** No rule to make target `/var/linsrc/linux-2420/include/asm/param.h', needed by `/var/linsrc/linux-2420/include/linux/sched.h'. Stop.
make: *** Waiting for unfinished jobs....


> On 3/31/06, Robert Hancock <hancockr@xxxxxxx> wrote:
> > George P Nychis wrote:
> > > Hi,
> > >
> > > I have downloaded the 2.4.20 kernel from ftp.kernel.org, have checked its sign, and no matter what I try I cannot get it to compile.
> > >
> > > I do a make mrproper, I then do make dep which is fine, but then i try "make bzImage modules modules_install", selecting all the defaults, and get an SMP header error:
> > > http://rafb.net/paste/results/QzIq7v86.html
> > >
> > > I then disable SMP support and get:
> > > http://rafb.net/paste/results/muYA9t12.html
> > >
> > > I even tried using my config from the 2.4.32 kernel which works perfectly fine, and I also get the sched errors.
> >
> > What gcc version? Some old kernels might not be buildable with newer
> > compilers.

--
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/