Now that bug #2518 is fixed, I have a similar problem. If I disable ACPI I get this: gcc <<snip>> -DKBUILD_BASENAME=setup -c -o setup.o setup.c setup.c: In function `setup_arch': setup.c:1071: `acpi_mp_config' undeclared (first use in this function) setup.c:1071: (Each undeclared identifier is reported only once setup.c:1071: for each function it appears in.) make[1]: *** [setup.o] Error 1 make[1]: Leaving directory `/usr/src/linux-2.4.19-gentoo-r4/arch/i386/kernel' make: *** [_dir_arch/i386/kernel] Error 2 I tried adding #ifdef CONFIG_X86_LOCAL_APIC or CONFIG_APCI blocks around it and including <asm/acpi.h> and <asm-i386/acpi.h>, since acpi_mp_config is defined there. No combination worked. 2.4.19-r1 works for me, with local APIC, IO-APIC, power management, APM enabled, and ACPI disabled. .config option Enabled Description CONFIG_X86_UP_APIC Y Y Y Y n n Local APIC support on uniprocessors CONFIG_X86_UP_IOAPIC Y n n Y n n IO-APIC support on uniprocessors CONFIG_PM Y Y n n Y n Power Management support CONFIG_ACPI n n n Y n Y ACPI support compile problem Y Y Y n n n I didn't see that APIC and ACPI were different, but they seem realated to this problem. Stupid anagrams! They are all the same in my head.
Bugzilla messed up my table. .config options Enabled CONFIG_X86_UP_APIC Y Y Y Y n n CONFIG_X86_UP_IOAPIC Y n n Y n n CONFIG_PM Y Y n n Y n CONFIG_ACPI n n n Y n Y compile problem Y Y Y n n n
*** This bug has been marked as a duplicate of 2604 ***