Skip to contentSkip to conversation

2.6.9-ac10 compile error

DISCUSSION [email protected] 2 participants 2 messages Nov 19, 2004 – Nov 20, 2004

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 9 lines · 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).