2005-04-12 18:32:54

by Stas Sergeev

[permalink] [raw]
Subject: Re: 2.6.12-rc2-mm3 (ACPI build problem)

Hello.

Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.12-rc2/2.6.12-rc2-mm3/
Fails to compile with
!CONFIG_ACPI && CONFIG_SMP.
CONFIG_SMP sets CONFIG_X86_HT,
which sets CONFIG_ACPI_BOOT,
but that fails without CONFIG_ACPI:

CC arch/i386/kernel/setup.o
arch/i386/kernel/setup.c:96: error: syntax 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


2005-04-13 01:14:01

by Adrian Bunk

[permalink] [raw]
Subject: Re: 2.6.12-rc2-mm3 (ACPI build problem)

On Tue, Apr 12, 2005 at 09:53:02PM +0400, Stas Sergeev wrote:
> Hello.
>
> Andrew Morton wrote:
> >ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.12-rc2/2.6.12-rc2-mm3/
> Fails to compile with
> !CONFIG_ACPI && CONFIG_SMP.
> CONFIG_SMP sets CONFIG_X86_HT,
> which sets CONFIG_ACPI_BOOT,
> but that fails without CONFIG_ACPI:
>
> CC arch/i386/kernel/setup.o
> arch/i386/kernel/setup.c:96: error: syntax 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

Known bug.

Workaround:
Enable CONFIG_ACPI.

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed