Re: 2.6.9-ac10 compile error

From: Alan Cox
Date: Sat Nov 20 2004 - 00:33:20 EST


On Sad, 2004-11-20 at 09:15, haiquy@xxxxxxxxx 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).

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/