[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1232866165.3195.1.camel@localhost.localdomain>
Date: Sun, 25 Jan 2009 12:19:25 +0530
From: Jaswinder Singh Rajput <jaswinder@...nel.org>
To: Satish Eerpini <eerpini@...il.com>
Cc: linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: building custom module on 2.6.28 fails
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
> include/linux/mmzone.h:256:5: warning: "MAX_NR_ZONES" is not defined
> In file included from include/linux/gfp.h:4,
> from include/linux/kmod.h:22,
> from include/linux/module.h:13,
> from /home/satish/prog/kernel/modules/simple-mod.c:1:
> include/linux/mmzone.h:277: error: 'MAX_NR_ZONES' undeclared here (not
> in a function)
> make[2]: *** [/home/satish/prog/kernel/modules/simple-mod.o] Error 1
> make[1]: *** [_module_/home/satish/prog/kernel/modules] Error 2
> make[1]: Leaving directory `/usr/src/kernels/linux-2.6.28'
> make: *** [all] Error 2
> __________________________________________________________________
>
> any hints what could be wrong ?
>
what is the output of:
ls -l /usr/src/kernels/linux-2.6.28/include/linux/bo*
--
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