Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751051AbWJLThZ (ORCPT ); Thu, 12 Oct 2006 15:37:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751043AbWJLThZ (ORCPT ); Thu, 12 Oct 2006 15:37:25 -0400 Received: from smtp.osdl.org ([65.172.181.4]:57995 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S1750922AbWJLThW (ORCPT ); Thu, 12 Oct 2006 15:37:22 -0400 Date: Thu, 12 Oct 2006 12:37:14 -0700 From: Andrew Morton To: "Luck, Tony" Cc: Judith Lebzelter , linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] IA64 export symbols empty_zero_page, ia64_ssc Message-Id: <20061012123714.85ab4ebb.akpm@osdl.org> In-Reply-To: <20061012175536.GA8497@intel.com> References: <617E1C2C70743745A92448908E030B2AA634B8@scsmsx411.amr.corp.intel.com> <20061012001139.1fea6ecf.akpm@osdl.org> <20061012175536.GA8497@intel.com> X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.6; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1711 Lines: 46 On Thu, 12 Oct 2006 10:55:36 -0700 "Luck, Tony" wrote: > On Thu, Oct 12, 2006 at 12:11:39AM -0700, Andrew Morton wrote: > > The problem is that ia64 allmodconfig now bombs out, since depmod treats > > this as a hard error. > > > > IOW, please make allmodconfig work ;) > > I tried simply swapping "tristate" for "bool": > --- a/arch/ia64/hp/sim/Kconfig 2006-10-12 10:45:18.000000000 -0700 > +++ b/arch/ia64/hp/sim/Kconfig 2006-10-12 09:43:30.000000000 -0700 > @@ -13,7 +13,7 @@ > depends on HP_SIMSERIAL > > config HP_SIMSCSI > - tristate "Simulated SCSI disk" > + bool "Simulated SCSI disk" > depends on SCSI > > endmenu > > ... and now it fails in a new an diferent way: > > LD .tmp_vmlinux1 > arch/ia64/hp/sim/built-in.o(.init.text+0x9d2): In function `simscsi_init': > arch/ia64/hp/sim/simscsi.c:407: undefined reference to `scsi_host_alloc' > arch/ia64/hp/sim/built-in.o(.init.text+0xa02):arch/ia64/hp/sim/simscsi.c:411: undefined reference to `scsi_add_host' > arch/ia64/hp/sim/built-in.o(.init.text+0xa22):arch/ia64/hp/sim/simscsi.c:413: undefined reference to `scsi_scan_host' > > presumably because we have CONFIG_HP_SIMSCSI=y but CONFIG_SCSI=m > [Which I don't understand ... HP_SIM_SCSI "depends on SCSI", so > how did make allmodconfig come up with this combination?]. This happens a lot and I always forget what the fix is. Something like depends on SCSI=y || (m && SCSI) but probably not exactly that. - 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/