Bug 16595 - 2.6.34.4 compilation failed
Summary: 2.6.34.4 compilation failed
Status: CLOSED CODE_FIX
Alias: None
Product: Other
Classification: Unclassified
Component: Configuration (show other bugs)
Hardware: All Linux
: P1 blocking
Assignee: other_configuration@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-15 10:53 UTC by Viktor
Modified: 2012-05-12 16:15 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.34.4
Subsystem:
Regression: No
Bisected commit-id:


Attachments
kernel config (91.52 KB, application/x-troff-man)
2010-08-15 12:24 UTC, Viktor
Details

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?

Note You need to log in before you can comment on or make changes to this bug.