• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root building cm7 from source

so, im trying to build, i have resynced my source tree, i have all the vendor and device profiles including everything missing from the admire source, and no matter what i always get this error

build/core/product_config.mk:196: *** _nic.PRODUCTS.[[vendor/cyanogen/products/cyanogen_sunfire.mk]]: "device/motorola/sunfire/sunfire.mk" does not exist. Stop.
Device admire not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Repository for admire not found in the CyanogenMod Github repository list. If this is in error, you may need to manually add it to your local_manifest.xml.
build/core/product_config.mk:196: *** _nic.PRODUCTS.[[vendor/cyanogen/products/cyanogen_sunfire.mk]]: "device/motorola/sunfire/sunfire.mk" does not exist. Stop.

** Don't have a product spec for: 'generic_admire'
** Do you have the right repo manifest?

No such item in brunch menu. Try 'breakfast'
any ideas? my brain is about to explode
 
edit..
nvm

PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.7
TARGET_PRODUCT=generic_admire
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv6-vfp
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GINGERBREAD
============================================
Checking build tools versions...

we shall see...
 
im goin to sleep.
this is where im stuck at..same results with make 381 and make 382, everything else (lib) is up to date.
maybe my machine just cant build cm7, tho it is 64bit

Checking build tools versions...
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
*** glibc detected *** make: free(): invalid next size (fast): 0x0000000008daa130 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7e626)[0x7f82085a1626]
make[0x40a81a]
make[0x40cb8b]
make[0x40788b]
make[0x40738b]
make[0x407433]
make[0x40cb54]
make[0x40788b]
make[0x40738b]
make[0x407580]
make[0x407cd2]
make[0x40b884]
make[0x40cb8b]
make[0x40788b]
make[0x40738b]
make[0x41d55a]
make[0x41dbdb]
make[0x4160d8]
make[0x417632]
make[0x416846]
make[0x417632]
make[0x4179fc]
make[0x4033f3]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f820854476d]
make[0x40422d]
======= Memory map: ========
00400000-00429000 r-xp 00000000 07:00 1704353 /usr/local/bin/make
00628000-00629000 r--p 00028000 07:00 1704353 /usr/local/bin/make
00629000-0062b000 rw-p 00029000 07:00 1704353 /usr/local/bin/make
0062b000-0062c000 rw-p 00000000 00:00 0
01182000-08f24000 rw-p 00000000 00:00 0 [heap]
7f8207a07000-7f8207a1c000 r-xp 00000000 07:00 1573749 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f8207a1c000-7f8207c1b000 ---p 00015000 07:00 1573749 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f8207c1b000-7f8207c1c000 r--p 00014000 07:00 1573749 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f8207c1c000-7f8207c1d000 rw-p 00015000 07:00 1573749 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f8207c1d000-7f8208306000 r--p 00000000 07:00 1706583 /usr/lib/locale/locale-archive
7f8208306000-7f820831e000 r-xp 00000000 07:00 1573808 /lib/x86_64-linux-gnu/libpthread-2.15.so
7f820831e000-7f820851d000 ---p 00018000 07:00 1573808 /lib/x86_64-linux-gnu/libpthread-2.15.so
7f820851d000-7f820851e000 r--p 00017000 07:00 1573808 /lib/x86_64-linux-gnu/libpthread-2.15.so
7f820851e000-7f820851f000 rw-p 00018000 07:00 1573808 /lib/x86_64-linux-gnu/libpthread-2.15.so
7f820851f000-7f8208523000 rw-p 00000000 00:00 0
7f8208523000-7f82086d6000 r-xp 00000000 07:00 1573728 /lib/x86_64-linux-gnu/libc-2.15.so
7f82086d6000-7f82088d5000 ---p 001b3000 07:00 1573728 /lib/x86_64-linux-gnu/libc-2.15.so
7f82088d5000-7f82088d9000 r--p 001b2000 07:00 1573728 /lib/x86_64-linux-gnu/libc-2.15.so
7f82088d9000-7f82088db000 rw-p 001b6000 07:00 1573728 /lib/x86_64-linux-gnu/libc-2.15.so
7f82088db000-7f82088e0000 rw-p 00000000 00:00 0
7f82088e0000-7f82088e7000 r-xp 00000000 07:00 1573814 /lib/x86_64-linux-gnu/librt-2.15.so
7f82088e7000-7f8208ae6000 ---p 00007000 07:00 1573814 /lib/x86_64-linux-gnu/librt-2.15.so
7f8208ae6000-7f8208ae7000 r--p 00006000 07:00 1573814 /lib/x86_64-linux-gnu/librt-2.15.so
7f8208ae7000-7f8208ae8000 rw-p 00007000 07:00 1573814 /lib/x86_64-linux-gnu/librt-2.15.so
7f8208ae8000-7f8208b0a000 r-xp 00000000 07:00 1573708 /lib/x86_64-linux-gnu/ld-2.15.so
7f8208b69000-7f8208c6a000 rw-p 00000000 00:00 0
7f8208ceb000-7f8208cef000 rw-p 00000000 00:00 0
7f8208cfc000-7f8208d03000 r--s 00000000 07:00 4885 /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
7f8208d03000-7f8208d04000 rw-p 00000000 00:00 0
7f8208d05000-7f8208d0a000 rw-p 00000000 00:00 0
7f8208d0a000-7f8208d0b000 r--p 00022000 07:00 1573708 /lib/x86_64-linux-gnu/ld-2.15.so
7f8208d0b000-7f8208d0d000 rw-p 00023000 07:00 1573708 /lib/x86_64-linux-gnu/ld-2.15.so
7fffba91f000-7fffba976000 rw-p 00000000 00:00 0 [stack]
7fffba9ff000-7fffbaa00000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Aborted (core dumped)
 
