On Saturday, December 29, 2018 at 10:57:50 PM UTC+5:30, giulio fini wrote: > > hi, i have a problem building android. > after i write "repo sync" and the system have made all the INCLUDE steps, > i receve this error > > [ 9% 8549/93347] bc: libclcore.bc <= > frameworks/rs/driver/runtime/rs_allocation.c > FAILED: > out/target/product/generic/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_allocation.bc > /bin/bash -c "PWD=/proc/self/cwd > prebuilts/clang/host/linux-x86/clang-3289846/bin/clang > -Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD > -DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target > renderscript32-linux-androideabi -fsigned-char -Wno-deprecated -Werror > -Werror -Wall -Wextra -Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS -x > renderscript frameworks/rs/driver/runtime/rs_allocation.c -o > out/target/product/generic/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_allocation.bc" > prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while > loading shared libraries: libncurses.so.5: cannot open shared object file: > No such file or directory > [ 9% 8550/93347] bc: libclcore.bc <= > frameworks/rs/driver/runtime/rs_core.c > FAILED: > out/target/product/generic/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_core.bc > /bin/bash -c "PWD=/proc/self/cwd > prebuilts/clang/host/linux-x86/clang-3289846/bin/clang > -Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD > -DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target > renderscript32-linux-androideabi -fsigned-char -Wno-deprecated -Werror > -Werror -Wall -Wextra -Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS -x > renderscript frameworks/rs/driver/runtime/rs_core.c -o > out/target/product/generic/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_core.bc" > prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while > loading shared libraries: libncurses.so.5: cannot open shared object file: > No such file or directory > [ 9% 8551/93347] bc: libclcore.bc <= > frameworks/rs/driver/runtime/rs_element.c > FAILED: > out/target/product/generic/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_element.bc > /bin/bash -c "PWD=/proc/self/cwd > prebuilts/clang/host/linux-x86/clang-3289846/bin/clang > -Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD > -DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target > renderscript32-linux-androideabi -fsigned-char -Wno-deprecated -Werror > -Werror -Wall -Wextra -Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS -x > renderscript frameworks/rs/driver/runtime/rs_element.c -o > out/target/product/generic/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_element.bc" > prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while > loading shared libraries: libncurses.so.5: cannot open shared object file: > No such file or directory > [ 9% 8552/93347] bc: libclcore.bc <= > frameworks/rs/driver/runtime/rs_mesh.c > FAILED: > out/target/product/generic/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_mesh.bc > /bin/bash -c "PWD=/proc/self/cwd > prebuilts/clang/host/linux-x86/clang-3289846/bin/clang > -Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD > -DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target > renderscript32-linux-androideabi -fsigned-char -Wno-deprecated -Werror > -Werror -Wall -Wextra -Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS -x > renderscript frameworks/rs/driver/runtime/rs_mesh.c -o > out/target/product/generic/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_mesh.bc" > prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while > loading shared libraries: libncurses.so.5: cannot open shared object file: > No such file or directory > [ 9% 8553/93347] bc: libclcore.bc <= > frameworks/rs/driver/runtime/rs_f16_math.c > FAILED: > out/target/product/generic/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_f16_math.bc > /bin/bash -c "PWD=/proc/self/cwd > prebuilts/clang/host/linux-x86/clang-3289846/bin/clang > -Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD > -DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target > renderscript32-linux-androideabi -fsigned-char -Wno-deprecated -Werror > -Werror -Wall -Wextra -Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS -x > renderscript frameworks/rs/driver/runtime/rs_f16_math.c -o > out/target/product/generic/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_f16_math.bc" > prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while > loading shared libraries: libncurses.so.5: cannot open shared object file: > No such file or directory > [ 9% 8554/93347] bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_cl.c > FAILED: > out/target/product/generic/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_cl.bc > /bin/bash -c "PWD=/proc/self/cwd > prebuilts/clang/host/linux-x86/clang-3289846/bin/clang > -Iframeworks/rs/script_api/include -Iexternal/clang/lib/Headers -MD > -DRS_VERSION=24 -std=c99 -c -O3 -fno-builtin -emit-llvm -target > renderscript32-linux-androideabi -fsigned-char -Wno-deprecated -Werror > -Werror -Wall -Wextra -Iframeworks/rs/cpu_ref -DRS_DECLARE_EXPIRED_APIS -x > renderscript frameworks/rs/driver/runtime/rs_cl.c -o > out/target/product/generic/obj/RENDERSCRIPT_BITCODE/libclcore.bc_intermediates/rs_cl.bc" > prebuilts/clang/host/linux-x86/clang-3289846/bin/clang.real: error while > loading shared libraries: libncurses.so.5: cannot open shared object file: > No such file or directory > 12:49:03 ninja failed with: exit status 1 > make: *** [build/make/core/main.mk:21: run_soong_ui] Error 1 > > Looks like it needs ncurses dev library. Please install both ncurses and ncurses development library.
-Gautam. -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
