Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264309AbTEZHMY (ORCPT ); Mon, 26 May 2003 03:12:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264310AbTEZHMY (ORCPT ); Mon, 26 May 2003 03:12:24 -0400 Received: from smtp-101-monday.nerim.net ([62.4.16.101]:50180 "EHLO kraid.nerim.net") by vger.kernel.org with ESMTP id S264309AbTEZHMW (ORCPT ); Mon, 26 May 2003 03:12:22 -0400 Date: Mon, 26 May 2003 09:28:08 +0200 From: Jerome Chantelauze To: Marcelo Tosatti Cc: linux-kernel@vger.kernel.org Subject: Re: Linux 2.4.21-rc3: doesn't build with CONFIG_BLK_DEV_HD_ONLY=y Message-ID: <20030526072808.GA7851@i486X33> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1582 Lines: 50 On Thu, May 22, 2003 at 07:19:38PM -0300, Marcelo Tosatti wrote: > > Hi, > > Here goes the third release candidate of 2.4.21. > kernel 2.4.21-rc3 doesn't build with CONFIG_BLK_DEV_HD_ONLY=y and CONFIG_BLK_DEV_IDE not set (a patch is included): make -C ide make[2]: Entering directory `/usr/src/linux-2.4.21-rc3/drivers/ide' make all_targets make[3]: Entering directory `/usr/src/linux-2.4.21-rc3/drivers/ide' rm -f idedriver.o ld -m elf_i386 -r -o idedriver.o legacy/idedriver-legacy.o ld: cannot open legacy/idedriver-legacy.o: No such file or directory make[3]: *** [idedriver.o] Error 1 make[3]: Leaving directory `/usr/src/linux-2.4.21-rc3/drivers/ide' make[2]: *** [first_rule] Error 2 make[2]: Leaving directory `/usr/src/linux-2.4.21-rc3/drivers/ide' make[1]: *** [_subdir_ide] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.21-rc3/drivers' make: *** [_dir_drivers] Error 2 This patch fixes the problem. *** drivers/ide/Makefile.orig Sun May 25 17:51:24 2003 --- drivers/ide/Makefile Sun May 25 17:51:32 2003 *************** *** 19,24 **** --- 19,26 ---- obj-m := ide-obj-y := + subdir-$(CONFIG_BLK_DEV_HD_ONLY) += legacy + subdir-$(CONFIG_BLK_DEV_IDE) += legacy ppc arm raid pci # First come modules that register themselves with the core Best regards. -- Jerome Chantelauze. - 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/