Help build CM12.1 for SM-G350E - Samsung Galaxy Star

I successfully initialized CM12.1 git, setted up device folder, but when I type "brunch higgs2g", I got a lot of errors:
Code:
[email protected]:~/Desktop/cm12.1$ brunch higgs2g
including vendor/cm/vendorsetup.sh
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
Trying dependencies-only mode on a non-existing device tree?
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1.1
CM_VERSION=12.1-20160519-UNOFFICIAL-higgs2g
TARGET_PRODUCT=cm_higgs2g
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a7
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.2.0-16-generic-i686-with-Ubuntu-15.10-wily
HOST_BUILD_TYPE=release
BUILD_ID=LMY49J
OUT_DIR=/home/hicham03/Desktop/cm12.1/out
============================================
make: Entering directory '/home/hicham03/Desktop/cm12.1'
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-gcc: cannot execute binary file: Exec format error
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1.1
CM_VERSION=12.1-20160519-UNOFFICIAL-higgs2g
TARGET_PRODUCT=cm_higgs2g
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a7
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.2.0-16-generic-i686-with-Ubuntu-15.10-wily
HOST_BUILD_TYPE=release
BUILD_ID=LMY49J
OUT_DIR=/home/hicham03/Desktop/cm12.1/out
============================================
build/core/binary.mk:745: target '/home/hicham03/Desktop/cm12.1/out/target/product/higgs2g/obj/STATIC_LIBRARIES/libc_bionic_intermediates/arch-arm/bionic/memcmp.o' given more than once in the same rule
"ebtables is disabled on this build"
find: `dummy': No such file or directory
find: `../../../../../../external/hamcrest/src': No such file or directory
find: `../../../../../../external/junit/src/org': No such file or directory
find: `../../../../../../external/hamcrest/src': No such file or directory
PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
No private recovery resources for TARGET_DEVICE higgs2g
build/core/tasks/kernel.mk:333: warning: overriding recipe for target '/home/hicham03/Desktop/cm12.1/out/target/product/higgs2g/kernel'
build/core/Makefile:46: warning: ignoring old recipe for target '/home/hicham03/Desktop/cm12.1/out/target/product/higgs2g/kernel'
host C: mkbootimg <= system/core/mkbootimg/mkbootimg.c
host C: libmincrypt <= system/core/libmincrypt/dsa_sig.c
/bin/bash: prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/bin/x86_64-linux-gcc: cannot execute binary file: Exec format error
/bin/bash: prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/bin/x86_64-linux-gcc: cannot execute binary file: Exec format error
build/core/binary.mk:699: recipe for target '/home/hicham03/Desktop/cm12.1/out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/mkbootimg.o' failed
make: *** [/home/hicham03/Desktop/cm12.1/out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/mkbootimg.o] Error 126
make: *** Waiting for unfinished jobs....
build/core/binary.mk:699: recipe for target '/home/hicham03/Desktop/cm12.1/out/host/linux-x86/obj/STATIC_LIBRARIES/libmincrypt_intermediates/dsa_sig.o' failed
make: *** [/home/hicham03/Desktop/cm12.1/out/host/linux-x86/obj/STATIC_LIBRARIES/libmincrypt_intermediates/dsa_sig.o] Error 126
make: Leaving directory '/home/hicham03/Desktop/cm12.1'
#### make failed to build some targets (04:03 (mm:ss)) ####
My PC specs are: HP Compaq 6000 Pro SFF (an old PC!), Intel Pentium Dual-Core 2.8GHz, 2GB RAM, Ubuntu 15.10 i686 OS (I can update to 64bit, but I have only 2GB RAM)
Anyone knows what I am doing wrong here?

u have 64 bit linux system ?

Dreamstar said:
u have 64 bit linux system ?
Click to expand...
Click to collapse
No, 32bit Linux system. 'Cause I tried to install Ubuntu x64, but always lags and crashed (2GB RAM only)

install ubuntu 64 bit with 2GB swap partition

Dreamstar said:
install ubuntu 64 bit with 2GB swap partition
Click to expand...
Click to collapse
OK, thanks for your reply

Related

{Q} Errors during CM9 building for unsupported device

Please help. I am encountering following errors during compilation..
Code:
/bin/bash: -c: line 0: unexpected EOF while looking for matching `"'
/bin/bash: -c: line 1: syntax error: unexpected end of file
make: *** [out/target/product/a9plus/obj/SHARED_LIBRARIES/libhardware_legacy_intermediates/power/power.o] Error 1
and
Code:
<command-line>: warning: "REFRESH_RATE" redefined
<command-line>: warning: this is the location of the previous definition
system/core/libpixelflinger/codeflinger/disassem.c:710: warning: initialization from incompatible pointer type
target thumb C: libhardware_legacy <= hardware/libhardware_legacy/power/power.c
/bin/bash: -c: line 0: unexpected EOF while looking for matching `"'
/bin/bash: -c: line 1: syntax error: unexpected end of file
make: *** [out/target/product/a9plus/obj/SHARED_LIBRARIES/libhardware_legacy_intermediates/power/power.o] Error 1
I tried it on my phone and it worked fine I could never run the wifi

[Q] compiling aosp build error

im trying to compile aosp gb for xperia play because its my gaming phone and cant get a fater fw than that but the following error pops up
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
/bin/bash: out/target/product/generic/obj/PACKAGING/updater_extensions_intermediates/register.inc.temp: Permission denied
Header: out/target/product/generic/obj/include/libexpat/expat.h
Header: out/target/product/generic/obj/include/libexpat/expat_external.h
Header: out/target/product/generic/obj/include/libpng/png.h
Header: out/target/product/generic/obj/include/libpng/pngconf.h
mkdir: cannot create directory `out/target/product/generic/obj/include': Permission denied
make: *** [out/target/product/generic/obj/include/libexpat/expat.h] Error 1
make: *** Waiting for unfinished jobs....
Header: out/target/product/generic/obj/include/libpng/pngusr.h
Header: out/target/product/generic/obj/include/libwpa_client/wpa_ctrl.h
mkdir: cannot create directory `out/target/product/generic/obj/include': Permission denied
mkdir: cannot create directory `out/target/product/generic/obj/include'make: *** [out/target/product/generic/obj/include/libexpat/expat_external.h] Error 1
: Permission denied
make: *** [out/target/product/generic/obj/include/libpng/png.h] Error 1
mkdir: cannot create directory `out/target/product/generic/obj/include': Permission denied
make: *** [out/target/product/generic/obj/include/libpng/pngconf.h] Error 1
mkdir: cannot create directory `out/target/product/generic/obj/include': Permission denied
make: *** [out/target/product/generic/obj/include/libpng/pngusr.h] Error 1
mkdir: cannot create directory `out/target/product/generic/obj/include': Permission denied
make: *** [out/target/product/generic/obj/include/libwpa_client/wpa_ctrl.h] Error 1
Any ideas?? im on ubuntu 10.04 64bit

[GUIDE][DEV][DISCONTINUED] How I build my own CM10.2 test builds

