Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261725AbVDENYh (ORCPT ); Tue, 5 Apr 2005 09:24:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261728AbVDENYh (ORCPT ); Tue, 5 Apr 2005 09:24:37 -0400 Received: from emailhub.stusta.mhn.de ([141.84.69.5]:19472 "HELO mailout.stusta.mhn.de") by vger.kernel.org with SMTP id S261725AbVDENYT (ORCPT ); Tue, 5 Apr 2005 09:24:19 -0400 Date: Tue, 5 Apr 2005 15:24:18 +0200 From: Adrian Bunk To: Reuben Farrelly , len.brown@intel.com Cc: Andrew Morton , linux-kernel@vger.kernel.org, acpi-devel@lists.sourceforge.net Subject: 2.6.12-rc2-mm1: ACPI=y, ACPI_BOOT=n problems Message-ID: <20050405132417.GD6885@stusta.de> References: <42524D83.1080104@reub.net> <20050405121444.GB6885@stusta.de> <6.2.3.0.2.20050406002812.04393a30@tornado.reub.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6.2.3.0.2.20050406002812.04393a30@tornado.reub.net> User-Agent: Mutt/1.5.6+20040907i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2942 Lines: 87 On Wed, Apr 06, 2005 at 12:32:52AM +1200, Reuben Farrelly wrote: > Hi again > > At 12:14 a.m. 6/04/2005, Adrian Bunk wrote: > >On Tue, Apr 05, 2005 at 08:34:11PM +1200, Reuben Farrelly wrote: > > > >> Hi, > > > >Hi Reuben, > > > >>... > >> Hrm. Something changed between the last -mm release which compiled > >> through, and this one.. > >>... > >> LD .tmp_vmlinux1 > >> arch/i386/kernel/built-in.o(.init.text+0x1823): In function `setup_arch': > >> : undefined reference to `acpi_boot_table_init' > >> arch/i386/kernel/built-in.o(.init.text+0x1828): In function `setup_arch': > >> : undefined reference to `acpi_boot_init' > >> make: *** [.tmp_vmlinux1] Error 1 > >> [root@tornado linux-2.6]# > >> > >> Backing out bk-acpi.patch works around it.. > > > >Please send your .config . > > Have just figured out that it seems to be caused by having ACPI > disabled in .config, once I re-enabled ACPI the build problem went away. > > Config attached anyway, I imagine the problem is quite reproduceable.. Ah, this was the working .config . fter setting CONFIG_ACPI=n I started seeing different but most likely related problems. @Len: ACPI=y and ACPI_BOOT=n seems to be a legal configuration (with X86_HT=y), but it breaks into pieces if you try the compilation. The first error I get is: <-- snip --> CC arch/i386/kernel/setup.o arch/i386/kernel/setup.c:96: error: parse error before "acpi_sci_flags" arch/i386/kernel/setup.c:96: warning: type defaults to `int' in declaration of `acpi_sci_flags' arch/i386/kernel/setup.c:96: warning: data definition has no type or storage class arch/i386/kernel/setup.c: In function `parse_cmdline_early': arch/i386/kernel/setup.c:811: error: request for member `trigger' in something not a structure or union arch/i386/kernel/setup.c:814: error: request for member `trigger' in something not a structure or union arch/i386/kernel/setup.c:817: error: request for member `polarity' in something not a structure or union arch/i386/kernel/setup.c:820: error: request for member `polarity' in something not a structure or union arch/i386/kernel/setup.c: In function `setup_arch': arch/i386/kernel/setup.c:1571: warning: implicit declaration of function `acpi_boot_table_init' arch/i386/kernel/setup.c:1572: warning: implicit declaration of function `acpi_boot_init' make[1]: *** [arch/i386/kernel/setup.o] Error 1 make: *** [arch/i386/kernel] Error 2 <-- snip --> > Reuben cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed - 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/