Title: Compilation Errors

Hi all,

            I am currently working on kernel 2.6.13.1. I have included ckrm and cpu controller as a patch, when i tried to compile the kernel I am getting the following errors.



kernel/sched.c:183: error: static declaration of ‘task_timeslice’ follows non-static declaration
include/linux/ckrm_sched.h:264: error: previous declaration of ‘task_timeslice’ was here
kernel/sched.c:277: warning: ‘idle_balance’ declared inline after being called
kernel/sched.c:277: warning: previous declaration of ‘idle_balance’ was here
kernel/sched.c: In function ‘schedule’:
kernel/sched.c:3131: warning: unused variable ‘idx’
kernel/sched.c:3128: warning: unused variable ‘queue’
kernel/sched.c: In function ‘sched_init’:
kernel/sched.c:5529: error: ‘struct runqueue’ has no member named ‘active’
kernel/sched.c:5529: error: ‘struct runqueue’ has no member named ‘arrays’
kernel/sched.c:5530: error: ‘struct runqueue’ has no member named ‘expired’
kernel/sched.c:5530: error: ‘struct runqueue’ has no member named ‘arrays’
kernel/sched.c:5531: error: ‘struct runqueue’ has no member named ‘best_expired_prio’
kernel/sched.c:5524: warning: unused variable ‘array’
kernel/sched.c:5521: warning: unused variable ‘k’
kernel/sched.c:5521: warning: unused variable ‘j’
make[1]: *** [kernel/sched.o] Error 1
make: *** [kernel] Error 2


               Please tell me what is he problem, which part of the kernel I have to modify.Thanx in advance.



Regards,
Nageswara Rao.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
ckrm-tech mailing list
https://lists.sourceforge.net/lists/listinfo/ckrm-tech

Reply via email to