2.6.12-rc2-mm1 fails to build with my config - acpi related

From: Jesper Juhl
Date: Tue Apr 05 2005 - 16:02:36 EST



I get this when trying to build 2.6.12-rc2-mm1 :

CC arch/i386/kernel/setup.o
arch/i386/kernel/setup.c:96: error: parse error before "acpi_sci_flags"
arch/i386/kernel/setup.c:96: warning: type defaults to `int' in declaration of `acpi_sci_flags'
arch/i386/kernel/setup.c:96: warning: data definition has no type or storage class
arch/i386/kernel/setup.c: In function `parse_cmdline_early':
arch/i386/kernel/setup.c:811: error: request for member `trigger' in something not a structure or union
arch/i386/kernel/setup.c:814: error: request for member `trigger' in something not a structure or union
arch/i386/kernel/setup.c:817: error: request for member `polarity' in something not a structure or union
arch/i386/kernel/setup.c:820: error: request for member `polarity' in something not a structure or union
arch/i386/kernel/setup.c: In function `setup_arch':
arch/i386/kernel/setup.c:1571: warning: implicit declaration of function `acpi_boot_table_init'
arch/i386/kernel/setup.c:1572: warning: implicit declaration of function `acpi_boot_init'
make[1]: *** [arch/i386/kernel/setup.o] Error 1
make: *** [arch/i386/kernel] Error 2

If I enable CONFIG_ACPI all is well - it seems some things get enabled by
CONFIG_ACPI_BOOT regardless of CONFIG_ACPI being defined, this causes
things to break since some of the stuff CONFIG_ACPI_BOOT enables depends
on things only enabled in include/linux/acpi.h when CONFIG_ACPI is set...


--
Jesper Juhl


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/