Red Hat Bugzilla – Bug 172029
Disabling ACPI in kernel build causes link failure
Last modified: 2007-11-30 17:07:21 EST
From Bugzilla Helper:
User-Agent: Opera/8.5 (X11; Linux i686; U; en)
Description of problem:
Starting with the standard configuration (file /boot/config-2.6.9-22.0.1.EL,
from the i686 kernel RPM) I deselected ACPI support in "make menuconfig". When
building the kernel I received the link error shown below.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Unpack and prep the standard source in the usual way:
rpm -i /tmp/kernel-2.6.9-22.0.1.EL.src.rpm
rpmbuild -bp --target i686 SPECS/kernel.spec
2. Run "make menuconfig" against standard kernel config file, deselect ACPI
3. Build kernel
Actual Results: LD init/built-in.o
arch/i386/kernel/built-in.o(.init.text+0x1518): In function `setup_arch':
: undefined reference to `acpi_boot_table_init'
make: *** [.tmp_vmlinux1] Error 1
Expected Results: The kernel build should not reference device support that I have disabled.
We don't support rhel4 kernels re-compiled with alternative configurations.
perhaps acpi=off on the kernel command line will get you what you want?
Well, I'm not terribly upset by the inability to deselect ACPI. I can't use
ACPI, so I thought I'd save a little memory by removing the ACPI support
altogether. Doing acpi=off does indeed quiet the boot-time complaints.
I just filed this report because I thought you would be interested that the ACPI
option is no longer optional.