This is still unofficial. This thread is intended for devs & advanced users only.
Guide how I build CM10.2 for my smultron.
For the first time you try to build CM10.2
Follow this guide up to "Initialize the CyanogenMod source repository" step (don't execute this step).
http://wiki.cyanogenmod.org/w/Build_for_smultron
Download & install lzop compression tool
Code:
sudo apt-get install lzop
Initialize the CyanogenMod source repository
Enter the following to initialize the repository:
Code:
cd ~/android/system/
repo init -u git://github.com/CyanogenMod/android.git -b cm-10.2
Get the required local manifest
Code:
mkdir -p ~/android/system/.repo/local_manifests
curl https://raw.github.com/LegacyXperia/local_manifests/cm-10.2/semc.xml > ~/android/system/.repo/local_manifests/semc.xml
Download the source code
Code:
repo sync
Download some commits from CyanogenMod gerrit which are not accepted yet
Code:
curl https://raw.github.com/LegacyXperia/local_manifests/cm-10.2/updates.sh > ~/android/system/updates.sh
chmod a+x updates.sh
./updates.sh
Get the prebuilts
Code:
cd ~/android/system/vendor/cm
./get-prebuilts
Setup the environment & prepare the device-specific code.
Code:
cd ~/android/system
. build/envsetup.sh
breakfast smultron
Build the ROM (takes long time)
Code:
brunch smultron
If the build finishes successfully, you will find the build here (change DATE into the date):
~/android/system/out/target/product/smultron/cm-10.2-DATE-UNOFFICIAL-smultron.zip
The next times you want to build, you only need to do the following:
Sync the repositories & make sure you are using the latest local_manifest.
Code:
cd ~/android/system/
curl https://raw.github.com/LegacyXperia/local_manifests/cm-10.2/semc.xml > ~/android/system/.repo/local_manifests/semc.xml
repo sync
Download some commits from CyanogenMod gerrit which are not accepted yet
Code:
curl https://raw.github.com/LegacyXperia/local_manifests/cm-10.2/updates.sh > ~/android/system/updates.sh
chmod a+x updates.sh
./updates.sh
Setup the environment
Code:
. build/envsetup.sh
Build the ROM
Code:
brunch smultron
If the build finishes successfully, you will find the build here (change DATE into the date):
~/android/system/out/target/product/smultron/cm-10.2-DATE-UNOFFICIAL-smultron.zip
Steps to build only the kernel:
Sync the repositories.
Code:
cd ~/android/system/
repo sync
Setup the environment
Code:
. build/envsetup.sh
Build the kernel
Code:
breakfast smultron
make -j4 bootimage
If the build finishes successfully, you will find the boot image here:
~/android/system/out/target/product/smultron/boot.img
Credits: Thanks to hnl_dk for the initial CM9 & CM10 guides.
Reserved
Mike you are the F**kin BOSS ... You work is amazing, keep it up bro
Bless
Nice guide :angel:
can i run the code level on windows??if can how? or must only ubuntu?
hope ur advice
edit.
have done with virtual machine http://www.psychocats.net/ubuntu/virtualbox
hurriX8 said:
Nice guide :angel:
can i run the code level on windows??if can how? or must only ubuntu?
hope ur advice
Click to expand...
Click to collapse
U can create a linux environment using cygwin but to get full functionality is not possible....
U can use any linux with windows already installed....
try mint if u r a beginner i think its way polished than ubuntu...
salsreloded said:
U can create a linux environment using cygwin but to get full functionality is not possible....
U can use any linux with windows already installed....
try mint if u r a beginner i think its way polished than ubuntu...
Click to expand...
Click to collapse
using cygwin is not fully perfect..
I mean if possible to fully functionaly such as terminal emulator in linux but run in windows OS?
I hate installed 2 OS.
i'm not install linux OS while i've windows installed.
1 OS is quick better
Anyway, thanks for your advice :good:
Awesome!
This is awesome!
hurriX8 said:
using cygwin is not fully perfect..
I mean if possible to fully functionaly such as terminal emulator in linux but run in windows OS?
I hate installed 2 OS.
i'm not install linux OS while i've windows installed.
1 OS is quick better
Anyway, thanks for your advice :good:
Click to expand...
Click to collapse
No its not at all possible in windows to run terminal emulator.....
but u can use liveusb for linux without installing it...
u can also use damm small linux(just 45 mb) will not disturb ur linux...
u can also install linux inside a windows partition...
and last u can also use virtualbox....
thats all the solution out there...
I don't get device tree
I try build on buildbox by goo.im
Thanks for the tutorial, Mike.
I've got two quick questions: How much HDD space does it take to compile a release (I've read it may go up to 12 gigs)?
How long does it take to finish a build on your PC, are you using anything to make it faster - like say, ccache?
I'm asking it, because my PC is a quite old C2D with 4GB of RAM, so I just don't want to bother myself if it won't be worth the time.
hurriX8 said:
using cygwin is not fully perfect..
I mean if possible to fully functionaly such as terminal emulator in linux but run in windows OS?
I hate installed 2 OS.
i'm not install linux OS while i've windows installed.
1 OS is quick better
Anyway, thanks for your advice :good:
Click to expand...
Click to collapse
use vmware player or virtual box to create a linux virtual machine
that's the best solution
pan_pietrek said:
Thanks for the tutorial, Mike.
I've got two quick questions: How much HDD space does it take to compile a release (I've read it may go up to 12 gigs)?
How long does it take to finish a build on your PC, are you using anything to make it faster - like say, ccache?
I'm asking it, because my PC is a quite old C2D with 4GB of RAM, so I just don't want to bother myself if it won't be worth the time.
Click to expand...
Click to collapse
I have same question. I too have Core 2 Duo and 4GB RAM and just about 15GB freespace.
Is it sufficient?
My internet speed is also very slow. Just about 512kbps.
I want to try android development as a hobby only so I do not want to spend a lot of time in that. (Also I can not spend lot of time due to other work)
PS: I am experienced Linux developer.
Thank you mike for the great tutorial.
You could include the "Install the repo command" section of the cyanogenmod guide, otherwise everything worked for me on Linux. It was my first Android ROM i've ever built on my computer.
Maybe you could mention that repo sync will take some hours when it is run for the first time.
CM10.2 works well so far. SU did not work (or maybe I did something wrong).
Thanks a lot!
ok at time of "Brunch Mango" repo synced sucessfully
it is showing "error 126"
my config :- atom / 1gb
here my log
Code:
[email protected]:~/android/system$ . build/envsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/goldfish/vendorsetup.sh
including device/generic/mips/vendorsetup.sh
including device/generic/x86/vendorsetup.sh
including device/semc/anzu/vendorsetup.sh
including device/semc/coconut/vendorsetup.sh
including device/semc/haida/vendorsetup.sh
including device/semc/hallon/vendorsetup.sh
including device/semc/iyokan/vendorsetup.sh
including device/semc/mango/vendorsetup.sh
including device/semc/satsuma/vendorsetup.sh
including device/semc/smultron/vendorsetup.sh
including device/semc/urushi/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/cm/bash_completion/git.bash
including vendor/cm/bash_completion/repo.bash
[email protected]:~/android/system$ breakfast mango
including vendor/cm/vendorsetup.sh
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
Trying dependencies-only mode on a non-existing device tree?
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3
CM_VERSION=10.2-20130809-UNOFFICIAL-mango
TARGET_PRODUCT=cm_mango
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a8
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-51-generic-pae-i686-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JSS15J
OUT_DIR=/home/karan/android/system/out
============================================
[email protected]:~/android/system$ brunch mango
including vendor/cm/vendorsetup.sh
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
Trying dependencies-only mode on a non-existing device tree?
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3
CM_VERSION=10.2-20130809-UNOFFICIAL-mango
TARGET_PRODUCT=cm_mango
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a8
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-51-generic-pae-i686-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JSS15J
OUT_DIR=/home/karan/android/system/out
============================================
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3
CM_VERSION=10.2-20130809-UNOFFICIAL-mango
TARGET_PRODUCT=cm_mango
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a8
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-51-generic-pae-i686-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JSS15J
OUT_DIR=/home/karan/android/system/out
============================================
build/core/Makefile:44: warning: overriding commands for target `/home/karan/android/system/out/target/product/mango/system/lib/libril.so'
build/core/base_rules.mk:520: warning: ignoring old commands for target `/home/karan/android/system/out/target/product/mango/system/lib/libril.so'
PRODUCT_COPY_FILES device/semc/mango/rootdir/system/usr/idc/qwerty.idc:system/usr/idc/qwerty.idc ignored.
PRODUCT_COPY_FILES device/semc/mango/rootdir/system/usr/idc/qwerty2.idc:system/usr/idc/qwerty2.idc ignored.
build/core/Makefile:44: warning: overriding commands for target `/home/karan/android/system/out/target/product/mango/system/etc/mkshrc'
build/core/base_rules.mk:520: warning: ignoring old commands for target `/home/karan/android/system/out/target/product/mango/system/etc/mkshrc'
No private recovery resources for TARGET_DEVICE mango
make -C kernel/semc/msm7x30 O=/home/karan/android/system/out/target/product/mango/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/karan/android/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" headers_install
host C: acp <= build/tools/acp/acp.c
make[1]: Entering directory `/home/karan/android/system/kernel/semc/msm7x30'
host Executable: mkbootfs (/home/karan/android/system/out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs)
host StaticLib: libhost (/home/karan/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.a)
ERROR: prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/bin/x86_64-linux-ar only run on 64-bit linux
make: *** [/home/karan/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.a] Error 1
make: *** Waiting for unfinished jobs....
CHK include/linux/version.h
UPD include/linux/version.h
WRAP arch/arm/include/generated/asm/auxvec.h
WRAP arch/arm/include/generated/asm/bitsperlong.h
WRAP arch/arm/include/generated/asm/cputime.h
WRAP arch/arm/include/generated/asm/emergency-restart.h
WRAP arch/arm/include/generated/asm/errno.h
WRAP arch/arm/include/generated/asm/ioctl.h
WRAP arch/arm/include/generated/asm/irq_regs.h
WRAP arch/arm/include/generated/asm/kdebug.h
WRAP arch/arm/include/generated/asm/local.h
WRAP arch/arm/include/generated/asm/local64.h
WRAP arch/arm/include/generated/asm/percpu.h
WRAP arch/arm/include/generated/asm/poll.h
WRAP arch/arm/include/generated/asm/resource.h
WRAP arch/arm/include/generated/asm/sections.h
WRAP arch/arm/include/generated/asm/siginfo.h
WRAP arch/arm/include/generated/asm/sizes.h
HOSTCC scripts/unifdef
INSTALL include/asm-generic (34 files)
INSTALL include/media (7 files)
INSTALL include/drm (16 files)
INSTALL include/linux/byteorder (2 files)
INSTALL include/linux/caif (2 files)
INSTALL include/linux/can (5 files)
INSTALL include/mtd (5 files)
INSTALL include/linux/dvb (8 files)
INSTALL include/rdma (6 files)
INSTALL include/scsi/fc (4 files)
INSTALL include/linux/hdlc (1 file)
INSTALL include/scsi (3 files)
INSTALL include/sound (11 files)
INSTALL include/video (3 files)
INSTALL include/linux/hsi (1 file)
INSTALL include/xen (2 files)
INSTALL include/linux/isdn (1 file)
INSTALL include/linux/mfd/wcd9xxx (2 files)
INSTALL include (0 file)
INSTALL include/linux/mmc (1 file)
INSTALL include/linux/mfd (2 files)
INSTALL include/linux/netfilter_arp (2 files)
INSTALL include/linux/netfilter/ipset (4 files)
INSTALL include/linux/netfilter_bridge (18 files)
INSTALL include/linux/netfilter_ipv4 (12 files)
INSTALL include/linux/netfilter (75 files)
INSTALL include/linux/netfilter_ipv6 (11 files)
INSTALL include/linux/nfsd (5 files)
INSTALL include/linux/raid (2 files)
INSTALL include/linux/spi (1 file)
INSTALL include/linux/sunrpc (1 file)
INSTALL include/linux/tc_act (7 files)
INSTALL include/linux/tc_ematch (4 files)
INSTALL include/linux/usb (10 files)
INSTALL include/linux/wimax (1 file)
INSTALL include/linux (409 files)
INSTALL include/asm (32 files)
make[1]: Leaving directory `/home/karan/android/system/kernel/semc/msm7x30'
[email protected]:~/android/system$
tnx
i always say nice work your thw boos i love your work
You should have about 24gig of storage before you start this tutorial. Initial sync would use between 7 and 14 gig, for your builds you would need another 10
Sent from my Xperia Ray
using mint mate 15
Code:
[email protected] ~ $ cd ~/Downloads
[email protected] ~/Downloads $ svn checkout -r 91 http://lz4.googlecode.com/svn/trunk/ lz4
Checked out revision 91.
[email protected] ~/Downloads $ cd lz4 && make && cp lz4demo ~/bin/lz4demo
make: Nothing to be done for `default'.
[email protected] ~/Downloads/lz4 $
---------- Post added at 03:13 PM ---------- Previous post was at 02:23 PM ----------
officiallysonyrebel said:
ok at time of "Brunch Mango" repo synced sucessfully
it is showing "error 126"
my config :- atom / 1gb
here my log
Code:
[email protected]:~/android/system$ . build/envsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/goldfish/vendorsetup.sh
including device/generic/mips/vendorsetup.sh
including device/generic/x86/vendorsetup.sh
including device/semc/anzu/vendorsetup.sh
including device/semc/coconut/vendorsetup.sh
including device/semc/haida/vendorsetup.sh
including device/semc/hallon/vendorsetup.sh
including device/semc/iyokan/vendorsetup.sh
including device/semc/mango/vendorsetup.sh
including device/semc/satsuma/vendorsetup.sh
including device/semc/smultron/vendorsetup.sh
including device/semc/urushi/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/cm/bash_completion/git.bash
including vendor/cm/bash_completion/repo.bash
[email protected]:~/android/system$ breakfast mango
including vendor/cm/vendorsetup.sh
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
Trying dependencies-only mode on a non-existing device tree?
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3
CM_VERSION=10.2-20130809-UNOFFICIAL-mango
TARGET_PRODUCT=cm_mango
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a8
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-51-generic-pae-i686-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JSS15J
OUT_DIR=/home/karan/android/system/out
============================================
[email protected]:~/android/system$ brunch mango
including vendor/cm/vendorsetup.sh
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
Trying dependencies-only mode on a non-existing device tree?
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3
CM_VERSION=10.2-20130809-UNOFFICIAL-mango
TARGET_PRODUCT=cm_mango
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a8
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-51-generic-pae-i686-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JSS15J
OUT_DIR=/home/karan/android/system/out
============================================
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: cannot execute binary file
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3
CM_VERSION=10.2-20130809-UNOFFICIAL-mango
TARGET_PRODUCT=cm_mango
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a8
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-51-generic-pae-i686-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JSS15J
OUT_DIR=/home/karan/android/system/out
============================================
build/core/Makefile:44: warning: overriding commands for target `/home/karan/android/system/out/target/product/mango/system/lib/libril.so'
build/core/base_rules.mk:520: warning: ignoring old commands for target `/home/karan/android/system/out/target/product/mango/system/lib/libril.so'
PRODUCT_COPY_FILES device/semc/mango/rootdir/system/usr/idc/qwerty.idc:system/usr/idc/qwerty.idc ignored.
PRODUCT_COPY_FILES device/semc/mango/rootdir/system/usr/idc/qwerty2.idc:system/usr/idc/qwerty2.idc ignored.
build/core/Makefile:44: warning: overriding commands for target `/home/karan/android/system/out/target/product/mango/system/etc/mkshrc'
build/core/base_rules.mk:520: warning: ignoring old commands for target `/home/karan/android/system/out/target/product/mango/system/etc/mkshrc'
No private recovery resources for TARGET_DEVICE mango
make -C kernel/semc/msm7x30 O=/home/karan/android/system/out/target/product/mango/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/karan/android/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" headers_install
host C: acp <= build/tools/acp/acp.c
make[1]: Entering directory `/home/karan/android/system/kernel/semc/msm7x30'
host Executable: mkbootfs (/home/karan/android/system/out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs)
host StaticLib: libhost (/home/karan/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.a)
ERROR: prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/bin/x86_64-linux-ar only run on 64-bit linux
make: *** [/home/karan/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.a] Error 1
make: *** Waiting for unfinished jobs....
CHK include/linux/version.h
UPD include/linux/version.h
WRAP arch/arm/include/generated/asm/auxvec.h
WRAP arch/arm/include/generated/asm/bitsperlong.h
WRAP arch/arm/include/generated/asm/cputime.h
WRAP arch/arm/include/generated/asm/emergency-restart.h
WRAP arch/arm/include/generated/asm/errno.h
WRAP arch/arm/include/generated/asm/ioctl.h
WRAP arch/arm/include/generated/asm/irq_regs.h
WRAP arch/arm/include/generated/asm/kdebug.h
WRAP arch/arm/include/generated/asm/local.h
WRAP arch/arm/include/generated/asm/local64.h
WRAP arch/arm/include/generated/asm/percpu.h
WRAP arch/arm/include/generated/asm/poll.h
WRAP arch/arm/include/generated/asm/resource.h
WRAP arch/arm/include/generated/asm/sections.h
WRAP arch/arm/include/generated/asm/siginfo.h
WRAP arch/arm/include/generated/asm/sizes.h
HOSTCC scripts/unifdef
INSTALL include/asm-generic (34 files)
INSTALL include/media (7 files)
INSTALL include/drm (16 files)
INSTALL include/linux/byteorder (2 files)
INSTALL include/linux/caif (2 files)
INSTALL include/linux/can (5 files)
INSTALL include/mtd (5 files)
INSTALL include/linux/dvb (8 files)
INSTALL include/rdma (6 files)
INSTALL include/scsi/fc (4 files)
INSTALL include/linux/hdlc (1 file)
INSTALL include/scsi (3 files)
INSTALL include/sound (11 files)
INSTALL include/video (3 files)
INSTALL include/linux/hsi (1 file)
INSTALL include/xen (2 files)
INSTALL include/linux/isdn (1 file)
INSTALL include/linux/mfd/wcd9xxx (2 files)
INSTALL include (0 file)
INSTALL include/linux/mmc (1 file)
INSTALL include/linux/mfd (2 files)
INSTALL include/linux/netfilter_arp (2 files)
INSTALL include/linux/netfilter/ipset (4 files)
INSTALL include/linux/netfilter_bridge (18 files)
INSTALL include/linux/netfilter_ipv4 (12 files)
INSTALL include/linux/netfilter (75 files)
INSTALL include/linux/netfilter_ipv6 (11 files)
INSTALL include/linux/nfsd (5 files)
INSTALL include/linux/raid (2 files)
INSTALL include/linux/spi (1 file)
INSTALL include/linux/sunrpc (1 file)
INSTALL include/linux/tc_act (7 files)
INSTALL include/linux/tc_ematch (4 files)
INSTALL include/linux/usb (10 files)
INSTALL include/linux/wimax (1 file)
INSTALL include/linux (409 files)
INSTALL include/asm (32 files)
make[1]: Leaving directory `/home/karan/android/system/kernel/semc/msm7x30'
[email protected]:~/android/system$
Click to expand...
Click to collapse
you need 64 bit system for comiling cm10.2/cm10/cm10.1
Code:
n1kolaa-ASUS-DEKSTOP system # curl https://raw.github.com/LegacyXperia/local_manifests/cm-10.2/updates.sh > ~/android/system/updates.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 922 100 922 0 0 2400 0 --:--:-- --:--:-- --:--:-- 2664
n1kolaa-ASUS-DEKSTOP system # chmod a+x updates.sh
n1kolaa-ASUS-DEKSTOP system # ./updates.sh
From http://review.cyanogenmod.org/CyanogenMod/android_system_core
* branch refs/changes/74/38174/1 -> FETCH_HEAD
error: Your local changes would be overwritten by cherry-pick.
hint: Commit your changes or stash them to proceed.
fatal: cherry-pick failed
From http://review.cyanogenmod.org/CyanogenMod/android_hardware_qcom_audio-caf
* branch refs/changes/84/47484/2 -> FETCH_HEAD
error: Your local changes would be overwritten by cherry-pick.
hint: Commit your changes or stash them to proceed.
fatal: cherry-pick failed
From http://review.cyanogenmod.org/CyanogenMod/android_frameworks_av
* branch refs/changes/95/46495/1 -> FETCH_HEAD
error: Your local changes would be overwritten by cherry-pick.
hint: Commit your changes or stash them to proceed.
fatal: cherry-pick failed
From http://review.cyanogenmod.org/CyanogenMod/android_frameworks_native
* branch refs/changes/59/47259/1 -> FETCH_HEAD
error: Your local changes would be overwritten by cherry-pick.
hint: Commit your changes or stash them to proceed.
fatal: cherry-pick failed
n1kolaa-ASUS-DEKSTOP system #
@mikeioannina is that corect?
know using a 64 bit PC
i ve tried to compile kernel only
Code:
make[1]: Leaving directory `/home/rebel/android/system/kernel/semc/msm7x30'
make -C kernel/semc/msm7x30 O=/home/rebel/android/system/out/target/product/mango/obj/KERNEL_OBJ INSTALL_MOD_PATH=../../system ARCH=arm CROSS_COMPILE=" /home/rebel/android/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" modules_install
make[1]: Entering directory `/home/rebel/android/system/kernel/semc/msm7x30'
INSTALL drivers/net/wireless/wl12xx/wl12xx.ko
INSTALL drivers/net/wireless/wl12xx/wl12xx_sdio.ko
INSTALL drivers/scsi/scsi_wait_scan.ko
INSTALL fs/cifs/cifs.ko
INSTALL net/mac80211/mac80211.ko
INSTALL net/wireless/cfg80211.ko
DEPMOD 3.4.56-nAa+
make[1]: Leaving directory `/home/rebel/android/system/kernel/semc/msm7x30'
mdpath=`find /home/rebel/android/system/out/target/product/mango/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; ko=`find $mpath/kernel -type f -name *.ko`; for i in $ko; do /home/rebel/android/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-strip --strip-unneeded $i; mv $i /home/rebel/android/system/out/target/product/mango/system/lib/modules/; done; fi
mdpath=`find /home/rebel/android/system/out/target/product/mango/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; rm -rf $mpath; fi
after this terminal exited to home
and no boot img there ..
officiallysonyrebel said:
ok at time of "Brunch Mango" repo synced sucessfully
it is showing "error 126"
my config :- atom / 1gb
here my log
Code:
[email protected]
Click to expand...
Click to collapse
I have HP Mini 110-3500 with atom and 1GB too
And it's not enough for good compiling
I try to use dev server but i think i have to buy better notebook with 8GB and core i3/5
Sent from my SK17i via Tapatalk 4
Errors
Code:
oduct/anzu/obj/STATIC_LIBRARIES/libvideoeditor_mcs_intermediates/libvideoeditor_mcs.a)
frameworks/av/libvideoeditor/vss/src/M4DECODER_Null.c: In function 'M4DECODER_NULL_setOption':
frameworks/av/libvideoeditor/vss/src/M4DECODER_Null.c:213:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
target StaticLib: libvideoeditor_stagefrightshells (/home/n1kolaa/android/system/out/target/product/anzu/obj/STATIC_LIBRARIES/libvideoeditor_stagefrightshells_intermediates/libvideoeditor_stagefrightshells.a)
target StaticLib: libvideoeditor_3gpwriter (/home/n1kolaa/android/system/out/target/product/anzu/obj/STATIC_LIBRARIES/libvideoeditor_3gpwriter_intermediates/libvideoeditor_3gpwriter.a)
Generating CSSPropertyNames.h <= CSSPropertyNames.in
Generating CSSValueKeywords.h <= CSSValueKeywords.in
perl external/webkit/Source/WebCore/../../../chromium/android/generateAndroidForwardingHeader.pl /home/n1kolaa/android/system/out/target/product/anzu/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/third_party/WebKit/WebKit/chromium/public/WebFormControlElement.h "public/WebFormControlElement.h"
perl external/webkit/Source/WebCore/../../../chromium/android/generateAndroidForwardingHeader.pl /home/n1kolaa/android/system/out/target/product/anzu/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/third_party/WebKit/WebKit/chromium/public/WebRegularExpression.h "public/WebRegularExpression.h"
sh: 1: sh: 1: gperf: not found
gperf: not found
calling gperf failed: 32512 at makevalues.pl line 137.
calling gperf failed: 32512 at ./makeprop.pl line 140.
make: *** [/home/n1kolaa/android/system/out/target/product/anzu/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/css/CSSValueKeywords.h] Error 25
make: *** Deleting file `/home/n1kolaa/android/system/out/target/product/anzu/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/css/CSSValueKeywords.h'
make: *** Waiting for unfinished jobs....
make: *** [/home/n1kolaa/android/system/out/target/product/anzu/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/css/CSSPropertyNames.h] Error 25
make: *** Deleting file `/home/n1kolaa/android/system/out/target/product/anzu/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/css/CSSPropertyNames.h'
Mike help!
EDIT: i think i fix it with installing gperf

