Error when in compiling lunch menu - Samsung Epic 4G Touch

Code:
Which would you like? [full-eng] 9
ls: cannot access device/*/D710/cm.mk: No such file or directory
build/core/product_config.mk:234: *** Cannot locate config makefile for product "cm_D710". Stop.
Device D710 not found. Attempting to retrieve device repository from CyanogenMod Github ([URL]http://github.com/CyanogenMod[/URL]).
Repository for D710 not found in the CyanogenMod Github repository list. If this is in error, you may need to manually add it to your local_manifests/roomservice.xml.
ls: cannot access device/*/D710/cm.mk: No such file or directory
build/core/product_config.mk:234: *** Cannot locate config makefile for product "cm_D710". Stop.
** Don't have a product spec for: 'cm_D710'
** Do you have the right repo manifest?

Re: [Q]Proprietary Drivers for compiling?
I suggest installing CM10.1 then with ADB added to your path, run the extract script.
Sent from my SPH-D710 using xda premium

Deleted

Im getting a new error when im in lunch menu.
Code:
Which would you like? [full-eng] 9
ls: cannot access device/*/D710/cm.mk: No such file or directory
build/core/product_config.mk:234: *** Cannot locate config makefile for product "cm_D710". Stop.
Device D710 not found. Attempting to retrieve device repository from CyanogenMod Github ([URL]http://github.com/CyanogenMod[/URL]).
Repository for D710 not found in the CyanogenMod Github repository list. If this is in error, you may need to manually add it to your local_manifests/roomservice.xml.
ls: cannot access device/*/D710/cm.mk: No such file or directory
build/core/product_config.mk:234: *** Cannot locate config makefile for product "cm_D710". Stop.
** Don't have a product spec for: 'cm_D710'
** Do you have the right repo manifest?

Your best bet is to jump on irc.
webchat.freenode.net
irc.freenode.net:6667
Then join #jb-dev-e4gt
Sent from my SPH-D710 using xda premium

EDIT: The compile was so far but then i got this error:
Code:
cannot create /home/austin/beanstalk/out/target/product/d710/obj/KERNEL_OBJ/usr/include/linux/atm_nicstar.h: Read-only file system
/home/austin/beanstalk/out/target/product/d710/obj/KERNEL_OBJ/usr/include/linux/atm_nicstar.h.tmp: Read-only file system
make[4]: *** [/home/austin/beanstalk/out/target/product/d710/obj/KERNEL_OBJ/usr/include/linux/.install] Error 30
make[3]: *** [linux] Error 2
make[2]: *** [headers_install] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/austin/beanstalk/kernel/samsung/smdk4210'
make: *** [/home/austin/beanstalk/out/target/product/d710/obj/KERNEL_OBJ/usr] Error 2
make: *** Waiting for unfinished jobs....
collect2: ld terminated with signal 6 [Aborted], core dumped
make: *** [/home/austin/beanstalk/out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs] Error 1
make: *** Deleting file `/home/austin/beanstalk/out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs'
make: unlink: /home/austin/beanstalk/out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs: Read-only file system

Related

[Q] Help with Compiling my First CM ROM

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?

Recovery too large HELP

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...

CM 12 build error

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

Need help building Paranoid

I'm trying to build paranoid android from source, using a CM12.1 device tree. Here's the link:https://github.com/valascus/android_device_elephone_p8000
I've already tried to modify some things... no sucess.
It gives me this error when i try to lunch:
Code:
lunch cm_p8000-user
build/core/product_config.mk:233: *** Can not locate config makefile for product "cm_p8000". Stop.
WARNING: Trying to fetch a device that's already there
WARNING: device/elephone/p8000/pa.dependencies file not found
build/core/product_config.mk:233: *** Can not locate config makefile for product "cm_p8000". Stop.
** Don't have a product spec for: 'cm_p8000'
And this one when i try to build directly:
Code:
build/core/envsetup.mk:158: *** No config file found for TARGET_DEVICE . Stop.
WARNING: Trying to fetch a device that's already there
WARNING: device/elephone/p8000/pa.dependencies file not found
build/core/envsetup.mk:158: *** No config file found for TARGET_DEVICE . Stop.
** Don't have a product spec for: 'pa_p8000'
** Do you have the right repo manifest?
Starting compilation
build/core/product_config.mk:252: *** No matches for product "full". Stop.
Any clue?
Someone???
Still nobody.... Jesus...
It appears you're trying to build a cm build rather than a PA build, but I have to ask, why the hell are you trying to build with code that's well over a year old and unfinished?

[fix] Nexus 5x Kernel 3.10.x CONFIG_MODULES Makefile:822: recipe for target 'driver'

Hello guys,
this my first post and I want to share how to fix the error when compiling a kernel 3.10.x with the CONFIG_MODULES enabled
the error that comes up is something like
...
LD drivers/staging/qcacld-2.0/wlan.o
LD drivers/staging/qcacld-2.0/built-in.o
LD drivers/staging/built-in.o
Makefile:822: recipe for target 'drivers' failed
make: *** [drivers] Error 2
compiling twice without cleaning you got the entire error
drivers/usb/phy/class-dual-role.c:91:1: error: expected ',' or ';' before 'int'
int dual_role_get_property(struct dual_role_phy_instance *dual_role,
^
scripts/Makefile.build:308: recipe for target 'drivers/usb/phy/class-dual-role.o' failed
make[3]: *** [drivers/usb/phy/class-dual-role.o] Error 1
make[3]: *** Waiting for unfinished jobs....
scripts/Makefile.build:455: recipe for target 'drivers/usb/phy' failed
make[2]: *** [drivers/usb/phy] Error 2
scripts/Makefile.build:455: recipe for target 'drivers/usb' failed
make[1]: *** [drivers/usb] Error 2
make[1]: *** Waiting for unfinished jobs....
Makefile:822: recipe for target 'drivers' failed
make: *** [drivers] Error 2
that is a syntax error, pretty easy to fix:
- open the file drivers/usb/phy/class-dual-role.c within a text editor
- go to line 90
this:
EXPORT_SYMBOL_GPL(dual_role_get_property)
should be
EXPORT_SYMBOL_GPL(dual_role_get_property);
the error was a missing ";" in the end of that line
I hope I have been helpful for the all the developers and compilers who want to enable "the loadable module support"
cheers
thank you
WOW!!! Thank you

Categories

Resources