I installed the following dependency.
```
sudo apt-get install git ccache automake lzop bison gperf build-essential 
zip curl zlib1g-dev zlib1g-dev:i386 g++-multilib python-networkx 
libxml2-utils bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev squashfs-tools 
pngcrush schedtool dpkg-dev liblz4-tool make optipng maven
```

But there is still error when I
 
make -j4

```
Import includes file: 
out/host/linux-x86/obj/STATIC_LIBRARIES/libfdlibm_intermediates/import_includes
Export includes file: libcore/Android.mk -- 
out/host/linux-x86/obj/SHARED_LIBRARIES/libjavacore_intermediates/export_includes
Notice file: libcore/NOTICE -- 
out/host/linux-x86/obj/NOTICE_FILES/src//lib64/libjavacore.so.txt
Export includes file: external/conscrypt/Android.mk -- 
out/host/linux-x86/obj/SHARED_LIBRARIES/libjavacrypto_intermediates/export_includes
Notice file: external/conscrypt/NOTICE -- 
out/host/linux-x86/obj/NOTICE_FILES/src//lib64/libjavacrypto.so.txt
Export includes file: external/sqlite/android/Android.mk -- 
out/host/linux-x86/obj/STATIC_LIBRARIES/libsqlite3_android_intermediates/export_includes
Import includes file: 
out/host/linux-x86/obj/STATIC_LIBRARIES/libsqlite3_android_intermediates/import_includes
Export includes file: external/sqlite/dist/Android.mk -- 
out/host/linux-x86/obj/SHARED_LIBRARIES/libsqlite_intermediates/export_includes
Notice file: external/sqlite/dist/NOTICE -- 
out/host/linux-x86/obj/NOTICE_FILES/src//lib64/libsqlite.so.txt
Export includes file: external/javasqlite/Android.mk -- 
out/host/linux-x86/obj/SHARED_LIBRARIES/libsqlite_jni_intermediates/export_includes
Notice file: external/javasqlite/NOTICE -- 
out/host/linux-x86/obj/NOTICE_FILES/src//lib64/libsqlite_jni.so.txt
make: *** No rule to make target 
'out/target/product/hammerhead/obj/lib/crtbegin_dynamic.o', needed by 
'out/target/product/hammerhead/obj/EXECUTABLES/backtrace_test_intermediates/LINKED/backtrace_test32'.
 
 Stop.
make: *** Waiting for unfinished jobs....
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning

#### make failed to build some targets (04:09 (mm:ss)) ####
```


I build on android-6.0.1_r72.

I think the error is below:

    make: *** No rule to make target 
'out/target/product/hammerhead/obj/lib/crtbegin_dynamic.o', needed by 
'out/target/product/hammerhead/obj/EXECUTABLES/backtrace_test_intermediates/LINKED/backtrace_test32'.
 
 Stop.

Does anyone encounter such situation?
Any help will be appreciated.

-- 
-- 
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.

Reply via email to