Android Building Ubuntu Lucid 64bit - Libc6-dev-i386

256 views
Skip to first unread message

cha...@pinteq.co.za

unread,
Aug 31, 2010, 4:44:12 AM8/31/10
to Android Building
hi All,

Struggling a bit to get the sources to compile, since the on-line docs
are outdated:

Here is my OS:
chadley@JHB-WILSONCUB64:~/mydroid$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.1 LTS"

chadley@JHB-WILSONCUB64:~/mydroid$ uname -a
Linux JHB-WILSONCUB64 2.6.32-24-generic #41-Ubuntu SMP Thu Aug 19
01:38:40 UTC 2010 x86_64 GNU/Linux


After completing repo sync, I run make - assuming not to much has
changed, this is what I get.

In file included from /usr/include/features.h:378,
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
chadley@JHB-WILSONCUB64:~/mydroid$

Everything points to glibc6-dev-i386

But the problem I have is that I cant get it for 10.04?
chadley@JHB-WILSONCUB64:~/mydroid$ sudo apt-get install libc6-dev-i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libc6-dev-i386 is not available, but is referred to by another
package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libc6-i386
E: Package libc6-dev-i386 has no installation candidate
chadley@JHB-WILSONCUB64:~/mydroid$

Can anyone explain how I work around this or point me to some more
updated docs?

Sreekanth W

unread,
Aug 31, 2010, 9:30:29 AM8/31/10
to android-...@googlegroups.com, cha...@pinteq.co.za
Install 32 bit version and that requires java/jdk version 1.5.

In the uname, it should be like this:
i386 i686
and not x86_64

-
Srikant

> --
> You received this message because you are subscribed to the "Android Building" mailing list.
> To post to this group, send email to android-...@googlegroups.com
> To unsubscribe from this group, send email to
> android-buildi...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>

Frank Maker

unread,
Sep 6, 2010, 2:38:51 PM9/6/10
to Android Building
getlibs is really handy for x86_64 systems when you need to install 32-
bit libraries:

http://ubuntuforums.org/showthread.php?t=474790

On Aug 31, 1:44 am, "chad...@pinteq.co.za" <chad...@pinteq.co.za>
wrote:

jotobjects

unread,
Sep 8, 2010, 2:54:11 PM9/8/10
to Android Building
The trunk now requires JDK 1.6. I have a 32 bit Ubuntu 10.04 and
successfully built the source as described here -

http://stackoverflow.com/questions/3661205/android-make-failure-on-ubuntu/3670750#3670750
Reply all
Reply to author
Forward
0 new messages