Hi, I am having issues building android from source on Ubuntu Linux 9.04
Compile seems to go fine. However linking is failing. I have installed all following the required packages as given at http://source.android.com/download $ sudo apt-get install git-core gnupg sun-java5-jdk flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev Below is the error I am getting: /home/harsha/mydroid/prebuilt/linux-x86/toolchain/i686-unknown-linux- gnu-4.2.1/bin/../lib/gcc/i686-unknown-linux-gnu/4.2.1/../../../../ i686- unknown-linux-gnu/bin/ld: out/target/product/generic/obj/ SHARED_LIBRARIES/libdl_intermediates/libdl.o: Relocations in generic ELF (EM: 40) out/target/product/generic/obj/SHARED_LIBRARIES/libdl_intermediates/ libdl.o: could not read symbols: File in wrong format collect2: ld returned 1 exit status make: *** [out/target/product/generic/obj/SHARED_LIBRARIES/ libdl_intermediates/LINKED/libdl.so] Error 1 The make options I used are as follows: har...@localhost:~/mydroid$ make TARGET_ARCH=x86 TARGET_PRODUCT=generic TARGET_BUILD_TYPE=release showcommands > ~/ mydroid-make3.txt 2>&1 Can any one tell me the what other libraries that we need -or- anything else that I might need Regards, Harsha --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
