lkml.org 
[lkml]   [2005]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: [ACPI] 2.6.14-rc4 ACPI/PCI compile problem
Date
On Tuesday 11 October 2005 4:28 pm, Adam Litke wrote:
> Ok I'll admit I've known about this since at least 2.6.14-rc2-git5 but
> it may have been around longer. Long enough for me to speak up.
>
> I am getting the following compile errors when building 2.6.14-rc4 for
> i386:
>
> > LD .tmp_vmlinux1
> > drivers/built-in.o(.text+0x235f9): In function `acpi_pci_root_add':
> > /home/aglitke/views/acpi-compile-fix-2.6.14-rc4/current/drivers/acpi/pci_root.c:274: undefined reference to `pci_acpi_scan_root'
> > make[1]: *** [.tmp_vmlinux1] Error 1
> > make: *** [_all] Error 2

Please try the following patch and confirm whether it works.


[i386 kbuild] Don't clobber pci-y when X86_VISWS or X86_NUMAQ

Previously, enabling CONFIG_X86_VISWS or CONFIG_X86_NUMAQ
clobbered any previous contents of pci-y, because they used
":=" instead of "+=".

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>

diff -r ed3231e577f5 arch/i386/pci/Makefile
--- a/arch/i386/pci/Makefile Tue Oct 11 19:03:47 2005
+++ b/arch/i386/pci/Makefile Tue Oct 11 15:47:09 2005
@@ -8,7 +8,7 @@
pci-$(CONFIG_ACPI) += acpi.o
pci-y += legacy.o irq.o

-pci-$(CONFIG_X86_VISWS) := visws.o fixup.o
-pci-$(CONFIG_X86_NUMAQ) := numa.o irq.o
+pci-$(CONFIG_X86_VISWS) += visws.o fixup.o
+pci-$(CONFIG_X86_NUMAQ) += numa.o irq.o

obj-y += $(pci-y) common.o
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-10-12 01:19    [W:0.027 / U:1.320 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site