On Thu, Sep 22, 2005 at 07:11:07PM +0200, Rumko wrote: > When trying to compile a kernel with "device acpi" I get this: > > sh /usr/src/sys/conf/newvers.sh MYPRECIOUS > cc -c -O -pipe -mtune=pentiumpro -Wall -Wredundant-decls > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Winline -Wcast-qual -ansi -g -nostdinc -I. > -I/usr/src/sys -I/usr/src/sys/../include > -I/usr/obj/usr/src/sys/MYPRECIOUS -I"/usr/src/sys/dev/acpica5" > -I"/usr/src/sys/contrib/dev/acpica-unix-20050309/include" > -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h > -mpreferred-stack-boundary=2 -fno-stack-protector -fno-common > -ffreestanding vers.c > linking kernel.debug > acpi.o(.text+0x1a65): In function `acpi_shutdown_final': > /usr/src/sys/dev/acpica5/acpi.c:1212: undefined reference to > `cpu_idle_default_hook' > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/MYPRECIOUS. > *** Error code 1
I've just reworked the last commit to acpi.c, which hopefully fix the original panic in a different approach, and also fixes the kernel compilation problem. Thanks.
