Hello All,
I am trying to build cm 10.2 using Pons device tree and Tinys jb43 kernel. Everything builds fine up to building the recovery image then I get this error...----- Making recovery image ------
Copying: /home/lce67/CM10.2/out/target/common/obj/JAVA_LIBRARIES/android-support-v4-ics_intermediates/classes-jarjar.jar
target Symbolic: libutils (/home/lce67/CM10.2/out/target/product/inc/symbols/system/lib/libutils.so)
target Strip: libdvm (/home/lce67/CM10.2/out/target/product/inc/obj/lib/libdvm.so)
/home/lce67/CM10.2/out/target/product/inc/recovery.img maxsize=4595712 blocksize=135168 total=4618240 reserve=270336
error: /home/lce67/CM10.2/out/target/product/inc/recovery.img too large (4618240 > [4866048 - 270336])
make: *** [/home/lce67/CM10.2/out/target/product/inc/recovery.img] Error 1
make: *** Deleting file `/home/lce67/CM10.2/out/target/product/inc/recovery.img'
make: *** Waiting for unfinished jobs....
I have read about changing the recovery size in the boardconfig file but would like more info before changing partition sizes..
lce67 said:
Hello All,
I am trying to build cm 10.2 using Pons device tree and Tinys jb43 kernel. Everything builds fine up to building the recovery image then I get this error...----- Making recovery image ------
Copying: /home/lce67/CM10.2/out/target/common/obj/JAVA_LIBRARIES/android-support-v4-ics_intermediates/classes-jarjar.jar
target Symbolic: libutils (/home/lce67/CM10.2/out/target/product/inc/symbols/system/lib/libutils.so)
target Strip: libdvm (/home/lce67/CM10.2/out/target/product/inc/obj/lib/libdvm.so)
/home/lce67/CM10.2/out/target/product/inc/recovery.img maxsize=4595712 blocksize=135168 total=4618240 reserve=270336
error: /home/lce67/CM10.2/out/target/product/inc/recovery.img too large (4618240 > [4866048 - 270336])
make: *** [/home/lce67/CM10.2/out/target/product/inc/recovery.img] Error 1
make: *** Deleting file `/home/lce67/CM10.2/out/target/product/inc/recovery.img'
make: *** Waiting for unfinished jobs....
I have read about changing the recovery size in the boardconfig file but would like more info before changing partition sizes..
Click to expand...
Click to collapse
OK got it..Changed back to evervolv kernel source... built and runs fine...Tinys kernel built out at 2.3MB evervolv built out 1.9MB just enough to make the build...
Related
I am trying to compile my first CM rom for the m7vzw. I used http://wiki.cyanogenmod.org/w/Build_for_m7vzw as a tutorial.
My build does attempts to compile, but ends with this:
Code:
LZO
arch/arm/boot/compressed/piggy.lzo
/bin/sh: 1: lzop: not found
make[4]: *** [arch/arm/boot/compressed/piggy.lzo] 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/*username*/android/system/kernel/htc/m7'
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished jobs....
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
I have no idea where to start with this. I am new to building Roms and want to understand how I should go from here.
Thanks in Advance.
IamIronMan said:
I am trying to compile my first CM rom for the m7vzw. I used http://wiki.cyanogenmod.org/w/Build_for_m7vzw as a tutorial.
My build does attempts to compile, but ends with this:
Code:
LZO
arch/arm/boot/compressed/piggy.lzo
/bin/sh: 1: lzop: not found
make[4]: *** [arch/arm/boot/compressed/piggy.lzo] 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/*username*/android/system/kernel/htc/m7'
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished jobs....
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
I have no idea where to start with this. I am new to building Roms and want to understand how I should go from here.
Thanks in Advance.
Click to expand...
Click to collapse
I have only built kernels, but it seems you may want to try another compression type instead of lzo.
How should I go about doing that? I only have had a few tutorials. I have not been able to compile CM or PAC. I have moved my build setup to my desktop and am going to start from scratch.
I will be using the instructions from these two tutorials:
http://wiki.cyanogenmod.org/w/Build_for_m7vzw#Prepare_the_device-specific_code
http://forum.xda-developers.com/showthread.php?t=2223690
If anyone has any suggestions or tips let me know.
You need to install lzop (sudo apt-get install lzop) that should help you surpass the error.
IamIronMan said:
Here is the end snippet of my latest attempt at building CM-10.2 for m7vzw. I have no idea what I am doing wrong.
Code:
target Prebuilt: DroidSansArmenian.ttf (/home/ironman/android/cm-10.2/out/target/product/m7vzw/obj/ETC/DroidSansArmenian.ttf_intermediates/DroidSansArmenian.ttf)
target Prebuilt: DroidSansDevanagari-Regular.ttf (/home/ironman/android/cm-10.2/out/target/product/m7vzw/obj/ETC/DroidSansDevanagari-Regular.ttf_intermediates/DroidSansDevanagari-Regular.ttf)
target Prebuilt: DroidSansEthiopic-Regular.ttf (/home/ironman/android/cm-10.2/out/target/product/m7vzw/obj/ETC/DroidSansEthiopic-Regular.ttf_intermediates/DroidSansEthiopic-Regular.ttf)
target Prebuilt: DroidSansFallback.ttf (/home/ironman/android/cm-10.2/out/target/product/m7vzw/obj/ETC/DroidSansFallback.ttf_intermediates/DroidSansFallback.ttf)
make[2]: *** [arch/arm/mach-msm] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/ironman/android/cm-10.2/kernel/htc/m7'
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished jobs....
target Prebuilt: DroidSansTamil-Regular.ttf (/home/ironman/android/cm-10.2/out/target/product/m7vzw/obj/ETC/DroidSansTamil-Regular.ttf_intermediates/DroidSansTamil-Regular.ttf)
EDIT: Turns out it was a java memory error. Did what was recommended below. On second build, got lzop error again. Currently trying to build again with santod040's suggestion above.
http://wiki.cyanogenmod.org/w/Build_for_m7vzw#If_the_build_breaks...
Click to expand...
Click to collapse
EDITx2: I successfully compiled cm-10.2 and installed it on my phone. It works great! Thank you for all your help!
Sorry for double post
So I have been trying to compile a PAC-man Rom. However, everytime I run "./build-pac.sh" It ends with this:
Code:
system_size = (int) 2348809216
tool_extensions = (str) device/htc/m7vzw/../common
userdata_size = (int) 27380416512
using device-specific extensions in device/htc/common
unable to load device-specific module; assuming none
building image from target_files BOOT...
running: mkbootfs -f /tmp/targetfiles-3Vfxa1/META/boot_filesystem_config.txt /tmp/targetfiles-3Vfxa1/BOOT/RAMDISK
running: minigzip
running: mkbootimg --kernel /tmp/targetfiles-3Vfxa1/BOOT/kernel --cmdline console=ttyHSL0,115200,n8 androidboot.hardware=qcom user_debug=31 --base 0x80600000 --pagesize 2048 --ramdisk_offset 0x01400000 --ramdisk /tmp/tmphX9a8v --output /tmp/tmpSA9Ntd
running: openssl pkcs8 -in build/target/product/security/testkey.pk8 -inform DER -nocrypt
running: java -Xmx2048m -jar /home/ironman/android/PAC-MAN/out/host/linux-x86/framework/signapk.jar -w build/target/product/security/testkey.x509.pem build/target/product/security/testkey.pk8 /tmp/tmp6VDlXw /home/ironman/android/PAC-MAN/out/target/product/m7vzw/pac_m7vzw-ota-bbf04d9f7d.zip
done.
Package Complete: /home/ironman/android/PAC-MAN/out/target/product/m7vzw/cm-10.2-20131112-UNOFFICIAL-m7vzw.zip
/home/ironman/android/PAC-MAN/out/target/product/m7vzw/pac_m7vzw-ota-eng.ironman.zip doesn't exist!
What is going on? I have tried to look back through and find any errors but were none.
Any ideas?
I get following error when building on Ubuntu 14.04.1 64 bit I got my properity files from https://github.com/TheMuppets/proprietary_vendor_htc
make: *** No rule to make target `/home/cpatrick08/android/system/out/target/product/m8/obj/STATIC_LIBRARIES/libinit_m8_intermediates/libinit_m8.a', needed by `/home/cpatrick08/android/system/out/target/product/m8/obj/EXECUTABLES/init_intermediates/LINKED/init'. Stop.
make: *** Waiting for unfinished jobs....
Import includes file: /home/cpatrick08/android/system/out/target/product/m8/obj/STATIC_LIBRARIES/libext4_utils_static_intermediates/import_includes
CM m12 Build error
cpatrick08 said:
I get following error when building on Ubuntu 14.04.1 64 bit I got my properity files from https://github.com/TheMuppets/proprietary_vendor_htc
make: *** No rule to make target `/home/cpatrick08/android/system/out/target/product/m8/obj/STATIC_LIBRARIES/libinit_m8_intermediates/libinit_m8.a', needed by `/home/cpatrick08/android/system/out/target/product/m8/obj/EXECUTABLES/init_intermediates/LINKED/init'. Stop.
make: *** Waiting for unfinished jobs....
Import includes file: /home/cpatrick08/android/system/out/target/product/m8/obj/STATIC_LIBRARIES/libext4_utils_static_intermediates/import_includes
Click to expand...
Click to collapse
Now when I try to build CM 12 for my HTC One M8 Phone on Ubuntu 14.04.1LTS 64 bit I Get following error message. I got properity files from https://github.com/TheMuppets/proprietary_vendor_htc
make: *** No rule to make target `/home/cpatrick08/android/system/out/target/product/m8/obj/STATIC_LIBRARIES/libinit_m8_intermediates/export_includes', needed by `/home/cpatrick08/android/system/out/target/product/m8/obj/EXECUTABLES/init_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
Export includes file: external/compiler-rt/Android.mk -- /home/cpatrick08/android/system/out/target/product/m8/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/export_includes
touch /home/cpatrick08/android/system/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/policy_parse.hpp
echo '#ifndef 'policy_parse_h > /home/cpatrick08/android/system/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/policy_parse.h
echo '#define 'policy_parse_h >> /home/cpatrick08/android/system/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/policy_parse.h
cat /home/cpatrick08/android/system/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/policy_parse.hpp >> /home/cpatrick08/android/system/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/policy_parse.h
echo '#endif' >> /home/cpatrick08/android/system/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/policy_parse.h
Hello,
When compile the rom occurs such error(sorry for my bad launguage, i'm from Poland)
Code:
deprecated-register]
register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
^~~~~~~~~
/root/CM13/out/host/linux-x86/obj/EXECUTABLES/rsg-generator_support_intermediates/spec.cpp:1462:3: warning: 'register' storage class specifier is deprecated [-Wdeprecated-register]
register char *source =
^~~~~~~~~
19 warnings generated.
Import includes file: /root/CM13/out/target/product/w55n/obj/SHARED_LIBRARIES/libblasV8_intermediates/import_includes
target thumb C++: libF77blasV8 <= external/eigen/blas/single.cpp
target thumb C++: libF77blasV8 <= external/eigen/blas/double.cpp
make: *** [/root/CM13/out/target/product/w55n/obj/STATIC_LIBRARIES/libF77blasV8_intermediates/single.o] Killed
make: *** Waiting for unfinished jobs....
make: *** [/root/CM13/out/target/product/w55n/obj/STATIC_LIBRARIES/libF77blasV8_intermediates/double.o] Killed
make: Leaving directory `/root/CM13'
I make device tree for w55n from device tree w5
Don't know if this is the right place to post this. But I'm trying to build cm12.1 for my tmobile note 4. I'm using a imac running os x 10.11 (el capitan). I'm getting the following error about the macosx-version-min. Has anyone seen this? I've got updates that include 10.10 and 10.11 version is the build/core/combo/HOST_darwin_x86*.mk files. I've also add 10.10 and 10.11 to mac_sdk_versions_supported in build/core/combo/mac_version.mk. Not sure where else to look.
$brunch trltetmo
....
host C: libmincrypt_32 <= system/core/libmincrypt/p256_ec.c
<built-in>:0: error: Unknown value ‘10.11’ of -mmacosx-version-min
<built-in>:0: error: Unknown value ‘10.11’ of -mmacosx-version-min<built-in>:0: error: Unknown value ‘10.11’ of -mmacosx-version-min
<built-in>:0: error: Unknown value ‘10.11’ of -mmacosx-version-min
make: *** [/Volumes/androidtouro/cm121/out/host/darwin-x86/obj32/STATIC_LIBRARIES/libmincrypt_intermediates/dsa_sig.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [/Volumes/androidtouro/cm121/out/host/darwin-x86/obj32/STATIC_LIBRARIES/libmincrypt_intermediates/p256.o] Error 1
make: *** [/Volumes/androidtouro/cm121/out/host/darwin-x86/obj32/EXECUTABLES/mkbootimg_intermediates/mkbootimg.o] Error 1
make: *** [/Volumes/androidtouro/cm121/out/host/darwin-x86/obj32/STATIC_LIBRARIES/libmincrypt_intermediates/p256_ec.o] Error 1
This was output running 'brunch trltetmo'.
Solved this issue by switching to 10.9 mac osx sdk. I also had to add this link:
ln -s /usr/lib/crt1.10.6.o /Developer/SDKs/MacOSX10.9.sdk/usr/lib/crt1.10.6.o.
Finally got my first cm12.1 build completed for tmobile note 4 on a new iMac. It boots and am running it now. Guess I can try again to build cm13 soon. cm13 gave me more problems.
I know there is already a working build posted on some of the russian forums, but.... I really wanted to try a build out myself
can anyone help with his error
Import includes file: /home/x/out/target/product/crackling/obj/EXECUTABLES/wpa_cli_intermediates/import_includes
make: *** No rule to make target '/home/x/out/target/product/crackling/obj/SHARED_LIBRARIES/libwpa_qmi_eap_proxy_intermediates/export_includes', needed by '/home/x/out/target/product/crackling/obj/EXECUTABLES/wpa_supplicant_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
Export includes file: external/wpa_supplicant_8/wpa_supplicant/eap_proxy_qmi.mk -- /home/x/out/target/product/crackling/obj/EXECUTABLES/wpa_cli_intermediates/export_includes
make: Leaving directory '/home/x'
and yeah a build noob so pls be a little gntle :good:
ok ignore... past that error and onto the next
The some error when i try compile Nextbit ether
ake: *** Brak reguł do zrobienia obiektu `/home/ciachoo/CyanogenMod/out/target/product/ether/obj/SHARED_LIBRARIES/libwpa_qmi_eap_proxy_intermediates/export_includes', wymaganego przez `/home/ciachoo/CyanogenMod/out/target/product/ether/obj/EXECUTABLES/wpa_supplicant_intermediates/import_includes'. Stop.
poncz3k said:
The some error when i try compile Nextbit ether
ake: *** Brak reguł do zrobienia obiektu `/home/ciachoo/CyanogenMod/out/target/product/ether/obj/SHARED_LIBRARIES/libwpa_qmi_eap_proxy_intermediates/export_includes', wymaganego przez `/home/ciachoo/CyanogenMod/out/target/product/ether/obj/EXECUTABLES/wpa_supplicant_intermediates/import_includes'. Stop.
Click to expand...
Click to collapse
for me it was the proprietary files..... I was literally being a 'Muppet' by not setting up