I am compiling android source code. The commands were
aosp_hammerhead-userdebug
export OUT_DIR_COMMON_BASE=/media/entertainment/out
make -j4 otapackage
during the build process, after some time an error occurs:
target Symbolic: libz (/media/entertainment/out/androidworkingDIR/target/product/hammerhead/symbols/system/lib/libz.so)
/bin/bash: /media/entertainment/out/androidworkingDIR/host/linux-x86/bin/acp: Permission denied
make: *** [/media/entertainment/out/androidworkingDIR/target/product/hammerhead/symbols/system/lib/libz.so] Error 126
make: *** Waiting for unfinished jobs....
target StaticLib: libc (/media/entertainment/out/androidworkingDIR/target/product/hammerhead/obj/STATIC_LIBRARIES/libc_intermediates/libc.a)
For your information:
I have my normal user access(Read/write) in /media/entertainment/
I am using Ubuntu 12.04 64 bit
Can anybody please help me out of this?