mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: cannot get clean 2.4.20 kernel to compile
       [not found] <5W8lY-1wF-29@gated-at.bofh.it>
@ 2006-03-31  1:11 ` Robert Hancock
  2006-03-31  1:25   ` Sumit Narayan
  2006-03-31 17:26   ` George P Nychis
  0 siblings, 2 replies; 7+ messages in thread
From: Robert Hancock @ 2006-03-31  1:11 UTC (permalink / raw)
  To: linux-kernel; +Cc: George P Nychis

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.

-- 
Robert Hancock      Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@nospamshaw.ca
Home Page: http://www.roberthancock.com/


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: cannot get clean 2.4.20 kernel to compile
  2006-03-31  1:11 ` cannot get clean 2.4.20 kernel to compile Robert Hancock
@ 2006-03-31  1:25   ` Sumit Narayan
  2006-03-31  2:36     ` Randy.Dunlap
  2006-03-31 17:59     ` George P Nychis
  2006-03-31 17:26   ` George P Nychis
  1 sibling, 2 replies; 7+ messages in thread
From: Sumit Narayan @ 2006-03-31  1:25 UTC (permalink / raw)
  To: Robert Hancock; +Cc: linux-kernel, George P Nychis

>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.

-- Sumit



On 3/31/06, Robert Hancock <hancockr@shaw.ca> 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.
>
> --
> Robert Hancock      Saskatoon, SK, Canada
> To email, remove "nospam" from hancockr@nospamshaw.ca
> Home Page: http://www.roberthancock.com/
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: cannot get clean 2.4.20 kernel to compile
  2006-03-31  1:25   ` Sumit Narayan
@ 2006-03-31  2:36     ` Randy.Dunlap
  2006-03-31 17:59     ` George P Nychis
  1 sibling, 0 replies; 7+ messages in thread
From: Randy.Dunlap @ 2006-03-31  2:36 UTC (permalink / raw)
  To: Sumit Narayan; +Cc: Robert Hancock, linux-kernel, George P Nychis

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@shaw.ca> 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: cannot get clean 2.4.20 kernel to compile
  2006-03-31  1:11 ` cannot get clean 2.4.20 kernel to compile Robert Hancock
  2006-03-31  1:25   ` Sumit Narayan
@ 2006-03-31 17:26   ` George P Nychis
  2006-04-01  6:04     ` Willy Tarreau
  1 sibling, 1 reply; 7+ messages in thread
From: George P Nychis @ 2006-03-31 17:26 UTC (permalink / raw)
  To: Robert Hancock; +Cc: linux-kernel

I see...

here is my gcc version:
gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)

Is it too new?

Thanks!
George


> 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.
> 
> -- Robert Hancock      Saskatoon, SK, Canada To email, remove "nospam" from
> hancockr@nospamshaw.ca Home Page: http://www.roberthancock.com/
> 
> 
> 


-- 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: cannot get clean 2.4.20 kernel to compile
  2006-03-31  1:25   ` Sumit Narayan
  2006-03-31  2:36     ` Randy.Dunlap
@ 2006-03-31 17:59     ` George P Nychis
  1 sibling, 0 replies; 7+ messages in thread
From: George P Nychis @ 2006-03-31 17:59 UTC (permalink / raw)
  To: Sumit Narayan; +Cc: Robert Hancock, linux-kernel

Actually that helped, i had no linux symlink, after creating it, i got alot further into the build, however now i get:
In file included from ide-cd.c:318:
ide-cd.h:440: error: long, short, signed or unsigned used invalidly for `slot_tablelen'
make[3]: *** [ide-cd.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.20/drivers/ide'

Any more ideas? :)

> 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.
> 
> -- Sumit
> 
> 
> 
> On 3/31/06, Robert Hancock <hancockr@shaw.ca> 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.
>> 
>> -- Robert Hancock      Saskatoon, SK, Canada To email, remove "nospam"
>> from hancockr@nospamshaw.ca Home Page: http://www.roberthancock.com/
>> 
>> - To unsubscribe from this list: send the line "unsubscribe
>> linux-kernel" in the body of a message to majordomo@vger.kernel.org More
>> majordomo info at  http://vger.kernel.org/majordomo-info.html Please
>> read the FAQ at  http://www.tux.org/lkml/
>> 
> 
> 


-- 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: cannot get clean 2.4.20 kernel to compile
  2006-03-31 17:26   ` George P Nychis
@ 2006-04-01  6:04     ` Willy Tarreau
  0 siblings, 0 replies; 7+ messages in thread
From: Willy Tarreau @ 2006-04-01  6:04 UTC (permalink / raw)
  To: George P Nychis; +Cc: Robert Hancock, linux-kernel

On Fri, Mar 31, 2006 at 12:26:27PM -0500, George P Nychis wrote:
> I see...
> 
> here is my gcc version:
> gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)
> 
> Is it too new?

I think so. Either try with 2.95 or upgrade your kernel to 2.4.32.

Cheers,
Willy

> 
> Thanks!
> George
> 
> 
> > 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.
> > 
> > -- Robert Hancock      Saskatoon, SK, Canada To email, remove "nospam" from
> > hancockr@nospamshaw.ca Home Page: http://www.roberthancock.com/
> > 
> > 
> > 
> 
> 
> -- 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* cannot get clean 2.4.20 kernel to compile
@ 2006-03-30 16:35 George P Nychis
  0 siblings, 0 replies; 7+ messages in thread
From: George P Nychis @ 2006-03-30 16:35 UTC (permalink / raw)
  To: linux-kernel

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.

I'd greatly appreciate any help.  Using a different kernel is not an option, I need to use the 2.4.20 kernel for a project that a module was written and tested on.

Thanks!
Geirge


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-04-01  6:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <5W8lY-1wF-29@gated-at.bofh.it>
2006-03-31  1:11 ` cannot get clean 2.4.20 kernel to compile Robert Hancock
2006-03-31  1:25   ` Sumit Narayan
2006-03-31  2:36     ` Randy.Dunlap
2006-03-31 17:59     ` George P Nychis
2006-03-31 17:26   ` George P Nychis
2006-04-01  6:04     ` Willy Tarreau
2006-03-30 16:35 George P Nychis

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®