• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Building Rom Error

Johnny Quach

Lurker
Mar 27, 2017
1
0
make: Leaving directory '/home/johnnytuan/android/lineage/kernel/zte/draconis'
make: Entering directory '/home/johnnytuan/android/lineage/kernel/zte/draconis'
scripts/kconfig/conf --savedefconfig=defconfig Kconfig
make: Leaving directory '/home/johnnytuan/android/lineage/kernel/zte/draconis'
[ 0% 11/70046] Building Kernel
FAILED: TARGET_KERNEL_BINARIES
/bin/bash -c "(make -j2 -C kernel/zte/draconis O=/home/johnnytuan/android/lineage/out/target/product/draconis/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=\" /prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-\" zImage-dtb ) && (if grep -q '^CONFIG_OF=y' /home/johnnytuan/android/lineage/out/target/product/draconis/obj/KERNEL_OBJ/.config; then echo \"Building DTBs\"; make -j2 -C kernel/zte/draconis O=/home/johnnytuan/android/lineage/out/target/product/draconis/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=\" /prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-\" dtbs; fi ) && (if grep -q '=m' /home/johnnytuan/android/lineage/out/target/product/draconis/obj/KERNEL_OBJ/.config; then echo \"Building Kernel Modules\"; make -j2 -C kernel/zte/draconis O=/home/johnnytuan/android/lineage/out/target/product/draconis/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=\" /prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-\" modules; fi )"
make: Entering directory '/home/johnnytuan/android/lineage/kernel/zte/draconis'
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/linux/version.h
CHK include/generated/utsrelease.h
Using /home/johnnytuan/android/lineage/kernel/zte/draconis as source for kernel
CC scripts/mod/empty.o
HOSTCC scripts/conmakehash
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-gcc: No such file or directory
Is your PATH set correctly?
/home/johnnytuan/android/lineage/kernel/zte/draconis/scripts/Makefile.build:307: recipe for target 'scripts/mod/empty.o' failed
make[3]: *** [scripts/mod/empty.o] Error 2
/home/johnnytuan/android/lineage/kernel/zte/draconis/scripts/Makefile.build:443: recipe for target 'scripts/mod' failed
make[2]: *** [scripts/mod] Error 2
make[2]: *** Waiting for unfinished jobs....
/home/johnnytuan/android/lineage/kernel/zte/draconis/Makefile:510: recipe for target 'scripts' failed
make[1]: *** [scripts] Error 2
Makefile:130: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2
make: Leaving directory '/home/johnnytuan/android/lineage/kernel/zte/draconis'
[ 0% 16/70046] target thumb C++: libv8src <= external/v8/src/profiler/heap-profiler.cc
ninja: build stopped: subcommand failed.
12:55:59 ninja failed with: exit status 1


Can anyone help me out thanks :)
 
Last edited:

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones