>So look like __WORDSIZE value is 32 and should be 64. probably you installed 32bit ubuntu release??
coming to core problem, in general, android binaries should have 32-bit code, and you can force generation of 32-bit code in 64-bit machines by installing libiconv, ia32-libs. Pls refer below links on building android on 64-bit host machine http://source.android.com/source/download.html -> Ubuntu Linux (64-bit x86) http://www.omappedia.org/wiki/Android_Getting_Started#ARM_Cross_Compiler http://www.codesourcery.com/sgpp/lite/arm/portal/kbentry62 -- Regards, Deva www.bittoggler.com On Mon, Sep 13, 2010 at 1:32 AM, Jean-Marc Spaggiari <[email protected]> wrote: > Hi, > > I tried to build Android under a64-bit linux debian and it was not working. > > All those steps are working fine: > - Setting up your machine > - Installing Repo > - Initializing a Repo client > - Getting the files > > Make is failling with the following output: > /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: Aucun fichier ou > dossier de ce type > make: *** [out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp.o] Erreur > 1 > > Here is the content of stubs.h: > #if __WORDSIZE == 32 > # include <gnu/stubs-32.h> > #elif __WORDSIZE == 64 > # include <gnu/stubs-64.h> > #else > # error "unexpected value for __WORDSIZE macro" > #endif > > So look like __WORDSIZE value is 32 and should be 64. > > stubs-32.h does not exist on the system > stubs-64.h exist on the system. > > Just let me know if you want me to test anything. > > Regards, > > Jean-Marc > > -- > unsubscribe: [email protected] > website: http://groups.google.com/group/android-porting > -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
