From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758483AbXFIIBI (ORCPT ); Sat, 9 Jun 2007 04:01:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754718AbXFIIA7 (ORCPT ); Sat, 9 Jun 2007 04:00:59 -0400 Received: from nic.NetDirect.CA ([216.16.235.2]:33814 "EHLO rubicon.netdirect.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752972AbXFIIA7 (ORCPT ); Sat, 9 Jun 2007 04:00:59 -0400 X-Originating-Ip: 72.143.66.27 Date: Sat, 9 Jun 2007 03:59:16 -0400 (EDT) From: "Robert P. J. Day" X-X-Sender: rpjday@localhost.localdomain To: Jan Engelhardt cc: Sam Ravnborg , Rich Chase , linux-kernel@vger.kernel.org Subject: Re: missing elfconfig.h In-Reply-To: Message-ID: References: <200706080908.37044.rac47.02@engalumni.colostate.edu> <20070608201947.GD25468@uranus.ravnborg.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Net-Direct-Inc-MailScanner-Information: Please contact the ISP for more information X-Net-Direct-Inc-MailScanner: Found to be clean X-Net-Direct-Inc-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-16.723, required 5, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -15.00, INIT_RECVD_OUR_AUTH -20.00, RCVD_IN_SORBS_DUL 20.00, TW_VN 0.08) X-Net-Direct-Inc-MailScanner-From: rpjday@mindspring.com Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 9 Jun 2007, Jan Engelhardt wrote: > > On Jun 8 2007 22:19, Sam Ravnborg wrote: > >On Fri, Jun 08, 2007 at 09:08:36AM -0400, Rich Chase wrote: > >> An Apparent bug: > >> version 2.6.21.3 > >> missing the file ./scripts/mod/elfconfig.h > > > >To build an external module you need to point to a directory > >where a fully build kernel is placed. > > > >You could do a full build and then a "make clean", > >this would still let you build external modules. > > Is not "make prepare" enough? > > >In your case the kernel was not build. > >And to build modpost you need to execute "make modules" from > >the kernel top-level directory. > > "make scripts" ? by the way, technically, you're right since, from the top-level Makefile: # Target to prepare building external modules PHONY += modules_prepare modules_prepare: prepare scripts rday -- ======================================================================== Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry Waterloo, Ontario, CANADA http://fsdev.net/wiki/index.php?title=Main_Page ========================================================================