You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use this command to compile:
make android-arm CROSS_COMPILE=arm-buildroot-linux-gnueabi- KDIR=/home/dongzai/suterusu/linux-4.1.27/
I got the following error
make ARCH=arm EXTRA_CFLAGS="-D_CONFIG_ARM_ -fno-pic " -C /home/dongzai/suterusu/linux-4.1.27/ M=/home/dongzai/suterusu/suterusu-master modules
make[1]: Entering directory '/home/dongzai/suterusu/linux-4.1.27'
CC [M] /home/dongzai/suterusu/suterusu-master/main.o
In file included from include/asm-generic/int-ll64.h:10:0,
from ./arch/arm/include/asm/types.h:4,
from include/uapi/linux/types.h:4,
from include/linux/types.h:5,
from include/linux/list.h:4,
from include/linux/module.h:9,
from /home/dongzai/suterusu/suterusu-master/common.h:1,
from /home/dongzai/suterusu/suterusu-master/main.c:1:
include/uapi/asm-generic/int-ll64.h:11:29: fatal error: asm/bitsperlong.h: No such file or directory
compilation terminated.
scripts/Makefile.build:258: recipe for target '/home/dongzai/suterusu/suterusu-master/main.o' failed
make[2]: *** [/home/dongzai/suterusu/suterusu-master/main.o] Error 1
Makefile:1385: recipe for target 'module/home/dongzai/suterusu/suterusu-master' failed
make[1]: *** [module/home/dongzai/suterusu/suterusu-master] Error 2
make[1]: Leaving directory '/home/dongzai/suterusu/linux-4.1.27'
Makefile:74: recipe for target 'android-arm' failed
make: *** [android-arm] Error 2
I use this command to compile:
make android-arm CROSS_COMPILE=arm-buildroot-linux-gnueabi- KDIR=/home/dongzai/suterusu/linux-4.1.27/
I got the following error
make ARCH=arm EXTRA_CFLAGS="-D_CONFIG_ARM_ -fno-pic " -C /home/dongzai/suterusu/linux-4.1.27/ M=/home/dongzai/suterusu/suterusu-master modules
make[1]: Entering directory '/home/dongzai/suterusu/linux-4.1.27'
CC [M] /home/dongzai/suterusu/suterusu-master/main.o
In file included from include/asm-generic/int-ll64.h:10:0,
from ./arch/arm/include/asm/types.h:4,
from include/uapi/linux/types.h:4,
from include/linux/types.h:5,
from include/linux/list.h:4,
from include/linux/module.h:9,
from /home/dongzai/suterusu/suterusu-master/common.h:1,
from /home/dongzai/suterusu/suterusu-master/main.c:1:
include/uapi/asm-generic/int-ll64.h:11:29: fatal error: asm/bitsperlong.h: No such file or directory
compilation terminated.
scripts/Makefile.build:258: recipe for target '/home/dongzai/suterusu/suterusu-master/main.o' failed
make[2]: *** [/home/dongzai/suterusu/suterusu-master/main.o] Error 1
Makefile:1385: recipe for target 'module/home/dongzai/suterusu/suterusu-master' failed
make[1]: *** [module/home/dongzai/suterusu/suterusu-master] Error 2
make[1]: Leaving directory '/home/dongzai/suterusu/linux-4.1.27'
Makefile:74: recipe for target 'android-arm' failed
make: *** [android-arm] Error 2
Originally posted by @Mrdongzai in #12 (comment)
The text was updated successfully, but these errors were encountered: