Compile error with ACPI off
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
linux-source-2.6.15 (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
While compiling a minimal kernel without ACPI, I got the following error:
LD arch/i386/
CC arch/i386/
AS arch/i386/
CC arch/i386/
AS arch/i386/
CC arch/i386/
AS arch/i386/
CC arch/i386/
CC arch/i386/
AR arch/i386/lib/lib.a
GEN .version
CHK include/
UPD include/
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
arch/i386/
: undefined reference to `check_acpi_pci'
make[1]: *** [.tmp_vmlinux1] Error 1
make[1]: Leaving directory `/home/
make: *** [stamp-build] Error 2
It seems some Ubuntu specific patch break nonACPI support.
This should fix the issue. The kernel compiles and boots with the patch.
Please consider that I'm not an experienced kernel developer or C programmer.
Thanks to <email address hidden> #ubuntu- kernel!