Hi. I need some help. On MAy of this year I was able to build the
Android source code on Ubuntu 9.10 karmic koala 32bit without
problems, but now I can't. I read that now it is necessary to build
the code using ubuntu 64 bit. I tried this to build the code:

1º: I installed this packages:

sudo apt-get install git-core gnupg flex bison gperf build-essential
zip curl sun-java6-jdk zlib1g-dev gcc-multilib g++-multilib libc6-dev-
i386 lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev
libreadline6-dev lib32z-dev

2º: sudo ln -s /usr/lib32/libX11.so.6 /usr/lib32/libX11.so

3º:

cd ~
mkdir bin

sudo su gedit ~/.bashrc and add this 2 lines

PATH=$PATH:~/bin
export PATH

echo $PATH

curl http://android.git.kernel.org/repo >~/bin/repo
chmod a+x ~/bin/repo

cd ~/
mkdir mydroid
cd mydroid

repo init -u git://android.git.kernel.org/platform/manifest.git

repo sync

gpg --import to import the PGP PUBLIC KEY

and after:

cd ~/mydroid
make


But when the compilation starts, it shows some erros:

============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=AOSP
TARGET_PRODUCT=generic
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER
============================================
find: `drm / java ': File or directory not found
find: `drm / java ': File or directory not found

and after it is showing this:

/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/
4.4.1/../../../libreadline.so when searching for -lreadline
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/
4.4.1/../../../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] Erro 1



Please, someone that was able to construct the Android source code now
could give me some help? Please, say the steps that I need to folow
(packages, tools) to build this files.


Thanks a lot,

Rodrigo.

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to