You are not logged in.

#1 2006-04-22 19:41:48

bostoniman
Member
Registered: 2004-09-17
Posts: 213
Website

Compile error for 2.6.16.9

I"m trying to compile my custom kernel 2.6.16.9 and I'm getting the following comile error:

  CC      kernel/sched.o
kernel/sched.c: In function 'sched_init':
kernel/sched.c:6034: error: 'array' undeclared (first use in this function)
kernel/sched.c:6034: error: (Each undeclared identifier is reported only once
kernel/sched.c:6034: error: for each function it appears in.)
kernel/sched.c:6034: error: 'struct runqueue' has no member named 'arrays'
kernel/sched.c:6035: error: 'k' undeclared (first use in this function)
make[1]: *** [kernel/sched.o] Error 1
make: *** [kernel] Error 2

I'm using the latest con kolivas patch with the kernel.  Any suggestions as to how to fix this?

Offline

#2 2006-04-22 19:51:29

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Compile error for 2.6.16.9

Con's patch is always applied to 2.6.x, not 2.6.x.y, because he includes the .y patch from kernel.org. In this case, apply -ck7 to 2.6.16, not 2.6.16.9.

It's all here - check it out.

Offline

#3 2006-04-22 19:53:36

bostoniman
Member
Registered: 2004-09-17
Posts: 213
Website

Re: Compile error for 2.6.16.9

Ah, I see.  Apparently I missed the huge bold text talking about that   big_smile

Offline

#4 2006-04-22 21:11:15

bostoniman
Member
Registered: 2004-09-17
Posts: 213
Website

Re: Compile error for 2.6.16.9

Ok, I sort of feel like an idiot, but I cant seem to find 2.6.16 base on kernel.org.  It's been a while since I made my custom kernel, so am I ooking in the wrong place?  It  should just be on kernel.org, right?

Offline

#5 2006-04-22 21:22:24

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Compile error for 2.6.16.9

bostoniman wrote:

Ok, I sort of feel like an idiot, but I cant seem to find 2.6.16 base on kernel.org.  It's been a while since I made my custom kernel, so am I ooking in the wrong place?  It  should just be on kernel.org, right?

You were so close, it was just a few clicks away  lol
It's in here: http://www.kernel.org/pub/linux/kernel/v2.6/

Offline

#6 2006-04-22 21:25:38

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Compile error for 2.6.16.9

bostoniman wrote:

Ok, I sort of feel like an idiot, but I cant seem to find 2.6.16 base on kernel.org.  It's been a while since I made my custom kernel, so am I ooking in the wrong place?  It  should just be on kernel.org, right?

Yes:
ftp://ftp.kernel.org/pub/linux/kernel/v … 16.tar.bz2

Offline

#7 2006-04-22 21:31:34

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Compile error for 2.6.16.9

And if you want to do the right thing, use a mirror e.g. mine is ftp.ie.kernel.org/ ..

Offline

Board footer

Powered by FluxBB