simple kernel module error

Hi all. i made a simple hello world kernel module for beaglebone.
after make command following is the output.

root@beaglebone:~/project/modules/hello-world# make
make -C /lib/modules/3.2.14/build SUBDIRS=/home/root/project/modules/hello-world modules
make[1]: Entering directory `/usr/src/linux-3.2.18’

WARNING: Symbol version dump /usr/src/linux-3.2.18/Module.symvers
is missing; modules will have no dependencies and modversions.

CC [M] /home/root/project/modules/hello-world/hello.o
In file included from include/linux/gfp.h:4:0,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from /home/root/project/modules/hello-world/hello.c:1:
include/linux/mmzone.h:18:30: fatal error: generated/bounds.h: No such file or directory
compilation terminated.
make[2]: *** [/home/root/project/modules/hello-world/hello.o] Error 1
make[1]: *** [module/home/root/project/modules/hello-world] Error 2
make[1]: Leaving directory `/usr/src/linux-3.2.18’
make: *** [default] Error 2

can some one point out what wrong i have done.Thanks in advance.

i'm betting you're trying to build your module against a pure,
unconfigured kernel source tree. you can't do that. your kernel tree
must, at the *very* least, be configured and, more than that, it
should have "make modules_prepare" run at the top level.

  at the risk of sounding self-serving, i have an online kernel
programming course for beginners, for which the first several lessons
are freely and publicly available:

help yourself to those first few lessons -- somewhere in there, it
explains the steps to compile your first kernel module.


I’m getting same error for cross compiling LKM for ARM architecture. I am using Beaglebone Black(uname -r = 4.1.13-g8dc6617) and host machine (uname -r =3.19.0-49-generic)
LKM module for same host machine is working fine.
Any idea?