Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 4 Mar 2003 15:33:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 4 Mar 2003 15:33:07 -0500 Received: from pasmtp.tele.dk ([193.162.159.95]:33540 "EHLO pasmtp.tele.dk") by vger.kernel.org with ESMTP id ; Tue, 4 Mar 2003 15:33:06 -0500 Date: Tue, 4 Mar 2003 21:43:28 +0100 From: Sam Ravnborg To: Bill Davidsen , Kai Germaschewski Cc: Linux Kernel Mailing List Subject: Re: [2.5.63] aha152x, module issues Message-ID: <20030304204328.GA7271@mars.ravnborg.org> Mail-Followup-To: Bill Davidsen , Kai Germaschewski , Linux Kernel Mailing List References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1511 Lines: 44 On Mon, Mar 03, 2003 at 05:11:10PM -0500, Bill Davidsen wrote: > scripts/Makefile.modinst:16: *** Uh-oh, you have stale module entries. You messed with SUBDIRS, do not complain if something goes wrong. This happens if you have encountered a compile error in a module. In this case you did not succeed the compilation of fs/binfmt_aout, and therefore no .o file can be located. kbuild assumes this is because you have messed with SUBDIRS, which is wrong. Kai - the following patch fixes this for me. Sam ===== scripts/Makefile.build 1.31 vs edited ===== --- 1.31/scripts/Makefile.build Wed Feb 19 23:42:13 2003 +++ edited/scripts/Makefile.build Tue Mar 4 21:40:47 2003 @@ -163,12 +163,12 @@ # Single-part modules are special since we need to mark them in $(MODVERDIR) $(single-used-m): %.o: %.c FORCE - $(touch-module) ifdef CONFIG_MODVERSIONS $(call if_changed_rule,vcc_o_c) else $(call if_changed_dep,cc_o_c) endif + $(touch-module) quiet_cmd_cc_lst_c = MKLST $@ cmd_cc_lst_c = $(CC) $(c_flags) -g -c -o $*.o $< && \ @@ -262,8 +262,8 @@ $(call if_changed,link_multi-y) $(multi-used-m) : %.o: $(multi-objs-m) FORCE - $(touch-module) $(call if_changed,link_multi-m) + $(touch-module) targets += $(multi-used-y) $(multi-used-m) - 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/