Bug 539589

Summary: kvm can't build against kernel-2.6.18-174.el5
Product: Red Hat Enterprise Linux 5 Reporter: Eduardo Habkost <ehabkost>
Component: kvmAssignee: Eduardo Habkost <ehabkost>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.5CC: mburns, virt-maint, ykaul
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kvm-83-136.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 539642 (view as bug list) Environment:
Last Closed: 2010-03-30 07:52:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 539642    

Description Eduardo Habkost 2009-11-20 17:02:18 UTC
Description of problem:

KVM can't build against newer RHEL-5.5 test kernels:

make[2]: Entering directory `/usr/src/kernels/2.6.18-174.el5-x86_64'
  LD      /var/lib/builder/rhevh/source-root/kvm/kernel/x86/built-in.o
  CC [M]  /var/lib/builder/rhevh/source-root/kvm/kernel/x86/svm.o
  CC [M]  /var/lib/builder/rhevh/source-root/kvm/kernel/x86/../external-module-compat.o
In file included from /var/lib/builder/rhevh/source-root/kvm/kernel/x86/../external-module-compat.c:312:
include/linux/pci.h:541: error: static declaration of ‘pci_get_bus_and_slot’ follows non-static declaration
/var/lib/builder/rhevh/source-root/kvm/kernel/x86/../external-module-compat-comm.h:565: error: previous declaration of ‘pci_get_bus_and_slot’ was here
/var/lib/builder/rhevh/source-root/kvm/kernel/x86/../external-module-compat.c:315: error: redefinition of ‘pci_get_bus_and_slot’
include/linux/pci.h:541: error: previous definition of ‘pci_get_bus_and_slot’ was here
make[4]: *** [/var/lib/builder/rhevh/source-root/kvm/kernel/x86/../external-module-compat.o] Error 1
make[3]: *** [/var/lib/builder/rhevh/source-root/kvm/kernel/x86] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.18-174.el5-x86_64'
make[2]: *** [_module_/var/lib/builder/rhevh/source-root/kvm/kernel] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/lib/builder/rhevh/source-root/kvm/kernel'
make: *** [kernel] Error 2

Comment 7 errata-xmlrpc 2010-03-30 07:52:08 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2010-0271.html