Distribution: Fedora Core 3 Hardware Environment: Any Software Environment: gcc-3.4.2 Problem Description: Unable to compile uniprocessor kernel with acpi-20041105- 26-stable-release patch, with IO APIC disabled Steps to reproduce: Try to compile 2.6.9 kernel, patched with acpi-20041105-26-stable-release with IO APIC disabled. Compilation stops and the following error is displayed: CC arch/i386/kernel/acpi/boot.o arch/i386/kernel/acpi/boot.c: In function `acpi_boot_init': arch/i386/kernel/acpi/boot.c:821: warning: implicit declaration of function `check_acpi_pci' CC arch/i386/kernel/acpi/earlyquirk.o arch/i386/kernel/acpi/earlyquirk.c: In function `check_bridge': arch/i386/kernel/acpi/earlyquirk.c:16: error: `acpi_skip_timer_override' undeclared (first use in this function) arch/i386/kernel/acpi/earlyquirk.c:16: error: (Each undeclared identifier is reported only once arch/i386/kernel/acpi/earlyquirk.c:16: error: for each function it appears in.) make[2]: *** [arch/i386/kernel/acpi/earlyquirk.o] Error 1 make[1]: *** [arch/i386/kernel/acpi] Error 2 make: *** [arch/i386/kernel] Error 2 Examined include/asm/acpi.h and it looks like acpi_skip_timer_override is defined only then CONFIG_X86_IO_APIC option specified. Probably check_bridge should not be used then.
I build several UP kernels without IO_APIC and don't see any errors. arch/i386/kernel/acpi/earlyquirk.c is included in the build only if CONFIG_X86_IOAPIC so I don't see how the errors above resulted if that was not in the config. Pleaes do a make clean before building -- it may be that some dependencies in the build were not cleared. If you still have a problem with a clean build of the latest patch, please re-open and attach the failing .config.
*** Bug 3843 has been marked as a duplicate of this bug. ***
Len, I've checked patch - it does include earlyquirk.o then CONFIG_ACPI_BOOT is enabled. Right? And it does not check for IO APIC. diff -Nru a/arch/i386/kernel/acpi/Makefile b/arch/i386/kernel/acpi/Makefile --- a/arch/i386/kernel/acpi/Makefile 2004-11-23 01:26:22 -05:00 +++ b/arch/i386/kernel/acpi/Makefile 2004-11-23 01:26:22 -05:00 @@ -1,3 +1,3 @@ -obj-$(CONFIG_ACPI_BOOT) := boot.o +obj-$(CONFIG_ACPI_BOOT) := boot.o earlyquirk.o
Created attachment 4184 [details] FC3 kernel config Kernel config used for build
please re-download the patch, it has been updated with the fix. re-open if you have problems with the new one. thanks, -len