OpenVZ Forum - RDF feed
type: channel
items: *CLOSED* Error compiling 2.6.18-028test015.1
items: Re: Error compiling 2.6.18-028test015.1

*CLOSED* Error compiling 2.6.18-028test015.1
type: item
description: 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.…
creator: Xandrian
date: 2007-02-19T14:50:29-00:00

Re: Error compiling 2.6.18-028test015.1
type: item
description: 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.
creator: Vasily Tarasov
date: 2007-02-19T15:09:09-00:00