Bug 6513 - compile error : drivers/pci/hotplug/pciehp_hpc.c:44
Summary: compile error : drivers/pci/hotplug/pciehp_hpc.c:44
Status: CLOSED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: PCI (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Kristen
URL:
Keywords:
Depends on:
Blocks: 5829
  Show dependency tree
 
Reported: 2006-05-08 03:35 UTC by Toralf Förster
Modified: 2006-08-23 14:38 UTC (History)
1 user (show)

See Also:
Kernel Version: linux-2.6.17-rc3-git14
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
kernel config (28.89 KB, text/plain)
2006-05-08 03:36 UTC, Toralf Förster
Details
make log (27.64 KB, text/plain)
2006-05-08 03:36 UTC, Toralf Förster
Details
This patch should fix the issue (597 bytes, patch)
2006-05-08 11:37 UTC, Kristen
Details | Diff

Description Toralf Förster 2006-05-08 03:35:17 UTC
CC      drivers/pci/hotplug/pciehp_core.o
  CC      drivers/pci/hotplug/pciehp_ctrl.o
  CC      drivers/pci/hotplug/pciehp_pci.o
  CC      drivers/pci/hotplug/pciehp_hpc.o
In file included from drivers/pci/hotplug/pciehp_hpc.c:44:
include/linux/pci-acpi.h:54: error: redefinition of typedef 'acpi_status'
include/acpi/actypes.h:350: error: previous declaration of 'acpi_status' was here
In file included from drivers/pci/hotplug/pciehp_hpc.c:44:
include/linux/pci-acpi.h:55:1: warning: "AE_ERROR" redefined
In file included from include/acpi/acpi.h:56,
                 from drivers/pci/hotplug/pciehp_hpc.c:41:
include/acpi/acexcep.h:65:1: warning: this is the location of the previous
definition
make[3]: *** [drivers/pci/hotplug/pciehp_hpc.o] Error 1
make[2]: *** [drivers/pci/hotplug] Error 2
make[1]: *** [drivers/pci] Error 2
make: *** [drivers] Error 2
Comment 1 Toralf Förster 2006-05-08 03:36:08 UTC
Created attachment 8040 [details]
kernel config
Comment 2 Toralf Förster 2006-05-08 03:36:34 UTC
Created attachment 8041 [details]
make log
Comment 3 Kristen 2006-05-08 11:37:08 UTC
Created attachment 8059 [details]
This patch should fix the issue
Comment 4 Toralf Förster 2006-05-19 04:59:07 UTC
correct, tested with linux-2.6.17-rc4-git6

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