2004-11-19 20:18:57

by Steve Kieu

[permalink] [raw]
Subject: 2.6.9-ac10 compile error


I got compile error with 2.6.9-ac10

root@perfectpc:/home/linux-2.6.9# make bzImage modules>/dev/null
In file included from drivers/atm/../../include/asm/byteorder.h:5:
/usr/include/linux/compiler.h:1:2: warning: #warning "You shouldn't be using this header"
drivers/pnp/pnpbios/core.c: In function `pnpbios_init':
drivers/pnp/pnpbios/core.c:541: error: `acpi_disabled' undeclared (first use in this function)
drivers/pnp/pnpbios/core.c:541: error: (Each undeclared identifier is reported only once
drivers/pnp/pnpbios/core.c:541: error: for each function it appears in.)
make[3]: *** [drivers/pnp/pnpbios/core.o] Error 1
make[2]: *** [drivers/pnp/pnpbios] Error 2
make[1]: *** [drivers/pnp] Error 2
make: *** [drivers] Error 2

gcc version 3.4.2

Steve Kieu


2004-11-20 00:03:43

by Alan

[permalink] [raw]
Subject: Re: 2.6.9-ac10 compile error

On Sad, 2004-11-20 at 09:15, [email protected] wrote:
> I got compile error with 2.6.9-ac10
>
> root@perfectpc:/home/linux-2.6.9# make bzImage modules>/dev/null
> In file included from drivers/atm/../../include/asm/byteorder.h:5:
> /usr/include/linux/compiler.h:1:2: warning: #warning "You shouldn't be using this header"
> drivers/pnp/pnpbios/core.c: In function `pnpbios_init':
> drivers/pnp/pnpbios/core.c:541: error: `acpi_disabled' undeclared (first use in this function)
> drivers/pnp/pnpbios/core.c:541: error: (Each undeclared identifier is reported only once
> drivers/pnp/pnpbios/core.c:541: error: for each function it appears in.)

Thanks. That test needs an #ifdef CONFIG_ACPI around it. I've already
put out -ac11 but will fix in -ac12 (or say Y to ACPI).