[lkml]   [2001]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Error: compiling with preempt-kernel-rml-2.4.15-1.patch
On Fri, Nov 23, 2001 at 07:13:50PM -0500, wrote:
> I applied the preempt-kernel-rml-2.4.15-1.patch file to a clean
> just untarred 2.14.15 kernel source, and began to compile got the
> following error.
> I know the source is good, I compiled a non-patched Kernel from the same
> archive earlier, re-extracted after the error, repeated, redownloaded,
> reextracted. repeated.
> make[2]: Entering directory `/usr/src/linux/kernel'
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
> -pipe -mpreferred-stack-boundary=2 -march=i686 -fno-omit-frame-pointer
> -c -o sched.o sched.c
> sched.c: In function `__schedule_tail':
> sched.c:509: structure has no member named `has_cpu'
> make[2]: *** [sched.o] Error 1
> make[2]: Leaving directory `/usr/src/linux/kernel'
> make[1]: *** [first_rule] Error 2
> make[1]: Leaving directory `/usr/src/linux/kernel'
> make: *** [_dir_kernel] Error 2
> root@majere:/usr/src/linux#

Looks like the patch misses a place to has x->has_cpu to task_has_cpu(x)
Shouldn't be difficult for you to change it.
In a time of universal deceit, telling the truth is a revolutionary act.
-- George Orwell
He's alive. He's alive! Oh, that fellow at RadioShack said I was mad!
Well, who's mad now?
-- Montgomery C. Burns
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:13    [W:0.050 / U:0.376 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site