kernel error

ssrmurthy saka ssrmurthy578 at gmail.com
Thu Jul 4 08:25:01 CEST 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://os.inf.tu-dresden.de/pipermail/l4-hackers/attachments/20190704/512d8181/attachment.html>


More information about the l4-hackers mailing list