[Q] NEW TO PORTING ROMs.."No rule to make target " - General Questions and Answers

I'm trying to porting CM11 to my Huawei U9200. I've forked Shev_t's device and vendor tree. While when I begin my build, something goes wrong like below, could anyone tell me what happened and what should I do?
Code:
make: *** No rule to make target `/home/alexander/android/system/out/target/product/viva/obj/SHARED_LIBRARIES/libbluetooth_intermediates/export_includes', needed by `/home/alexander/android/system/out/target/product/viva/obj/EXECUTABLES/hcidump_intermediates/import_includes'. Stop.

Related

compiling from source issues

hey, I'm trying to build stock android from source using the cyanogen vendors as usual. But when I try to compile I get the error
Code:
make: *** No rule to make target `out/target/product/bravo/kernel', needed by `out/target/product/bravo/boot.img'. Stop.
Obviously the kernel is an issue, but how would i go about fixing it?

[Q] Missing proprietaries while building Beanstalk

Hello. I'm trying to build Beanstalk and thought I had pretty much everything set up, but I get this error while building:
Code:
make: *** No rule to make target `device/samsung/infuse4g/../../../vendor/samsung/infuse4g/proprietary/modem.bin', needed by `/mnt/SSD2/beanstalk/out/target/product/infuse4g/obj/EXECUTABLES/modem.bin_intermediates/modem.bin'. Stop.
I thought running device/samsung/infuse4g/extract-files.sh would have gotten me my vendor/samsung/infuse4g/proprietary/modem.bin, but it's not there. Any ideas?

Makefile error during CM10.1 Build: libmkyaffs2image_intermediates

Hi,
I'm trying to build CM10.1 for huashan : Xperia SP.
I have based my build on tsubasa: Xperia V.
But I'm not able to get past this error
make: * No rule to make target `/home/aniket/android/android/system/out/target/product/huashan/obj/STATIC_LIBRARIES/libmkyaffs2image_intermediates/export_includes', needed by `/home/aniket/android/android/system/out/target/product/huashan/obj/EXECUTABLES/recovery_intermediates/import_includes'. Stop.
I guess it is some kind of makefile issue and a tweak here or there might fix this ...
Any help ?
New error
I donno how I got past that error. But now I have a new error:
make: *** No rule to make target `android/android/android/system/out/target/product/huashan/obj/SHARED_LIBRARIES/libril_intermediates/export_includes', needed by `android/android/system/out/target/product/huashan/obj/EXECUTABLES/rild_intermediates/import_includes'
Any one ?

Android building errors - N5 Nougat

Hello everyone, i've some problems with building Nougat (AOSP) for Nexus 5.
I've modified manifest (that's how it look like) to have everything downloaded but it hangs on this error:
Code:
make: *** No rule to make target 'frameworks/base/services/core/../../../../system/netd/server/binder/android/net/metrics/IDnsEventListener.aidl', needed by '/home/edi194/AOSP/out/target/common/obj/JAVA_LIBRARIES/services.core_intermediates/src/../../../../system/netd/server/binder/android/net/metrics/IDnsEventListener.java'. Stop.
make: *** Waiting for unfinished jobs....
logtags: /home/edi194/AOSP/out/target/common/obj/JAVA_LIBRARIES/services_intermediates/src/core/java/com/android/server/EventLogTags.java <= frameworks/base/services/core/java/com/android/server/EventLogTags.logtags
I've thought that disabling ninja will make any difference but sadly not.
I'll be grateful for help.
If i've posted it in wrong section, please move it to correct
Edit: Yes, there is ThemeIntarfacer on manifest, but i need to have working build to do anything with it

AOSP - error failed to build the custom ROM

'm trying to build AOSP for a supported device (sony Xperia z5) (aosp_mips64-eng) I follow the instruction here: https://forum.xda-developers.com/t/...sp-pie-custom-rom-for-xperia-devices.3921641/ After download the source, Initializing device type for ROM building. I Encounter an error while trying to build the custom ROM:
I there anything i could do? Have I done something wrong? I'm pretty sure i did the previous steps correctly.
============================================
ninja: no work to do.
ninja: no work to do.
No need to regenerate ninja file
No need to regenerate ninja file
ninja: error: 'device/generic/common/nfc/libnfc-nci.conf', needed by 'out/target/product/generic/system/etc/libnfc-nci.conf', missing and no known rule to make it
10:29:40 ninja failed with: exit status 1
build/make/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
helloguys2489574 said:
build AOSP for a supported device (sony Xperia z5) (aosp_mips64-eng)
Click to expand...
Click to collapse
You have to build for your device, not for a mips64 device as you can read in your mentioned instruction:
Code:
source build/envsetup.sh && lunch aosp_[device_model]-userdebug
Please take a closer look into the numerous tutorials available at the internet.
Please don't ask for further assistance if you don't know exactly what you're doing!

Categories

Resources