5,605,120 Members 37,205 Now Online
XDA Developers Android and Mobile Development Forum

[Q] I can't compile recovery

Tip us?
 
yashade2001
Old
#1  
yashade2001's Avatar
Senior Member - OP
Thanks Meter 233
Posts: 331
Join Date: Sep 2012
Location: Ankara

 
DONATE TO ME
Default [Q] I can't compile recovery

Hi all I'm translating cwm recovery. I downloaded cm source. But when i enter this command :

make -j4 recoveryimage

i get too many errors and compilation fails :

Code:
jale@jale-PC:~/android$ make -j4 recoveryimage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
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.8.0-19-generic-x86_64-with-Ubuntu-13.04-raring
HOST_BUILD_TYPE=release
BUILD_ID=KOT49H
OUT_DIR=/home/jale/android/out
============================================
/home/jale/android/out/target/product/generic/obj/APPS/SignatureTest_intermediates
find: “src”: No file or directory
grep: /build/target/board/generic/recovery.fstab: No file or directory
No private recovery resources for TARGET_DEVICE generic
build/core/tasks/kernel.mk:91: **********************************************************
build/core/tasks/kernel.mk:92: * Kernel source found, but no configuration was defined  *
build/core/tasks/kernel.mk:93: * Please add the TARGET_KERNEL_CONFIG variable to your   *
build/core/tasks/kernel.mk:94: * BoardConfig.mk file                                    *
build/core/tasks/kernel.mk:95: **********************************************************
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-ld: error: /home/jale/android/out/target/product/generic/obj/lib/crtbrand.o: file is empty
make: *** [/home/jale/android/out/target/product/generic/obj/lib/crtbegin_static.o] Hata 1
make: *** Waiting for unfinished operations....
target thumb C++: libc <= bionic/libc/bionic/pthread_debug.cpp
target thumb C++: libc <= bionic/libc/bionic/libc_init_dynamic.cpp
cc1plus: warning: command line option '-std=gnu99' is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option '-std=gnu99' is valid for C/ObjC but not for C++ [enabled by default]
bionic/libc/bionic/libc_init_dynamic.cpp:95:17: warning: unused parameter 'onexit' [-Wunused-parameter]
bionic/libc/bionic/pthread_debug.cpp:545:13: warning: 'void hashmap_removeEntry(HashTable*, HashEntry*)' defined but not used [-Wunused-function]
jale@jale-PC:~/android$
Thanks.


Add Me To Your Circles On Google+ plus.google.com/u/0/102336505893640042592
 
Harmc0re
Old
#2  
Member
Thanks Meter 3
Posts: 32
Join Date: Sep 2012
I have the same problem. Have you been able to fix this?
 
yashade2001
Old
#3  
yashade2001's Avatar
Senior Member - OP
Thanks Meter 233
Posts: 331
Join Date: Sep 2012
Location: Ankara

 
DONATE TO ME
Quote:
Originally Posted by Harmc0re View Post
I have the same problem. Have you been able to fix this?
i already fixed this.

Sent from my Nexus 5 using Tapatalk.


Add Me To Your Circles On Google+ plus.google.com/u/0/102336505893640042592
 
jdegreef
Old
#4  
Member
Thanks Meter 12
Posts: 53
Join Date: Oct 2013
Location: Brussels
Quote:
Originally Posted by yashade2001 View Post
i already fixed this.
May I ask how ?
 
yashade2001
Old
#5  
yashade2001's Avatar
Senior Member - OP
Thanks Meter 233
Posts: 331
Join Date: Sep 2012
Location: Ankara

 
DONATE TO ME
Quote:
Originally Posted by jdegreef View Post
May I ask how ?
There was a problem with kernel tree.


Add Me To Your Circles On Google+ plus.google.com/u/0/102336505893640042592
The Following User Says Thank You to yashade2001 For This Useful Post: [ Click to Expand ]
 
jdegreef
Old
(Last edited by jdegreef; Yesterday at 12:53 AM.)
#6  
Member
Thanks Meter 12
Posts: 53
Join Date: Oct 2013
Location: Brussels
Quote:
Originally Posted by yashade2001 View Post
There was a problem with kernel tree.
Can you give details ? I have the same message. (no recovery resource...) The recovery finish building but doesn't boot.
 
yashade2001
Old
#7  
yashade2001's Avatar
Senior Member - OP
Thanks Meter 233
Posts: 331
Join Date: Sep 2012
Location: Ankara

 
DONATE TO ME
Quote:
Originally Posted by jdegreef View Post
Can you give details ? I have the same message. (no recovery resource...) The recovery finish building but doesn't boot.
Are u buildin for maguro?


Add Me To Your Circles On Google+ plus.google.com/u/0/102336505893640042592
The Following User Says Thank You to yashade2001 For This Useful Post: [ Click to Expand ]
 
jdegreef
Old
#8  
Member
Thanks Meter 12
Posts: 53
Join Date: Oct 2013
Location: Brussels
Quote:
Originally Posted by yashade2001 View Post
Are u buildin for maguro?
No, I'm building for trebon (gt-s7500) using omnirom sources. The rom is booting but not the recovery. I've also tried with CM11 TheWhisp trebon sources but with both I get this "No private recovery resources for TARGET_DEVICE trebon". I'm only interrested in the recovery.img as my goal is to port Philz CWM to trebon. But for this I first need to have the stock recovery working.
 
yashade2001
Old
#9  
yashade2001's Avatar
Senior Member - OP
Thanks Meter 233
Posts: 331
Join Date: Sep 2012
Location: Ankara

 
DONATE TO ME
Quote:
Originally Posted by jdegreef View Post
No, I'm building for trebon (gt-s7500) using omnirom sources. The rom is booting but not the recovery. I've also tried with CM11 TheWhisp trebon sources but with both I get this "No private recovery resources for TARGET_DEVICE trebon". I'm only interrested in the recovery.img as my goal is to port Philz CWM to trebon. But for this I first need to have the stock recovery working.
Make sure u have working device-vendor-kernel tree.


Add Me To Your Circles On Google+ plus.google.com/u/0/102336505893640042592

The Following User Says Thank You to yashade2001 For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes