Messages in this thread |  | | Date | Fri, 23 Nov 2001 19:42:49 -0600 | From | Steven Walter <> | Subject | Re: Error: compiling with preempt-kernel-rml-2.4.15-1.patch |
| |
On Fri, Nov 23, 2001 at 07:13:50PM -0500, listmail@majere.epithna.com 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. -- -Steven 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 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/
|  |