[Q] Need help compiling a kernel from stock sources - Moto G Q&A, Help & Troubleshooting

Hi all,
I downloaded kernel sources of stock moto g from here, but when I try to get the defconfig, I get this error:
Code:
fs/Kconfig:232: can't open file "fs/f2fs/Kconfig"
make[1]: *** [falcon_defconfig] Error 1
make: *** [falcon_defconfig] Error 2
Any help would be appreciated.

I too faced the same problem....it is because fs/f2fs has been moved to motorola kernel.
Here's the link :- https://github.com/MotorolaMobilityLLC/motorola-kernel
You need to merge this repo with the kernel msm in your repo for the kernel OR if you have previously downloaded -"kernel-msm-MMI-LXB22.46-28" , simply download the kernel from link given above and merge your previous download with the new download.
You will then be able to make the defconfig......ENJOY !!!

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?

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 ?

[Q] Error when building kernel

hello guys, so basicly im trying to build a private build of faux kernel, with the updated f2fs commits (so i can keep using it with f2fs)
however when i try to make it, the build fails with the error:
Code:
init/do_mounts_rd.o: In function `prompt_ramdisk':
/home/antonio/Downloads/Nexus_5-kk_mr2/init/do_mounts_rd.c:22: multiple definition of `tmpfile'
init/do_mounts.o:/home/antonio/Downloads/Nexus_5-kk_mr2/init/do_mounts.c:70: first defined here
init/do_mounts_initrd.o: In function `no_initrd':
/home/antonio/Downloads/Nexus_5-kk_mr2/init/do_mounts_initrd.c:19: multiple definition of `tmpfile'
init/do_mounts.o:/home/antonio/Downloads/Nexus_5-kk_mr2/init/do_mounts.c:70: first defined here
make[1]: *** [init/mounts.o] Error 1
make: *** [init] Error 2
im using linaro arm-cortex_a15-linux-gnueabihf-linaro_4.9.3-2014.11 as a toolchain and my ubuntu is 14.04
EDIT: mods can close or even delete the thread if they want, my mistake was not cherry picking all the commits (forgot one).
Post your source first on git with proper commits to identify issue.
I have similar issues building faux, but I don't have them while building elex.

Need Help Geeting Error While Compiling....?

Well guys i started working on Roms For the galaxysmtd i was compling normaly after an hour i got that error (Luckywise i didnt go to sleep haha)
Code:
make: *** No rule to make target '/home/dos-developers/android/omni/out/target/product/galaxysmtd/obj/SHARED_LIBRARIES/libpac_intermediates/export_includes', needed by '/home/dos-developers/android/omni/out/target/product/galaxysmtd/obj/SHARED_LIBRARIES/libjni_pacprocessor_intermediates/import_includes'. Schluss.
I synced the OmniROM sources freshly ....... Need Help thanks

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

Categories

Resources