Re: Can't compile 2.6.32

From: Randy Dunlap
Date: Fri Dec 04 2009 - 17:26:49 EST


On Fri, 4 Dec 2009 14:32:08 +0100 Grozdan wrote:

> Hello,
>
> I'm having trouble trying to compile the 2.6.32 kernel on my openSUSE
> 11.1 system. While doing so, I see a lot of warnings which seem to
> come from include/acpi/acpiosxf.h and then when the compile process
> enters the drivers/acpi directory, it errors out with the following:
>
> CC drivers/acpi/tables.o
> In file included from include/acpi/acpi.h:63,
> from include/linux/acpi.h:39,
> from drivers/acpi/tables.c:33:
> include/acpi/acpiosxf.h: In function âacpi_load_override_tablesâ:
> include/acpi/acpiosxf.h:98: warning: no return statement in function
> returning non-void
> CC drivers/acpi/blacklist.o
> In file included from include/acpi/acpi.h:63,
> from include/linux/acpi.h:39,
> from drivers/acpi/blacklist.c:33:
> include/acpi/acpiosxf.h: In function âacpi_load_override_tablesâ:
> include/acpi/acpiosxf.h:98: warning: no return statement in function
> returning non-void
> CC drivers/acpi/osl.o
> In file included from include/acpi/acpi.h:63,
> from include/linux/acpi.h:39,
> from drivers/acpi/osl.c:40:
> include/acpi/acpiosxf.h: In function âacpi_load_override_tablesâ:
> include/acpi/acpiosxf.h:98: warning: no return statement in function
> returning non-void
> drivers/acpi/osl.c: At top level:
> drivers/acpi/osl.c:514: error: redefinition of âacpi_load_override_tablesâ
> include/acpi/acpiosxf.h:98: error: previous definition of
> âacpi_load_override_tablesâ was here
> make[2]: *** [drivers/acpi/osl.o] Error 1
> make[1]: *** [drivers/acpi] Error 2
> make: *** [drivers] Error 2
>
> Thoughts, solutions, etc?

Please send your failing kernel .config file. Thanks.


> PS: please CC me as I'm not subscribed to the list.
> --

---
~Randy
--
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/