What holes?
i was missing a few device profiles and then a few libs here and there..im going to post it all on my github later then try again on a fresh install with linux mint this time
idk whats causing this
Checking build tools versions...
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
*** glibc detected *** make: free(): invalid next size (fast): 0x0000000008daa130 ***
but im also thinking theres a problem with my build environment.
thanks playfulgod for all your help so far btw
 
What version of ubuntu are you trying to build on? req said he could do it in 11.10, not sure it will do it in 12.04 though.
12, i dont think its going to happen tho as i either have to
go thru and add patches to my build env. that i missed due to misinformation
but im leaning more towards doing it on a new environment...being the 4th time ive built one for this..every failure now is a success tomorrow.
Is this the full build of CM7, and if so, your building your own kernel correct?
yes.(but its not built yet so, no.
kernel? yes. i already have it set up but i want to mess with stuff first. the further along i get, the more mistakes i make, the more i have to backtrack = the more i know. i can build a few different stock based roms right now if i wanted to but i really want cm.
 
fresh new repo (btw, if you do a cm repo, youll have to go back and download /device/motorola/sunfire device profile)
fresh new install of linux mint 13..everything went great, just having a java path or version issue, after i get home tonite ill try to build again.
 
how did you get it to build im getting the same error as you in the beginning? i did it once before but my computer crashed along with my device profile:(

(guess thats why i should use github. lol
 
fresh new repo (btw, if you do a cm repo, youll have to go back and download /device/motorola/sunfire device profile)
fresh new install of linux mint 13..everything went great, just having a java path or version issue, after i get home tonite ill try to build again.


Can you send me your patch work. I might be able to help.
 
never mind im an idiot. i forgot
Code:
git clone git://github/cyanogenmod/android_device_motorola_sunfire
bang. back to building. guess ill fork reqs repo so i dont lose it agian.
 
I thought you had the admire
O_o
My wife has an Admire and I put req's CM7 and kernel on it and fix mms for her. Other than she wont let me touch it lol

I dont really have any extra time to devote to the Admire anyhow with my current projects I am working on. But I can help those who are working to improve on req's or doing their own by looking over their repo(s) etc n giving advice etc where I can. ;)
 
My wife has an Admire and I put req's CM7 and kernel on it and fix mms for her. Other than she wont let me touch it lol

I dont really have any extra time to devote to the Admire anyhow with my current projects I am working on. But I can help those who are working to improve on req's or doing their own by looking over their repo(s) etc n giving advice etc where I can. ;)

my wife won't let me touch her phone to make it better...but anytime she messes something up I better fix it in 5 minutes!!!! what a bunch of CRAP! lol!!!
 
my wife won't let me touch her phone to make it better...but anytime she messes something up I better fix it in 5 minutes!!!! what a bunch of CRAP! lol!!!
Exactly!!! lol only reason she let me put CM7 on it was b4 she got the Admire she was using my Optimus C I had to dev CM7 for and liked CM7 lol.
 
hm. ok. probably a ******ed question but im still learning the android build. i dont see anything about a camera overlay, so how do i modify it?
 
Back
Top Bottom