make otatools

Hey guys,
I try to port cwm to a new device with this tutorial but at the command
PHP:
make -j4 otatools
I become some errors
PHP:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3.1
CM_VERSION=
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.19.0-25-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=JLS36I
OUT_DIR=/home/noel/bin/out
============================================
grep: /build/target/board/generic/recovery.fstab: Datei oder Verzeichnis nicht gefunden
No private recovery resources for TARGET_DEVICE generic
build/core/tasks/kernel.mk:87: **********************************************************
build/core/tasks/kernel.mk:88: * Kernel source found, but no configuration was defined *
build/core/tasks/kernel.mk:89: * Please add the TARGET_KERNEL_CONFIG variable to your *
build/core/tasks/kernel.mk:90: * BoardConfig.mk file *
build/core/tasks/kernel.mk:91: **********************************************************
Can't open build/target/board/generic/arch/arm/configs/: Datei oder Verzeichnis nicht gefunden at -e line 1.
Can't open build/target/board/generic/arch/arm/configs/: Datei oder Verzeichnis nicht gefunden at -e line 1.
host C: minigzip <= external/zlib/src/test/minigzip.c
host C: libz <= external/zlib/src/adler32.c
host C: libz <= external/zlib/src/compress.c
host C: libz <= external/zlib/src/crc32.c
/home/noel/bin/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../lib/gcc/i686-linux/4.6.x-google/../../../../i686-linux/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
make: *** [/home/noel/bin/out/host/linux-x86/obj/STATIC_LIBRARIES/libz_intermediates/src/compress.o] Fehler 1
make: *** Auf noch nicht beendete Prozesse wird gewartet …
/home/noel/bin/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../lib/gcc/i686-linux/4.6.x-google/../../../../i686-linux/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
make: *** [/home/noel/bin/out/host/linux-x86/obj/STATIC_LIBRARIES/libz_intermediates/src/adler32.o] Fehler 1
/home/noel/bin/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../lib/gcc/i686-linux/4.6.x-google/../../../../i686-linux/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
make: *** [/home/noel/bin/out/host/linux-x86/obj/EXECUTABLES/minigzip_intermediates/src/test/minigzip.o] Fehler 1
/home/noel/bin/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../lib/gcc/i686-linux/4.6.x-google/../../../../i686-linux/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
make: *** [/home/noel/bin/out/host/linux-x86/obj/STATIC_LIBRARIES/libz_intermediates/src/crc32.o] Fehler 1
and I haven't any idea what I have to do.
Wheather I type
PHP:
build/tools/device/mkvendor.sh lge h525n ~/boot.img
it says
PHP:
unpackbootimg not found. Is your android build environment set up and have the host tools been built?
Can you help me?
LG Noel

Build android rom error ninja 1

hello I creatin lineage os 19 but mka bacon error
HOSTCC scripts/basic/fixdep
GEN ./Makefile
ld.lld: error: cannot open crtbegin.o: No such file or directory
ld.lld: error: unable to find library -lgcc
ld.lld: error: unable to find library -lgcc_s
ld.lld: error: unable to find library -lgcc
ld.lld: error: unable to find library -lgcc_s
ld.lld: error: cannot open crtend.o: No such file or directory
clang-12: error: linker command failed with exit code 1 (use -v to see invocatio
n)
make[2]: *** [scripts/Makefile.host:91: scripts/basic/fixdep] Error 1
make[1]: *** [/home/kozlu14/Android/kernel/tinno/msm8937/Makefile:452: scripts_b
asic] Error 2
make[1]: Leaving directory '/home/kozlu14/Android/out/target/product/garlic/obj/
KERNEL_OBJ'
make: *** [Makefile:145: sub-make] Error 2
make: Leaving directory '/home/kozlu14/Android/kernel/tinno/msm8937'
20:24:29 ninja failed with: exit status 1
ı can a problem fix?

Categories

Resources