Skip to content

Instantly share code, notes, and snippets.

@DrRamm
Created July 20, 2017 15:43
Show Gist options
  • Save DrRamm/c4cc2b87e7a457b561997be35664a69f to your computer and use it in GitHub Desktop.
Save DrRamm/c4cc2b87e7a457b561997be35664a69f to your computer and use it in GitHub Desktop.
3.10
ninja: Entering directory `.'
[ 0% 2/2193] Building Kernel Config
make: Entering directory '/mnt/storage/bliss/xenon/kernel/xiaomi/cancro'
GEN /mnt/storage/bliss/xenon/out/target/product/cancro/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make: Leaving directory '/mnt/storage/bliss/xenon/kernel/xiaomi/cancro'
make: Entering directory '/mnt/storage/bliss/xenon/kernel/xiaomi/cancro'
GEN /mnt/storage/bliss/xenon/out/target/product/cancro/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --savedefconfig=defconfig Kconfig
make: Leaving directory '/mnt/storage/bliss/xenon/kernel/xiaomi/cancro'
[ 0% 3/2193] Building Kernel Headers
make: Entering directory '/mnt/storage/bliss/xenon/kernel/xiaomi/cancro'
GEN /mnt/storage/bliss/xenon/out/target/product/cancro/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make: Leaving directory '/mnt/storage/bliss/xenon/kernel/xiaomi/cancro'
make: Entering directory '/mnt/storage/bliss/xenon/kernel/xiaomi/cancro'
CHK include/generated/uapi/linux/version.h
make: Leaving directory '/mnt/storage/bliss/xenon/kernel/xiaomi/cancro'
[ 0% 4/2193] Building Kernel
FAILED: TARGET_KERNEL_BINARIES
/bin/bash -c "(make -j2 CFLAGS_MODULE=\"-fno-pic\" -C kernel/xiaomi/cancro O=/mnt/storage/bliss/xenon/out/target/product/cancro/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=\"/usr/bin/ccache arm-linux-androideabi-\" zImage ) && (if grep -q 'CONFIG_OF=y' /mnt/storage/bliss/xenon/out/target/product/cancro/obj/KERNEL_OBJ/.config ; then echo \"Building DTBs\" ; make -j2 CFLAGS_MODULE=\"-fno-pic\" -C kernel/xiaomi/cancro O=/mnt/storage/bliss/xenon/out/target/product/cancro/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=\"/usr/bin/ccache arm-linux-androideabi-\" dtbs ; else echo \"DTBs not enabled\" ; fi ) && (if grep -q 'CONFIG_MODULES=y' /mnt/storage/bliss/xenon/out/target/product/cancro/obj/KERNEL_OBJ/.config ; then echo \"Building Kernel Modules\" ; make -j2 CFLAGS_MODULE=\"-fno-pic\" -C kernel/xiaomi/cancro O=/mnt/storage/bliss/xenon/out/target/product/cancro/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=\"/usr/bin/ccache arm-linux-androideabi-\" modules && make -j2 CFLAGS_MODULE=\"-fno-pic\" -C kernel/xiaomi/cancro O=/mnt/storage/bliss/xenon/out/target/product/cancro/obj/KERNEL_OBJ INSTALL_MOD_PATH=../../system ARCH=arm CROSS_COMPILE=\"/usr/bin/ccache arm-linux-androideabi-\" modules_install && mdpath=\`find /mnt/storage/bliss/xenon/out/target/product/cancro/system/lib/modules -type f -name modules.order\`; if [ \"\$mdpath\" != \"\" ];then mpath=\`dirname \$mdpath\`; ko=\`find \$mpath/kernel -type f -name *.ko\`; for i in \$ko; do arm-linux-androideabi-strip --strip-unneeded \$i; mv \$i /mnt/storage/bliss/xenon/out/target/product/cancro/system/lib/modules/; done; fi && mdpath=\`find /mnt/storage/bliss/xenon/out/target/product/cancro/system/lib/modules -type f -name modules.order\`; if [ \"\$mdpath\" != \"\" ];then mpath=\`dirname \$mdpath\`; rm -rf \$mpath; fi ; else echo \"Kernel Modules not enabled\" ; fi )"
make: Entering directory '/mnt/storage/bliss/xenon/kernel/xiaomi/cancro'
GEN /mnt/storage/bliss/xenon/out/target/product/cancro/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
GEN /mnt/storage/bliss/xenon/out/target/product/cancro/obj/KERNEL_OBJ/Makefile
CHK include/generated/uapi/linux/version.h
MKELF scripts/mod/elfconfig.h
CC scripts/mod/devicetable-offsets.s
In file included from /mnt/storage/bliss/xenon/kernel/xiaomi/cancro/include/linux/types.h:5:0,
from /mnt/storage/bliss/xenon/kernel/xiaomi/cancro/include/linux/mod_devicetable.h:11,
from /mnt/storage/bliss/xenon/kernel/xiaomi/cancro/scripts/mod/devicetable-offsets.c:2:
/mnt/storage/bliss/xenon/kernel/xiaomi/cancro/include/uapi/linux/types.h:4:23: fatal error: asm/types.h: No such file or directory
#include <asm/types.h>
^
compilation terminated.
/mnt/storage/bliss/xenon/kernel/xiaomi/cancro/scripts/mod/Makefile:34: recipe for target 'scripts/mod/devicetable-offsets.s' failed
make[3]: *** [scripts/mod/devicetable-offsets.s] Error 1
/mnt/storage/bliss/xenon/kernel/xiaomi/cancro/scripts/Makefile.build:455: recipe for target 'scripts/mod' failed
make[2]: *** [scripts/mod] Error 2
/mnt/storage/bliss/xenon/kernel/xiaomi/cancro/Makefile:521: recipe for target 'scripts' failed
make[1]: *** [scripts] Error 2
make[1]: *** Waiting for unfinished jobs....
Makefile:130: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2
make: Leaving directory '/mnt/storage/bliss/xenon/kernel/xiaomi/cancro'
ninja: build stopped: subcommand failed.
build/core/ninja.mk:163: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
#### make failed to build some targets (39 seconds) ####
bliss@bliss:~/xenon$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment