OpenVZ Forum - RDF feed
type: channel
items: *SOLVED* 2.6.16+026test014 compilation Error
items: Re: 2.6.16+026test014 compilation Error

*SOLVED* 2.6.16+026test014 compilation Error
type: item
description: Hello On Debian/Sarge with gcc version 3.3.5 whene i compile i have error: In file included from kernel/sched.c:52: include/linux/vsched.h:24: error: syntax error before '(' token kernel/sched.c:711: error: syntax error before '(' token kernel/sched.c: In function `update_ve_task_info': kernel/sched.c:973: error: structure has no member named `idle' kernel/sched.c: In function `idle_cpu': kernel/sched.c:1547: error: `idle_vsched' undeclared (first use in this function) kernel/sched.c:1547: error: (Each undeclared identifier is reported only once kernel/sched.c:1547: error: for each function it appears in.) kernel/sched.c: In function `find_busiest_queue': kernel/sched.c:3001: warning: unused variable `tmp' kernel/sched.c: In function `wakeup_busy_runqueue': kernel/sched.c:3666: error: structure has no member named `idle' kernel/sched.c:3667: error: structure has no member named `idle' kernel/sched.c: In function `wake_sleeping_dependent': kernel/sched.c:3688: error: `this_rq' undeclared (first use in this function) kernel/sched.c:3693: warning: implicit declaration of function `cpu_rq' kernel/sched.c:3693: error: invalid type argument of `->' kernel/sched.c:3698: warning: passing arg 1 of `__cpu_clear' makes integer from pointer without a cast kernel/sched.c:3701: warning: initialization makes pointer from integer without a cast kernel/sched.c:3707: error: invalid type argument of `->' kernel/sched.c: In function `dependent_sleeper': kernel/sched.c:3743: error: `this_rq' undeclared (first use in this function) kernel/sched.c:3746: error: invalid type argument of `->' kernel/sched.c:3747: warning: passing arg 1 of `__cpu_clear' makes integer from pointer without a cast kernel/sched.c:3764: warning: initialization makes pointer from integer without a cast kernel/sched.c:3794: error: structure has no member named `idle' kernel/sched.c:3821: error: invalid type argument of `->' kernel/sched.c: In function `schedule': kernel/sched.c:3954: error: structure has no member n…
creator: m_o_d
date: 2006-06-15T14:10:06-00:00

Re: 2.6.16+026test014 compilation Error
type: item
description: Do you have patched an Vanilla 2.6.16 Kernel? For me it works perfectly on an Debian Sarge 3.1.
creator: disaster
date: 2006-06-15T14:12:25-00:00

Re: 2.6.16+026test014 compilation Error
type: item
description: Yes it is vanilla from kernel.org
creator: m_o_d
date: 2006-06-15T15:00:13-00:00

Re: 2.6.16+026test014 compilation Error
type: item
description: You use wrong config file while compiling OpenVZ kernel. Particulary CONFIG_SCHED_VCPU parameter is off. You can use "official" config-file: http://openvz.org/download/kernel/devel/ "Kernel configs" section.
creator: Vasily Tarasov
date: 2006-06-16T13:34:26-00:00