I build the AOSP Gingerbread branch 2.3.7 for crespo 4g. I have run the scripts for extracting official binaries from Google Nexus Driver's page, but when i build the AOSP with make i get the following error:
make: *** No rule to make target `vendor/samsung/crespo4g/proprietary/ODB.apk', needed by `out/target/product/crespo4g/obj/APPS/ODB_intermediates/ODB.apk'. Stop.
Related
Hello there,
I am trying to build a custom ROM for Samsung P3113 based on AOKP source on the jb branch. I was able to make "unofficial" release using "brunch aokp_p3113". However, when I attempted to make a distribution release, the "make -j4 dist" failed. The following are the commands I used:
. build/envsetup.sh
lunch aokp_p3113-userdebug
make -j4 dist
I got the following error messages:
device/moto/stingray/recovery/recovery_ui.cpp:22:20: fatal error: device.h: No such file or directory compilation terminated.
make: *** [out/target/product/p3113/obj/STATIC_LIBRARIES/librecovery_ui_stingray_intermediates/recovery_ui.o] Error 1
Can someone help? By the way, I don't need to build OTA package.
Found root cause
Found the root cause -
All the three header files needed by recovery_ui.cpp are missing. To workaround, I excluded the stingray recovery from the make, and the problem solved.
Hopefully, someone in the AOKP team will add the missing files to repository.
Hello. Can not building AOSP 4.2.2 using the repository PolishBlood Project.
Synchronizes with the repository manifests jb-4.2. Then I enter the command:
source build / envsetup.sh
lunch
Choose from the list: PolishBlood_coconut-userdebug
Then I enter - make -j5
After a time, to give an error number 1 after re-entering the make -j5 - mistake number 2 (there is something associated with the kernel firmware). 2 times checked back files from the repository by typing: repo sync, then repo sync-f. Now I try again to rebuild the firmware at the same time clarify the details of errors. While the question:
Instructions on how best to collect the firmware repository PolishBlood Project?
PS: SDK, ADB, JDK stand on their compiler does not complain.
My 4 core CPU, I introduce make -j5
That's what a mistake has issued:
make[4]: *** [arch/arm/boot/compressed/piggy.lz4] Error 1
make[3]: *** [arch/arm/boot/compressed/vmlinux] Error 2
make[2]: *** [zImage] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory`/home/slava/android/kernel/semc/msm7x30'
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished jobs...
Problem was solved by the fact that the set lz4. Now I have another question:
Instructions on how best to compile AOSP 4.1.2 from the repository PolishBloodProject? I synchronized the same repository version of android 4.1.2, but the compiler complains that device_specific_code etc. - from cyanogenmod. More bugs lay out later.
You need to post the exact error using
Code:
tags, then we can try to help you ;)
Okay. I eventually resync all the files to the repository, and compiled with the 4.2 repository PolishBlood. I want to compile the 4.1 repository PolishBlood, but not all files are synchronized from the repository by:
Code:
repo init -u https://github.com/PolishBloodProject/manifest.git -b jb
It feels like not all the files are synchronized with the repository
Question: Is everything I'm doing right, for synchronization and compile AOSP-firmware repository PolishBlood?
I'm downloaded the sources of cm and cloned @artas182x source (kernel, device and vendor) for compile CWM 6.0.4.7, but i have this error:
Code:
make: *** No rule to make target «/home/eric/source_cm11/out/target/product/p760/obj/KERNEL_OBJ/usr», necessary for «/home/eric/source_cm11/out/target/product/p760/obj/STATIC_LIBRARIES/libminui_intermediates/events.o». Stop.
How to fix this error?
Polloos said:
I'm downloaded the sources of cm and cloned @artas182x source (kernel, device and vendor) for compile CWM 6.0.4.7, but i have this error:
Code:
make: *** No rule to make target «/home/eric/source_cm11/out/target/product/p760/obj/KERNEL_OBJ/usr», necessary for «/home/eric/source_cm11/out/target/product/p760/obj/STATIC_LIBRARIES/libminui_intermediates/events.o». Stop.
How to fix this error?
Click to expand...
Click to collapse
I have the error when i build cm11. what should i do?
I am trying to compile the Android L preview branch from AOSP for the Nexus 7 (flo), I get this error:
hardware/qcom/wlan/qcwcn/wpa_supplicant_8_lib/driver_cmd_nl80211.c:65: error: undefined reference to 'os_strncpy'
collect2: error: ld returned 1 exit status
make: *** [out/target/product/flo/obj/EXECUTABLES/hostapd_intermediates/LINKED/hostapd] Error 1
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
I have the preview binaries installed from the official page. I can confirm I have sub-folders in vendor named flo and it contains the binaries.
I have executed make clobber as well before building it again.
Are the preview binaries only for the master branch and not for the l-preview branch?
zettez said:
I am trying to compile the Android L preview branch from AOSP for the Nexus 7 (flo), I get this error:
I have the preview binaries installed from the official page. I can confirm I have sub-folders in vendor named flo and it contains the binaries.
I have executed make clobber as well before building it again.
Are the preview binaries only for the master branch and not for the l-preview branch?
Click to expand...
Click to collapse
As far as I know the sources are not complete and cannot be compiled.
lets_zock said:
As far as I know the sources are not complete and cannot be compiled.
Click to expand...
Click to collapse
Thank you, now I got it confirmed.
I have a ROM that I am trying to build and it is based off of CyanogenMod 12.1, but I am having trouble getting an initial build working. I keep running into the following error.
Code:
No private recovery resources for TARGET_DEVICE hammerhead
make: *** No rule to make target 'out/target/product/hammerhead/kernel', needed by 'out/target/product/hammerhead/boot.img'. Stop.
make: *** Waiting for unfinished jobs....
It seems pretty obvious that it can't figure out how to build the kernel, but I am uncertain how that is hooked into the build system. Is there any good resources I can look at to find out how to build the kernel or integrate it into the build process. So many makefiles and python scripts, I am a little lost
I have the "CyanogenMod/android_kernel_lge_hammerhead" synced to "kernel/lge/hammerhead" but all the resources I have found so far don't provide much insight after that.
Thank you in advance for your help