Help with compiling kernel 2.6 compile error...
Hi, I'm trying to compile the kernel 2.6.3 from kernel.org and I'm getting this error. (I'm using the distro Yoper)
CC arch/i386/kernel/process.o
arch/i386/kernel/process.c:499: error: conflicting types for '__switch_to'
include/asm/system.h:13: error: previous declaration of '__switch_to' was here
arch/i386/kernel/process.c:499: error: conflicting types for '__switch_to'
include/asm/system.h:13: error: previous declaration of '__switch_to' was here
make[1]: *** [arch/i386/kernel/process.o] Error 1
make: *** [arch/i386/kernel] Error 2
I've looked at the code..
the definition is this in system.h
extern struct task_struct * FASTCALL(__switch_to(struct task_struct *prev, struc
t task_struct *next));
struct task_struct * __switch_to(struct task_struct *prev_p, struct task_struct
*next_p)
{
I've tried it with no patches it does the same thing..
The only thing that i can see different is the Fastcall?
What should I do?
|