*CLOSED* Error compiling 2.6.18-028test015.1
Hi, i am trying to compile a OpenVZ Kernel on my new System (32 Bit Ubuntu on an AMD Athlon64). I got the following message and don't know where's the problem: CC kernel/sched.o kernel/sched.c: In function â__activate_taskâ: kernel/sched.c:1565: warning: implicit declaration of function âve_stop_idleâ kernel/sched.c:1565: error: âveâ undeclared (first use in this function) kernel/sched.c:1565: error: (Each undeclared identifier is reported only once kernel/sched.c:1565: error: for each function it appears in.) kernel/sched.c: In function âdeactivate_taskâ: kernel/sched.c:1718: error: âpcpuâ undeclared (first use in this function) kernel/sched.c:1735: warning: implicit declaration of function âve_strt_idleâ kernel/sched.c:1735: error: âveâ undeclared (first use in this function) kernel/sched.c:1735: error: âcpuâ undeclared (first use in this function) kernel/sched.c: In function âvsched_add_vcpuâ: kernel/sched.c:8218: error: invalid application of âsizeofâ to incomplete type âstruct ve_cpu_statsâ kernel/sched.c:8218: warning: implicit declaration of function âVE_CPU_STATSâ kernel/sched.c:8218: error: âstruct fairsched_nodeâ has no member named âowner_envâ kernel/sched.c:8218: error: invalid application of âsizeofâ to incomplete type âstruct ve_cpu_statsâ kernel/sched.c:8218: warning: passing argument 1 of â__constant_c_and_count_memsetâ makes pointer from integer without a cast kernel/sched.c:8218: error: âstruct fairsched_nodeâ has no member named âowner_envâ kernel/sched.c:8218: error: invalid application of âsizeofâ to incomplete type âstruct ve_cpu_statsâ kernel/sched.c:8218: warning: passing argument 1 of â__constant_c_memsetâ makes pointer from integer without a cast kernel/sched.c:8218: error: invalid application of âsizeofâ to incomplete type âstruct ve_cpu_statsâ kernel/sched.c:8218: error: âstruct fairsched_nodeâ has no member named âowner_envâ kernel/sched.c:8218: error: invalid application of âsizeofâ to incomplete type âstruct ve_cpu_statsâ kernel/sched.c:8218: warning: passing argument 1 of â__memset_genericâ makes pointer from integer without a cast kernel/sched.c:8218: error: âstruct fairsched_nodeâ has no member named âowner_envâ kernel/sched.c:8218: error: invalid application of âsizeofâ to incomplete type âstruct ve_cpu_statsâ kernel/sched.c:8218: warning: passing argument 1 of â__memset_genericâ makes pointer from integer without a cast kernel/sched.c:8221: error: âstruct fairsched_nodeâ has no member named âowner_envâ make[1]: *** [kernel/sched.o] Error 1 make: *** [kernel] Error 2 I tried to (de)activate the VCPU Scheduler and Fairscheduler but i also dont't work. Then i got another Error message... Thx. cu tb.
You're right, there is such bug in OpenVZ kernel: not all configs are compilable now. Look at bug: http://bugzilla.openvz.org/show_bug.cgi?id=433 for some additional information.