[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070609085309.GB30611@uranus.ravnborg.org>
Date: Sat, 9 Jun 2007 10:53:09 +0200
From: Sam Ravnborg <sam@...nborg.org>
To: Jan Engelhardt <jengelh@...putergmbh.de>
Cc: Rich Chase <rac47.02@...alumni.colostate.edu>,
linux-kernel@...r.kernel.org
Subject: Re: missing elfconfig.h
On Sat, Jun 09, 2007 at 09:53:22AM +0200, 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" ?
It depnes on the module. If the module uses MODVERSIONIGN a full
build is needed.
For the naive case make *config; make prepare; make scripts are enough.
But I encourage a full make and then make clean because that works in
all situations.
Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists