Skip to contentSkip to conversation

2.6.12-rc2-mm3 (ACPI build problem)

DISCUSSION Stas Sergeev 2 participants 2 messages Apr 12, 2005 – Apr 13, 2005 ACPI

lore
Share & tools
lore
#0 lore raw

Hello.

Quoted 1 line · Andrew Morton

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

-------------------------------------------------------
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_ide95&alloc_id396&op=click

#1 lore raw
Quoted 10 lines · Stas Sergeev

Hello.

Quoted 1 line · Andrew Morton

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:

Quoted 15 lines

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

Signature · 12 lines
       "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



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