Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757557AbZLDXGI (ORCPT ); Fri, 4 Dec 2009 18:06:08 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757514AbZLDXGI (ORCPT ); Fri, 4 Dec 2009 18:06:08 -0500 Received: from acsinet12.oracle.com ([141.146.126.234]:17225 "EHLO acsinet12.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757374AbZLDXGH (ORCPT ); Fri, 4 Dec 2009 18:06:07 -0500 Date: Fri, 4 Dec 2009 15:05:42 -0800 From: Randy Dunlap To: Grozdan Cc: linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org Subject: Re: Can't compile 2.6.32 Message-Id: <20091204150542.e361a12a.randy.dunlap@oracle.com> In-Reply-To: References: <20091204142522.6de2c52e.randy.dunlap@oracle.com> Organization: Oracle Linux Eng. X-Mailer: Sylpheed 2.7.1 (GTK+ 2.12.0; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Source-IP: acsmt353.oracle.com [141.146.40.153] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090205.4B1995E2.0035:SCFMA4539814,ss=1,fgs=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2705 Lines: 66 On Fri, 4 Dec 2009 23:30:09 +0100 Grozdan wrote: > On Fri, Dec 4, 2009 at 11:25 PM, Randy Dunlap wrote: > > 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. > > Hi Randy > > Attached is my config of 2.6.32 That builds fine for me, after I run make oldconfig and eliminate all of the opensuse config additions. It could be acpi-header-related though. Let's cc: linux-acpi to see if they know anything about this. > >> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/