Bug 16595

Summary: 2.6.34.4 compilation failed
Product: Other Reporter: Viktor (brainvictor)
Component: ConfigurationAssignee: other_configuration (other_configuration)
Status: CLOSED CODE_FIX    
Severity: blocking CC: alan, devzero
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.34.4 Subsystem:
Regression: No Bisected commit-id:
Attachments: kernel config

Description Viktor 2010-08-15 10:53:42 UTC
When I start compile kernel on Fedora 13 i386 (use how-to http://fedoraproject.org/wiki/Docs/CustomKernel) I have following error messages:

CC      arch/x86/kernel/cpu/vmware.o
arch/x86/kernel/cpu/vmware.c: In function 'vmware_get_tsc_khz':
arch/x86/kernel/cpu/vmware.c:66: error: 'preset_lpj' undeclared (first use in this function)
arch/x86/kernel/cpu/vmware.c:66: error: (Each undeclared identifier is reported only once
arch/x86/kernel/cpu/vmware.c:66: error: for each function it appears in.)
arch/x86/kernel/cpu/vmware.c:68: error: 'HZ' undeclared (first use in this function)
make[3]: *** [arch/x86/kernel/cpu/vmware.o] Error 1
make[2]: *** [arch/x86/kernel/cpu] Error 2
make[1]: *** [arch/x86/kernel] Error 2
make: *** [arch/x86] Error 2

Before making new custom kernel all Fedora patches was excludes.
Kernel config see attach (config-2.6.34.4).
Comment 1 Viktor 2010-08-15 12:24:02 UTC
Created attachment 27450 [details]
kernel config
Comment 2 Roland Kletzing 2010-12-29 12:14:17 UTC
have a look at https://lkml.org/lkml/2010/8/14/8

does adding the header file also workaround your problem?
Comment 3 Roland Kletzing 2010-12-29 12:22:36 UTC
apparently, this has already been fixed in latest 2.6.34-stable kernel

see http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.34.y.git;a=commit;h=4070f4352f9ccde179140a243b3c0bbb36203e5a

so, can someone close this bugticket?