You are not logged in.

#1 2009-11-22 10:58:29

ridcully
Member
Registered: 2009-03-28
Posts: 52

Issues on building Android from scratch

Hi,

since I've made no progress on my installing issues with android on a 64 bit system I've decided to build android from scratch. I'm aware that this issuses are not really Arch Linux related but probably somebody made the same experiences and has answers to my questions.

While I have followed the instructions over here, I've encountered the following error

host C: acp <= build/tools/acp/acp.c
In file included from /usr/include/features.h:371,
                 from /usr/include/stdlib.h:25,
                 from build/tools/acp/acp.c:11:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
make: *** [out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp.o] Error 1

A search on google points to a thread over here, but the discussion is very debian/ubuntu related and I don't want to install a ubuntu in order to develop for android. Maybe somebody has an idea?

Thanks in advance!
Regards,
  Michael

Offline

#2 2010-01-08 21:10:05

alexondi
Member
Registered: 2008-06-06
Posts: 8

Re: Issues on building Android from scratch

You must install glibc dev package for 32bit enviroment
PS
what package in pacman I don't know but such problem I have in suse and solve with adding glib32-dev

Last edited by alexondi (2010-01-08 21:11:10)

Offline

#3 2010-01-08 21:36:00

tavianator
Member
From: Waterloo, ON, Canada
Registered: 2007-08-21
Posts: 859
Website

Re: Issues on building Android from scratch

lib32-glibc from community should do the trick.  You're likely to need a lot more than that though.

Offline

#4 2010-02-09 02:42:54

sjakub
Member
From: Canada/Poland
Registered: 2008-06-16
Posts: 84

Re: Issues on building Android from scratch

Hi.

I have the same issue - have you found a solution?
lib32-glibc doesn't really help...

Offline

#5 2010-02-10 10:36:44

csstaub
Member
From: Switzerland
Registered: 2009-02-09
Posts: 37

Re: Issues on building Android from scratch

You need to have a 32bit version of all of the necessary libraries.
Have you tried installing lib32-gcc-libs?

Offline

#6 2010-02-11 01:45:06

sjakub
Member
From: Canada/Poland
Registered: 2008-06-16
Posts: 84

Re: Issues on building Android from scratch

I ended up installing Arch32 in chroot...

Offline

Board footer

Powered by FluxBB