[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1232893657.10647.4.camel@localhost.localdomain>
Date: Sun, 25 Jan 2009 19:57:37 +0530
From: Jaswinder Singh Rajput <jaswinder@...nel.org>
To: Sam Ravnborg <sam@...nborg.org>
Cc: Satish Eerpini <eerpini@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: building custom module on 2.6.28 fails
On Sun, 2009-01-25 at 14:47 +0100, Sam Ravnborg wrote:
> On Sun, Jan 25, 2009 at 04:49:16PM +0530, Satish Eerpini wrote:
> > >> It seems you run "make clean" or "make distclean" in your kernel sources
> > >>
> > >> run "make prepare" in your kernel sources then you will not get this
> > >> error.
> > >
> >
> > I ran make clean and then make prepare but it gives an error saying
> > "no such file or directory : modpost ", ....
> > Then i ran make( in the kernel source tree) , and terminated it after
> > a few files were compiled and then again tried to compile my module,
> > this time it worked without any errors, ....... any particular reason
> > for this ??
> We are currently lacking a dependency on "scripts" so doing:
> make scripts
> make prepare
> is needed today.
As per makefile:
# make clean Delete most generated files
# Leave enough to build external modules
So is this OK to delete include/linux/bounds.h by 'make clean'.
--
JSR
--
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