kernel error

ssrmurthy saka <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <CAO-avyd69bTbY_frfv-fKBoJ7nyxyc0yvrgWLwJX5M9y28PaQg@mail.gmail.com>
Hi team,

I am using  "4.13.0-36-generic" kernel and i exported cross compiler of
version  "gcc-linaro-7.4.1-2019.02-i686_arm-linux-gnueabihf".
when i try to compile new odule i am facing below error.
can you please help on this.


make -C /lib/modules/4.13.0-36-generic/build/ M=/home/tessolve/c modules
make[1]: Entering directory '/usr/src/linux-headers-4.13.0-36-generic'
  CC [M]  /home/tessolve/c/vm.o
In file included from ./include/asm-generic/int-ll64.h:10:0,
                 from ./arch/arm/include/uapi/asm/types.h:4,
                 from ./include/uapi/linux/types.h:4,
                 from ./include/linux/compiler.h:231,
                 from ./include/linux/init.h:4,
                 from /home/tessolve/c/vm.c:1:
./include/uapi/asm-generic/int-ll64.h:11:10: fatal error:
asm/bitsperlong.h: No such file or directory
 #include <asm/bitsperlong.h>
          ^~~~~~~~~~~~~~~~~~~
compilation terminated.
scripts/Makefile.build:315: recipe for target '/home/tessolve/c/vm.o' failed
make[2]: *** [/home/tessolve/c/vm.o] Error 1
Makefile:1550: recipe for target '_module_/home/tessolve/c' failed
make[1]: *** [_module_/home/tessolve/c] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.13.0-36-generic'
Makefile:4: recipe for target 'all' failed
make: *** [all] Error 2


Thanks,
murthy

_______________________________________________
l4-hackers mailing list
[email protected]
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.