Getting error " acp: missing destination file "

857 views
Skip to first unread message

al-kbeer khales

unread,
Aug 31, 2015, 8:45:40 PM8/31/15
to android-porting
Hi all ,
when i try to compile android i get this message error : " acp: missing destination file "
أدخل الرمز هنا.Copying: /home/hesham-1/Source/out/target/product/generic/obj/NOTICE_FILES/src/kernel.txt
Install: /home/hesham-1/Source/out/host/linux-x86/bin/minigzip
Install: /home/hesham-1/Source/out/host/linux-x86/bin/mkbootimg
Install: /home/hesham-1/Source/out/host/linux-x86/bin/mkbootfs
Install: /home/hesham-1/Source/out/host/linux-x86/framework/dumpkey.jar
host
Prebuilt: mkuserimg.sh (/home/hesham-1/Source/out/host/linux-x86/obj/EXECUTABLES/mkuserimg.sh_intermediates/mkuserimg.sh)
Install: /home/hesham-1/Source/out/host/linux-x86/bin/simg2img
Install: /home/hesham-1/Source/out/host/linux-x86/lib/libext2_uuid_host.so
host
SharedLib: libext2fs_host (/home/hesham-1/Source/out/host/linux-x86/obj/lib/libext2fs_host.so)
Install: /home/hesham-1/Source/out/host/linux-x86/lib/libext2_com_err_host.so
Install: /home/hesham-1/Source/out/host/linux-x86/lib/libext2_e2p_host.so
Install: /home/hesham-1/Source/out/host/linux-x86/bin/imgdiff
Install: /home/hesham-1/Source/out/host/linux-x86/bin/bsdiff
Install: /home/hesham-1/Source/out/host/linux-x86/bin/validatekeymaps
Install: /home/hesham-1/Source/out/host/linux-x86/framework/antlr-runtime.jar
Install: /home/hesham-1/Source/out/host/linux-x86/framework/guavalib.jar
Copying: /home/hesham-1/Source/out/target/common/obj/JAVA_LIBRARIES/core_intermediates/classes-jarjar.jar
host
Prebuilt: jarjar (/home/hesham-1/Source/out/host/common/obj/JAVA_LIBRARIES/jarjar_intermediates/javalib.jar)
Install: /home/hesham-1/Source/out/host/linux-x86/bin/aidl
Install: /home/hesham-1/Source/out/host/linux-x86/bin/aapt
target
Prebuilt:  (/home/hesham-1/Source/out/target/product/generic/system/bin/monkey)
target
Prebuilt:  (/home/hesham-1/Source/out/target/product/generic/system/usr/share/bmd/RFFspeed_501.bmd)
target
Prebuilt:  (/home/hesham-1/Source/out/target/product/generic/system/usr/share/bmd/RFFstd_501.bmd)
target
Prebuilt:  (/home/hesham-1/Source/out/target/product/generic/system/bin/bmgr)
target
Prebuilt:  (/home/hesham-1/Source/out/target/product/generic/system/bin/ime)
target
Prebuilt:  (/home/hesham-1/Source/out/target/product/generic/system/bin/input)
target
Prebuilt:  (/home/hesham-1/Source/out/target/product/generic/system/bin/pm)
target
Prebuilt:  (/home/hesham-1/Source/out/target/product/generic/system/bin/svc)
target
Prebuilt:  (/home/hesham-1/Source/out/target/product/generic/kernel)
acp
: missing destination file
make
: *** [/home/hesham-1/Source/out/target/product/generic/kernel] Error 2
make
: *** Waiting for unfinished jobs....
..

what should i do ?
Thanks
 

Andrew Esh

unread,
Sep 1, 2015, 3:28:25 PM9/1/15
to android-porting
Perhaps you didn't build a kernel, so the $OUT/kernel directory does not exist? It seems like the build target should create it, though. Try "mkdir $OUT/kernel" and see if the build completes after that. Look in $OUT/kernel to see what got put in there.

Sahil Soni

unread,
Feb 3, 2017, 10:34:48 AM2/3/17
to android-porting
I have a similar problem, Please look at this:

target Prebuilt:  (/home/sscsps/android/system/out/target/product/x500/kernel)
host SharedLib: liblog (/home/sscsps/android/system/out/host/linux-x86/obj/lib/liblog.so)
acp: missing destination file
build/core/tasks/kernel.mk:361: recipe for target '/home/sscsps/android/system/out/target/product/x500/kernel' failed
make: *** [/home/sscsps/android/system/out/target/product/x500/kernel] Error 2
make: *** Waiting for unfinished jobs....


the "liblog.so" file is present there, but the out/target/product/x500/kernel is not there, I am now building after creating a folder there.I'll update this when it completes or gives me an error.

What else could cause this issue?
Reply all
Reply to author
Forward
0 new messages