Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 401477

Summary: sys-kernel/openvz-sources-2.6.32.44.11 - kernel/fairsched.c:720:12: error: ‘cpu_cgroup_subsys_id’ undeclared (first use in this function)
Product: Gentoo Linux Reporter: Vitaliy V. Osypenko <vitaliy.osypenko>
Component: Current packagesAssignee: Peter Volkov (RETIRED) <pva>
Status: RESOLVED INVALID    
Severity: normal CC: vserver-devs+disabled
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: .config

Description Vitaliy V. Osypenko 2012-01-30 11:38:58 UTC
Fails to build with this error:

kernel/fairsched.c: In function ‘fairsched_init’:
kernel/fairsched.c:720:12: error: ‘cpu_cgroup_subsys_id’ undeclared (first use in this function)
kernel/fairsched.c:720:12: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [kernel/fairsched.o] Error 1
make: *** [kernel] Error 2
make: *** Waiting for unfinished jobs....


Reproducible: Always
Comment 1 Vitaliy V. Osypenko 2012-01-30 11:41:29 UTC
Created attachment 300359 [details]
.config
Comment 2 Vitaliy V. Osypenko 2012-01-31 11:49:41 UTC
I've managed to compile kernel in the end by guessing configuration options. This is not the only one compilation error I had. I guess it is better to use preconfigured kernel configuration from openvz.org. Afterall it didn't boot well, some oops and not working udev, and so on.