public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.0-test7 build failure: !CONFIG_PCI
       [not found] ` <BF1FE1855350A0479097B3A0D2A80EE001126CB1-N2PTB0HCzHJF3Yvz3xaN/VDQ4js95KgL@public.gmane.org>
@ 2003-10-11  3:43   ` Len Brown
  0 siblings, 0 replies; only message in thread
From: Len Brown @ 2003-10-11  3:43 UTC (permalink / raw)
  To: Linux-Kernel (E-mail); +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Does anybody build X86 without CONFIG_PCI?

Build fails if CONFIG_BLK_DEV_CMD640 is set:

drivers/built-in.o(.init.text+0x59df): In function `ide_setup':
: undefined reference to `cmd640_vlb'
drivers/built-in.o(.init.text+0x5aef): In function `probe_for_hwifs':
: undefined reference to `ide_probe_for_cmd640x'
make: *** [.tmp_vmlinux1] Error 1

The problem is that these variables are defined in
drivers/ide/pci/cmd640.c, which is protected by CONFIG_PCI; but they're
used when CONFIG_BLK_DEV_CMD640, which doesn't require CONFIG_PCI.

---
More interesting (to me) is that it also fails if CONFIG_ACPI is set:

drivers/built-in.o(.init.text+0x825): In function `acpi_bus_init':
: undefined reference to `eisa_set_level_irq'

drivers/acpi/bus.c:

#ifdef CONFIG_X86
        /* Ensure the SCI is set to level-triggered, active-low */
        if (acpi_ioapic)
                mp_config_ioapic_for_sci(acpi_fadt.sci_int);
        else
                eisa_set_level_irq(acpi_fadt.sci_int);
#endif

Should we not be calling eisa_set_level_irq()?

thanks,
-Len




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-10-11  3:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <BF1FE1855350A0479097B3A0D2A80EE001126CB1@hdsmsx402.hd.intel.com>
     [not found] ` <BF1FE1855350A0479097B3A0D2A80EE001126CB1-N2PTB0HCzHJF3Yvz3xaN/VDQ4js95KgL@public.gmane.org>
2003-10-11  3:43   ` 2.6.0-test7 build failure: !CONFIG_PCI Len Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox