[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1232880058.4303.46.camel@localhost.localdomain>
Date: Sun, 25 Jan 2009 16:10:58 +0530
From: Jaswinder Singh Rajput <jaswinder@...nel.org>
To: Andrew Morton <akpm@...ux-foundation.org>,
Sam Ravnborg <sam@...nborg.org>
Cc: linux-kernel <linux-kernel@...r.kernel.org>,
Satish Eerpini <eerpini@...il.com>
Subject: Re: building custom module on 2.6.28 fails
Hello Andrew, Sam,
On Sun, 2009-01-25 at 16:00 +0530, Jaswinder Singh Rajput wrote:
> On Sun, 2009-01-25 at 14:07 +0530, Satish Eerpini wrote:
> > -rw-r--r-- 1 root root 4848 2008-10-10 03:43
> > /usr/src/kernels/linux-2.6.28/include/linux/bootmem.h
> > -rw-r--r-- 1 root root 261 2008-10-10 03:43
> > /usr/src/kernels/linux-2.6.28/include/linux/bottom_half.h
> > -rw-r--r-- 1 root root 224 2009-01-25 14:09
> > /usr/src/kernels/linux-2.6.28/include/linux/bounds.h
> >
> >
> > On 1/25/09, Jaswinder Singh Rajput <jaswinder@...nel.org> wrote:
> > > On Sun, 2009-01-25 at 10:27 +0530, Satish Eerpini wrote:
> > >> include/linux/mmzone.h:18:26: error: linux/bounds.h: No such file or
> > >> directory
>
> 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.
Many people are facing similar problems like this.
In this case linux/bounds.h is generated by Kbuild and leads to error
for modules if we do "make clean" or "make distclean"
Can we take benefits from __GENERATING_BOUNDS_H
Do you have some better plans.
--
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