Skip to contentSkip to conversation

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

DISCUSSION Andrew Morton 1 participant 1 message Apr 6, 2005 ACPI

lore
Share & tools
lore
#0 lore raw

urgh. My patch isn't extensice enough to fix all of this.

Begin forwarded message:

Date: Tue, 5 Apr 2005 22:46:24 +0200 (CEST)
From: Jesper Juhl <[email protected]>
To: Andrew Morton <[email protected]>
Cc: [email protected]
Subject: 2.6.12-rc2-mm1 fails to build with my config - acpi related

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...

Signature · 8 lines
Jesper Juhl


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click