Re: [ACPI] 2.6.14-rc4 ACPI/PCI compile problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>

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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux