[AOSP 7] Compiling - extraneaous 'endif' - ninja compiler - General Questions and Answers

Hello guys and developers!
I have a problem with compiling AOSP 7 for a new device. The source code from the device is for AOSP so that should be no problem, but the ninja compiler says that about the mediatek/common/device.mk:
Running kati to generate build-full_k15tb_a.ninja...
out/build-full_k15tb_a.ninja is missing, regenerating...
device/mediatek/common/device.mk:404: *** extraneous `endif'.
build/core/ninja.mk:163: the rule for target „out/build-full_k15tb_a.ninja“ failed
make: *** [out/build-full_k15tb_a.ninja] Error 1
Click to expand...
Click to collapse
I know that these endif have to be at another place in this file but I don't know where.
The makefile: device.mk
I hope that anybody can help me.

Related

Problem building from AOSP for Motorola Milestone

Hello everyone im trying to build AOSP rom for motorola milestone! Ive taken the vendor and device files from github.com/nadlabak
The problem comes when i do make after build and lunch! The error which comes is this-
make: *** [out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Error 1
make: *** Deleting file `out/target/common/obj/APPS/framework-res_intermediates/package-export.apk
Someone please help me out!
Thanks in advance!

wpa-supplicant while building for Huawei U8818

Hi techies,
I had done with Android ICS source compilation.It's working fine with emulator.
But when I start a build for real device Huawei Ascend G300 U8818.I get the following error.
make: *** No rule to make target `out/target/product/u8818/obj/STATIC_LIBRARIES/lib_driver_cmd_wext_intermediates/lib_driver_cmd_wext.a', needed by `out/target/product/u8818/obj/EXECUTABLES/wpa_supplicant_intermediates/LINKED/wpa_supplicant'. Stop.
Please help me I am googling for 15 days but no clue,guidance.
Thank You.
AshwinBhanushali said:
Hi techies,
I had done with Android ICS source compilation.It's working fine with emulator.
But when I start a build for real device Huawei Ascend G300 U8818.I get the following error.
make: *** No rule to make target `out/target/product/u8818/obj/STATIC_LIBRARIES/lib_driver_cmd_wext_intermediates/lib_driver_cmd_wext.a', needed by `out/target/product/u8818/obj/EXECUTABLES/wpa_supplicant_intermediates/LINKED/wpa_supplicant'. Stop.
Please help me I am googling for 15 days but no clue,guidance.
Thank You.
Click to expand...
Click to collapse
You're missing the driver-specific support libraries for the v8 wpa_supplicant. You can workaround the issue by using the v6 supplicant instead.
Tried with v6 wpa-supplicant but giving the same error
psyke83 said:
You're missing the driver-specific support libraries for the v8 wpa_supplicant. You can workaround the issue by using the v6 supplicant instead.
Click to expand...
Click to collapse
Tried with your suggestion but again getting the same error.
Anything else we can try....

CyanogenMod 7 source not compling

Hey all,
I have downloaded the cm7 source code from github and trying to compile it.I am getting the following error can anyone guide me.
Code:
build/core/product_config.mk:196: *** _nic.PRODUCTS.[[vendor/cyanogen/products/cyanogen_sunfire.mk]]: "vendor/cyanogen/products/cyanogen_sunfire.mk" does not exist. Stop.

[Completed] ROM build from source error

Hi there,
I have an error when compiling Android Open Source Bam(AOSB) for Xperia SP(huashan)
target thumb C++: libqdutils <= hardware/qcom/display-caf/libqdutils/profiler.cpp hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3794:28: error: 'AUDIO_FORMAT_FLAC' was not declared in this scope build/core/binary.mk:432: recipe for target '/home/AndroidNoob69/android/aosb/out/target/product/huashan/obj/STATIC_LIBRARIES/libaudiopolicy_legacy_intermediates/AudioPolicyManagerBase.o' failed make: *** [/home/AndroidNoob69/android/aosb/out/target/product/huashan/obj/STATIC_LIBRARIES/libaudiopolicy_legacy_intermediates/AudioPolicyManagerBase.o] Error 1 make: *** Waiting for unfinished jobs....
I have no idea what causes this. Please advise what I need to do to fix this.
Thanks.
Sent my Paranoid Xperia P
Hi!
2 things.....1, this is your 3rd thread on this subject. XDA assist is not a help desk, we're simply here to give direction to new members. You are not new.
And 2, if Bam is what I think it is....that developer and ROM has been banned from XDA. No threads are allowed on the subject and no ROM postings of it, or ROMs based on it. If your talking about something different... Mt apologies.... But point number one still stands.
Thread closed.

compiling pac 5.1 from source (framework/org.cyanogenmod.platform-res.apk needed eror

hello there im compiling pac 5.1 from source im almost done i guess after compiling for about 1 hour i stumbled upon this error
Code:
make: *** No rule to make target '/home/bassface/pac-rom/out/target/product/a6000/system/framework/org.cyanogenmod.platform-res.apk', needed by '/home/bassface/pac-rom/out/target/product/a6000/system/framework/org.cyanogenmod.platform.jar'. Stop.
but i couldnt find those files anywhere in the source to just manuall add them there nor did i find such files in already built roms i have (cm 11 pac 4.4.4 )
any help would be highly appreciated.
thankyou.

Categories

Resources