Ubuntu Linux AMD64 Android Build

637 views
Skip to first unread message

Ron DuPlain

unread,
Jan 2, 2009, 8:42:50 PM1/2/09
to Repo and Gerrit Discussion
I successfully built and emulated Android from source on Ubuntu 8.10
x86_64 (intrepid). The instructions at source.android.com/download
are accurate for this platform, except that I did have to get one
additional package.

sudo apt-get install lib32readline5-dev

The error was:

username@host:~/mydroid$ make
[snip]
host Executable: sqlite3 (out/host/linux-x86/obj/EXECUTABLES/
sqlite3_intermediates/sqlite3)
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/
4.3.2/../../../libreadline.so when searching for -lreadline
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/
4.3.2/../../../libreadline.a when searching for -lreadline
/usr/bin/ld: skipping incompatible /usr/lib/libreadline.so when
searching for -lreadline
/usr/bin/ld: skipping incompatible /usr/lib/libreadline.a when
searching for -lreadline
/usr/bin/ld: cannot find -lreadline
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/EXECUTABLES/sqlite3_intermediates/
sqlite3] Error 1
username@host:~/mydroid$

username@host:~$ uname -a
Linux host 2.6.27-9-generic #1 SMP Thu Nov 20 22:15:32 UTC 2008 x86_64
GNU/Linux

I hope this helps,

Ron


PS - http://source.android.com/download says, "Please send success or
failure reports to repo-d...@googlegroups.com." Here I am.

Dave Bort

unread,
Jan 5, 2009, 7:24:48 PM1/5/09
to repo-d...@googlegroups.com
Thanks for the tip, Ron! I've update the setup page.

--dbort

Reply all
Reply to author
Forward
0 new messages