[Android] Roybabu:
[ 50% 1/2] glob device/*/*/Android.bp
[ 0% 16/3149] target Executable: rild (/home/roybabu/los/out/target/product/harpia/obj/EXECUTABLES/rild_intermediates/LINKED/rild)
FAILED: /home/roybabu/los/out/target/product/harpia/obj/EXECUTABLES/rild_intermediates/LINKED/rild
/bin/bash -c "prebuilts/clang/host/linux-x86/clang-3859424/bin/clang++ -pie -nostdlib -Bdynamic -Wl,-dynamic-linker,/system/bin/linker -Wl,--gc-sections -Wl,-z,nocopyreloc -Wl,-rpath-link=/home/roybabu/los/out/target/product/harpia/obj/lib /home/roybabu/los/out/target/product/harpia/obj/lib/crtbegin_dynamic.o /home/roybabu/los/out/target/product/harpia/obj/EXECUTABLES/rild_intermediates/rild.o -Wl,--whole-archive /home/roybabu/los/out/target/product/harpia/obj/STATIC_LIBRARIES/librilutils_static_intermediates/librilutils_static.a -Wl,--no-whole-archive /home/roybabu/los/out/target/product/harpia/obj/STATIC_LIBRARIES/libunwind_llvm_intermediates/libunwind_llvm.a /home/roybabu/los/out/target/product/harpia/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/libcompiler_rt-extras.a /home/roybabu/los/out/target/product/harpia/obj/STATIC_LIBRARIES/libatomic_intermediates/libatomic.a /home/roybabu/los/out/target/product/harpia/obj/STATIC_LIBRARIES/libgcc_intermediates/libgcc.a -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--build-id=md5 -Wl,--warn-shared-textrel -Wl,--fatal-warnings -Wl,--icf=safe -Wl,--hash-style=gnu -Wl,--no-undefined-version -Wl,--no-fix-cortex-a8 -target arm-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin -Wl,--exclude-libs,libunwind_llvm.a -Wl,--no-undefined /home/roybabu/los/out/target/product/harpia/obj/lib/libcutils.so /home/roybabu/los/out/target/product/harpia/obj/lib/libdl.so /home/roybabu/los/out/target/product/harpia/obj/lib/liblog.so /home/roybabu/los/out/target/product/harpia/obj/lib/libril.so /home/roybabu/los/out/target/product/harpia/obj/lib/libc++.so /home/roybabu/los/out/target/product/harpia/obj/lib/libdl.so /home/roybabu/los/out/target/product/harpia/obj/lib/libc.so /home/roybabu/los/out/target/product/harpia/obj/lib/libm.so -o /home/roybabu/los/out/target/product/harpia/obj/EXECUTABLES/rild_intermediates/LINKED/rild /home/roybabu/los/out/target/product/harpia/obj/lib/crtend_android.o"
hardware/ril/rild/rild.c:153: error: undefined reference to 'RIL_setServiceName'
hardware/ril/rild/rild.c:229: error: undefined reference to 'rilc_thread_pool'
hardware/ril/rild/rild.c:180: error: undefined reference to 'ril_service_name'
hardware/ril/rild/rild.c:180: error: undefined reference to 'ril_service_name_base'
clang.real: error: linker command failed with exit code 1 (use -v to see invocation)
[ 0% 20/3149] Ensuring Jack server is installed and started
Jack server already installed in "/home/roybabu/.jack-server"
Server is already running
[ 0% 23/3149] Building Kernel Config
make: Entering directory '/home/roybabu/los/kernel/motorola/msm8916'
GEN /home/roybabu/los/out/target/product/harpia/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make: Leaving directory '/home/roybabu/los/kernel/motorola/msm8916'
make: Entering directory '/home/roybabu/los/kernel/motorola/msm8916'
GEN /home/roybabu/los/out/target/product/harpia/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --savedefconfig=defconfig Kconfig
make: Leaving directory '/home/roybabu/los/kernel/motorola/msm8916'
ninja: build stopped: subcommand failed.
15:23:02 ninja failed with: exit status 1
make: *** [build/core/main.mk:21: run_soong_ui] Error 1
make: Leaving directory '/home/roybabu/los'

#### make failed to build some targets (03:06 (mm:ss)) ####

root@workstation:~/los#

any one any idea about this error