Hi,
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?
Thanks!

On Friday, June 15, 2012 at 12:35:57 AM UTC+5:30, Kamran wrote:
>
> 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.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to