From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Dunlap Subject: Re: Can't compile 2.6.32 Date: Fri, 4 Dec 2009 16:43:56 -0800 Message-ID: <20091204164356.eb1df688.randy.dunlap@oracle.com> References: <20091204142522.6de2c52e.randy.dunlap@oracle.com> <20091204150542.e361a12a.randy.dunlap@oracle.com> <4B19A96C.8090701@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from rcsinet12.oracle.com ([148.87.113.124]:50028 "EHLO rgminet12.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757492AbZLEApI (ORCPT ); Fri, 4 Dec 2009 19:45:08 -0500 In-Reply-To: <4B19A96C.8090701@gmail.com> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: "Justin P. Mattock" Cc: Grozdan , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org On Fri, 04 Dec 2009 16:29:32 -0800 Justin P. Mattock wrote: > On 12/04/09 15:05, Randy Dunlap wrote: > > 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 ope= nSUSE > >>>> 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 proc= ess > >>>> enters the drivers/acpi directory, it errors out with the follow= ing: > >>>> > >>>> 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 =E2=80=98acpi_load_override= _tables=E2=80=99: > >>>> include/acpi/acpiosxf.h:98: warning: no return statement in func= tion > >>>> 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 =E2=80=98acpi_load_override= _tables=E2=80=99: > >>>> include/acpi/acpiosxf.h:98: warning: no return statement in func= tion > >>>> 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 =E2=80=98acpi_load_override= _tables=E2=80=99: > >>>> include/acpi/acpiosxf.h:98: warning: no return statement in func= tion > >>>> returning non-void > >>>> drivers/acpi/osl.c: At top level: > >>>> drivers/acpi/osl.c:514: error: redefinition of =E2=80=98acpi_loa= d_override_tables=E2=80=99 > >>>> include/acpi/acpiosxf.h:98: error: previous definition of > >>>> =E2=80=98acpi_load_override_tables=E2=80=99 was here Grozdan, My copy of 2.6.32 does not have a function 'acpi_load_override_tables' in drivers/acpi/osl.c nor in include/acpi/acpiosxf.h. Where/how did you get your 2.6.32 kernel source tree? Mayb you should do it again... > >>>> 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 a= ll of the > > opensuse config additions. > > > > It could be acpi-header-related though. Let's cc: linux-acpi to se= e if they > > know anything about this. > > > >>>> PS: please CC me as I'm not subscribed to the list. > >>>> -- > > > > > > --- >=20 > maybe make headers_install > is whats missing! >=20 > Justin P. Mattock --- ~Randy -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html