Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
cuzzo94
Old
#1  
Senior Member - OP
Thanks Meter 19
Posts: 419
Join Date: Feb 2009
Location: bergamo
Question Starting android developement on hd2

Hi to all. after some years using roms made by other people i'd like to start working on android. i'd like to try do compile from zero an adroid bult, but i'm not sure of ome things.
i'm working on ubuntu 11.10
i donwloaded the android source and now i'm trying to compile it, but i can't for some reason.

firstly i don't know what version should i build to try it on the hd2. the choices are:
1. full-eng
2. full_x86-eng
3. vbox_x86-eng
4. full_maguro-userdebug
5. full_tuna-userdebug
6. full_panda-eng

then, every version i choose i recive this error:
/bin/bash: prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-gcc: Permesso negato
/bin/bash: prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-gcc: Permesso negato
/bin/bash: prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-gcc: Permesso negato
/bin/bash: build/core/find-jdk-tools-jar.sh: Permesso negato
build/core/config.mk:268: *** Error: could not find jdk tools.jar, please install JDK6, which you can download from java.sun.com. Arresto.

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

even if jdk is correctly installed.can someone help me?
am i completely astray? XD
thanks for your help and sorry for my english
 
cuzzo94
Old
(Last edited by cuzzo94; 24th November 2011 at 08:36 PM.)
#2  
Senior Member - OP
Thanks Meter 19
Posts: 419
Join Date: Feb 2009
Location: bergamo
ok i solved all those errors simply by checking in the files listed above "enable to execute like programs" (i don't exactly know what is the real translation in english). but the built still not arrive to the end. Is there a way to check automatically all the boxes so i'm sure that the errors aren't caused by that?



edit:
i solved that problem too, i did make -j4, it worked for 20 minutes and now:
In file included from external/oprofile/libpp/arrange_profiles.cpp:24:0:
external/oprofile/libpp/format_output.h:94:22: error: reference ‘counts’ cannot be declared ‘mutable’ [-fpermissive]
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/liboprofile_pp_intermediates/arrange_profiles.o] Errore 1
make: *** Attesa per i processi non terminati....
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...